Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connecting to DB2

 
Philip Nour
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to deploy a CMP entity bean in the deploytool using a DB2 database but I am getting a SQLConnect exception (UnsatisfiedLinkError) knowing that I am using the right driver... does anybody know what is causing this....
Thanks...
Philip
 
Caroline Iux
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What application server are you using? If it's WebSphere, check your sample database.
 
Philip Nour
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for the reply...
I am using J2EE, and the database was created using the wizard in DB2... I can connect using VAJ but not using the deploytool coming with J2EE....
Thanks
 
colby brown
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having the same issue. I just upgraded to VAJ 3.5.3 and now see the issue with some servlet code that connects to db2. The code seems to work fine on my coworkers environment and we have verified that all configuration is the same. I'm open for ideas.
------------------
Cb
 
Ranjith R
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i could have given a useful reply if it were on Weblogic..

Anyways,please make sure that your DB2 connection pool is created when you start the server

sorry.. no hands on on j2ee...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!