wood burning stoves 2.0*
The moose likes Websphere and the fly likes Websphere and JDBC. 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 "Websphere and JDBC." Watch "Websphere and JDBC." New topic

Websphere and JDBC.

Abhi Agar

Joined: Jun 15, 2010
Posts: 26

Hi there,

I am using struts 1.3.8, so MVC is the main pattern, on RAD 7.5 using Websphere 7.0.

I tried a simple java project(not a web project) for testing JDBC using RAD, and it worked fine. I externally included db2java.zip for the driver "COM.ibm.db2.jdbc.app.DB2Driver".

Now, when I make a web project(using struts) on RAD, and inside the model class, if I invoke the driver, it is not working.
I included the same "db2java.zip" externally.

I think this is due to websphere configuration or something.
Please shed some light.

It's the belief in the power of your dreams that counts! (SCJP 5.0, SCWCD 5.0)
Abhi Agar

Joined: Jun 15, 2010
Posts: 26

I forgot to mention, I am using DB2 community edition.
Don't get me started about those stupid light bulbs.
subject: Websphere and JDBC.
Similar Threads
Connecting to DB2 V7.2 from WebSphere V5
ResultSetMetaData problems
Migration to RAD 7.5 - Unable to Find Struts Tag Handler Classes
db2 connectivity
Connecting to DB2 7.2 from WebSphere V5