aspose file tools*
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
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.
 
 
subject: DB2 / Weblogic : problem!