aspose file tools*
The moose likes Websphere and the fly likes Problem Loading DB2 Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Problem Loading DB2 Driver" Watch "Problem Loading DB2 Driver" New topic
Author

Problem Loading DB2 Driver

Bob Frapples
Ranch Hand

Joined: Mar 08, 2002
Posts: 32
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

Joined: Nov 07, 2001
Posts: 312
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

Joined: Mar 08, 2002
Posts: 32
That was it db2java.zip.
Thanks!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem Loading DB2 Driver