Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection pool problem in WLS81SP4

 
Santosh Maskar
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to create the connection pool on top of the WLS 8.1 SP4 , for DB2

I am using bea's DB2 driver , while testing the pool I am getting
DRIVER IS NOT IN CLASSPATH

can anybody knows which jar files I need to add in my weblogic classpath

Thanks
Santosh
 
Garandi Garandi
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Include the jar file which have DB2 driver in your Lib dir, which is under Application.
Thank you
Garandi
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which driver are you choosing? It says not all the drivers are installed, but if you are using a bea one I would expect that to be installed. (did you mean one in the list in the console or one described as a bea driver in the list?)

I am on wls81sp2, chose the BEA type 4 DB2 driver, but I don't have a real db2 database to configure with.

When I test it I get :

[BEA][DB2 JDBC Driver]Error establishing socket. Unknown host: XYZDB2

console information:
Driver Classname: weblogic.jdbc.db2.DB2Driver
URL: jdbc:bea b2://XYZDB2:50000


wldb2.jar is listed in the classpath in the manifest for weblogic.jar, so you shouldn't need to add that to the classpath to create a pool in the console.
[ February 04, 2005: Message edited by: Carol Enderlin ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic