my dog learned polymorphism*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Connection pool problem in WLS81SP4" Watch "Connection pool problem in WLS81SP4" New topic
Author

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
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

Joined: Jan 07, 2003
Posts: 192
Include the jar file which have DB2 driver in your Lib dir, which is under Application.
Thank you
Garandi
Carol Enderlin
drifter
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: http://aspose.com/file-tools
 
subject: Connection pool problem in WLS81SP4
 
Similar Threads
JDBC driver is not on the CLASSPATH
Help on DB2
Connection pooling in weblogic8.1
db2 connection pool in weblogic7.0
WebSphere connection pool to DB2