Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes BEA/Weblogic and the fly likes Connection pool problem in WLS81SP4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Connection pool problem in WLS81SP4" Watch "Connection pool problem in WLS81SP4" New topic

Connection pool problem in WLS81SP4

Santosh Maskar
Ranch Hand

Joined: Jul 02, 2003
Posts: 226
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

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

Garandi Garandi
Ranch Hand

Joined: Jan 07, 2003
Posts: 192
Include the jar file which have DB2 driver in your Lib dir, which is under Application.
Thank you
Carol Enderlin
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
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 ]
I agree. Here's the link:
subject: Connection pool problem in WLS81SP4
It's not a secret anymore!