Results 1 to 1 of 1
- 10-31-2008, 07:07 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 2
- Rep Power
- 0
Unable to connect to MySQL on another (unix) host from Eclipse on my windows host
Dear Members,
I have Eclipse 3.4 on my Windows host. I have also installed Tomcat 6 and mysql-connector-java-5.1.7.jar on this host. I am trying to connect to MySQL (3.23.52) on a HP-UX box. I have access to the database as root on the unix host and as a user from this remote windows host.
I created the appropriate context.xml and also created a jsp file to query the database.
When I try to run, I am always ending up with an error as below.
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
I can provide other details regarding my setup if any of you care to reply me with some advise based on your prior experience. I spent quite bit of time but unable to resolve it. Any advise will be very much appreciated. If you prfer you can also email me directly at kairamr@coned.com
Thanks
Raj
Similar Threads
-
Looking Up the Address of a Host
By Java Tip in forum java.netReplies: 0Last Post: 04-07-2008, 08:11 PM -
Getting the host of the applet
By Java Tip in forum Java TipReplies: 0Last Post: 03-10-2008, 02:56 PM -
Getting the host from where the Applet was loaded
By Java Tip in forum Java TipReplies: 0Last Post: 02-15-2008, 08:41 AM -
Getting host name/address
By Java Tip in forum Java TipReplies: 0Last Post: 11-19-2007, 04:34 PM -
Error with Sql 2000:java.net.NoRouteToHostException: No route to host: connect
By bbq in forum JDBCReplies: 0Last Post: 06-27-2007, 07:48 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks