This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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!
 
Don't get me started about those stupid light bulbs.
 
subject: Problem Loading DB2 Driver
 
Similar Threads
JDBC Connection to DB2 on OS/390
Problem with DB2 in Web Project
DB2 connection error
can i connect to a db2 server which is not in my local net work using net driver?
Help on DB2