• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error Loading Driver Class while using mysql's mm driver

 
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Add the jar file into the classpath
 
Tualha Khan
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did that, but so far no solution.
Thanks & Bye,
Tualha Khan
 
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 287
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic