| Author |
Error Loading Driver Class while using mysql's mm driver
|
Tualha Khan
Ranch Hand
Joined: Nov 22, 2000
Posts: 287
|
|
Dear Al, Hey, I am trying to club mysql with wls 6.1. For connectivity I am using the mm.mysql-2.0.4-bin.jar driver. I am not able to load the driver even after placing the file under the <bea_home>/wlserver6.1/lib directory. I a using the following URL and the Driver Statement: URL: jdbc:mysql://localhost/<my_db_name> Driver: org.gjt.mm.mysql.Driver Any suggestions on how to get it working. However, I am able to use the driver for simple jdbc application outside the wls. Thanks & Bye, Tualha Khan Exact Error output: <May 18, 2002 12:50:50 PM IST> <Error> <JDBC> <Cannot startup connection pool "J asmine_Connections" Cannot load driver class: org.gjt.mm.mysql.Driver>
|
SCJP2, BEA WLS 6.0, DB2 UDB 7.1
|
 |
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
|
Add the jar file into the classpath
|
Groovy
|
 |
Tualha Khan
Ranch Hand
Joined: Nov 22, 2000
Posts: 287
|
|
Did that, but so far no solution. Thanks & Bye, Tualha Khan
|
 |
Michael Pearson
Ranch Hand
Joined: Mar 11, 2001
Posts: 351
|
|
Did you setup a Connection Pool? The error statement points to the lack of a Connection Pool, something WebLogic uses to manage JDBC connections. Configuring WebLogic 6.1 JDBC
|
 |
Tualha Khan
Ranch Hand
Joined: Nov 22, 2000
Posts: 287
|
|
Well I was able to solve the problem, I was not setting the classpath in the right file (startWeblogic.cmd), but was doing it in (setEnv.cmd). After appending the driver to startWeblogic.cmd's classpath entry, it all worked up properly. Thanks a tonne to all of you. Thanks & Bye, Tualha Khan
|
 |
 |
|
|
subject: Error Loading Driver Class while using mysql's mm driver
|
|
|