- This topic has 2 replies, 3 voices, and was last updated 19 years, 6 months ago by preetpal.
-
AuthorPosts
-
ram_kurra@yahoo.co.inMemberHello techies,
Iam using weblogic 7.0,
myeclipse 3.8.4,
mysql 4.1.
Iam using the jdbc driver mysql-connector-java-3.1.8ai had placed mysql-connector-java-3.1.8a zip file in path of weblogic server in myeclipse.
It is having
mysql-connector-java-3.1.8-bin.jar
mysql-connector-java-3.1.8-bin-g.jar
I had placed the zip file in
windows>preferences>MyEclipse>Application server>weblogic>paths>prepend to classpathIt is showing the following error in server
Activate application _appsdir_databaseweblogic_war on myserver( Running )
Activate application _appsdir_databaseweblogic_war on myserver( Completed )
class not foundcom.mysql.jdbc.DriverIf i had placed the jar files in appendclasspath then the follwoing error is occuring.
ctivate application _appsdir_databaseweblogic_war on myserver( Completed )
Tue Jun 14 18:15:09 IST 2005 TRACE: –> NonRegisteringDriver.java:261 com.mysql.jdbc.NonRegisteringDriver.connect(“jdbc:mysql://localhost”, {user=root, password=sanjay123})
Tue Jun 14 18:15:09 IST 2005 TRACE: –> NonRegisteringDriver.java:339 com.mysql.jdbc.NonRegisteringDriver.parseURL(“jdbc:mysql://localhost”, {user=root, password=sanjay123})
Tue Jun 14 18:15:09 IST 2005 TRACE: –> StringUtils.java:722 com.mysql.jdbc.StringUtils.startsWithIgnoreCase(“jdbc:mysql://localhost”, “jdbc:mysql://”)
Tue Jun 14 18:15:09 IST 2005 TRACE: –> StringUtils.java:738 com.mysql.jdbc.StringUtils.startsWithIgnoreCase(“jdbc:mysql://localhost”, 0, “jdbc:mysql://”)
Tue Jun 14 18:15:09 IST 2005 TRACE: <– StringUtils.java:738 com.mysql.jdbc.StringUtils.startsWithIgnoreCase(..) returning true
Tue Jun 14 18:15:09 IST 2005 TRACE: <– StringUtils.java:722 com.mysql.jdbc.StringUtils.startsWithIgnoreCase(..) returning true
Tue Jun 14 18:15:09 IST 2005 TRACE: <– NonRegisteringDriver.java:339 com.mysql.jdbc.NonRegisteringDriver.parseURL(..) returning null
Tue Jun 14 18:15:09 IST 2005 TRACE: <– NonRegisteringDriver.java:261 com.mysql.jdbc.NonRegisteringDriver.connect(..) returning null
No suitable driverThen what is the suitable driver for weblogic??
can anybody suggests i will be very thankfull to him.regards,
ramuregards,
ramu
Riyad KallaMemberThis is a duplicate post of this post:
https://www.genuitec.com/forums/topic/connection-pooling-with-mysql-server/&highlight=#36134Again, we still don’t have a suggestion for you. Try googling for it, this is a WebLogic/MySQL interaction issue, not MyEclipse related.
preetpalMemberram,
I think Weblogic has a driver for the mysql server.. Start the weblogic server go to the administration console and make a datasource in the server for mysql database and use that.. I dont think then you would need to code something in your application which is database specific, -
AuthorPosts