Win a copy of Get Programming with Java (MEAP only) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Connection pool problem in WLS81SP4  RSS feed

 
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
 
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
 
drifter
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 ]
 
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!