File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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
Please mention the Excpetion and the server Version. Check the in the classpath and also check the DB2 Driver/DB2 Data Source in the websphere Admin Console.
Bob Frapples
Ranch Hand

Joined: Mar 08, 2002
Posts: 32
That was it
I agree. Here's the link:
subject: Problem Loading DB2 Driver
It's not a secret anymore!