This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JDBC and the fly likes DB2 / Weblogic : problem! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DB2 / Weblogic : problem!" Watch "DB2 / Weblogic : problem!" New topic
Author

DB2 / Weblogic : problem!

jerry conosm
Greenhorn

Joined: Sep 09, 2003
Posts: 10
i'm trying to configure the connection pooling in Weblogic console using DB2 and i put the ff informations:
Name: myConnectionPool
URL: jdbc b2://localhost:5000
Driver Class Name: COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource
properties: user=db2admin
but i got an ERROR! - " java.sql.SQLException: No suitable driver "
i hope someone can help me with this. thx!
Dana Hanna
Ranch Hand

Joined: Feb 28, 2003
Posts: 227
The driver classname should be "COM.ibm.db2.jdbc.DB2Driver"
jerry conosm
Greenhorn

Joined: Sep 09, 2003
Posts: 10
thanks very much Dana.
but for some reason i got this error:
Cannot startup connection pool "MyConnectionPool" weblogic.common.
Resource Exception : Cannot load driver class: COM.ibm.db2.jdbc.DB2Driver
i appreciate if you can help me out. thx.
jerry conosm
Greenhorn

Joined: Sep 09, 2003
Posts: 10
thx, i got it. just need to include zip file, db2jdbc.zip, containing driver class file, COM.ibm.db2.jdbc.DB2Driver,
to Classpath.
Brian Chan
Greenhorn

Joined: Sep 16, 2003
Posts: 1
I've been having the same problem, but I'm a bit of a dumbass, how do I include the zip file in the Classpath?
Thanks in advance.
 
Consider Paul's rocket mass heater.
 
subject: DB2 / Weblogic : problem!
 
Similar Threads
Connection pool problem in WLS81SP4
how con i know the type of the driver i'm using
StaleConnectionException
Help on DB2
Class not found exception