Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem Loading DB2 Driver

 
Bob Frapples
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Java app I run from the command line that can access my DB2 database. However, when I put my code into Websphere as a Servlet, it won't connect. Same driver, same dbURL, same everything, but it won't connect. I'm wondering if I have to configure my webapp in the Admin Console or something. I see there is a node called JDBC driver, but I can't do anything to it, I can't open it, edit it, or anything. What am I doing wrong? Help!
 
Malli Raman
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please mention the Excpetion and the server Version. Check the DB2java.zip in the classpath and also check the DB2 Driver/DB2 Data Source in the websphere Admin Console.
Regards,
M.S.Raman
 
Bob Frapples
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That was it db2java.zip.
Thanks!
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic