File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB2 / Weblogic : problem!

 
jerry conosm
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 227
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The driver classname should be "COM.ibm.db2.jdbc.DB2Driver"
 
jerry conosm
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic