aspose file tools*
The moose likes JDBC and the fly likes DB2 Driver using os390 and websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DB2 Driver using os390 and websphere" Watch "DB2 Driver using os390 and websphere" New topic
Author

DB2 Driver using os390 and websphere

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I'm trying to get set up using websphere on os390 and when I run the simple program I have(from IBM) I get a driver not found. COM.ibm.db2.jdbc.app.DB2Driver
I thought websphere came with a driver.? Is there something additional I need to do? I scanned the docs but didn't see anything.
Thanks
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Are you using DB2 Connect?
Have you added the DB2 driver to you classpath yet?
Please refer to the JDBC Applet post for more info...
Please refer to the JDBC Applet post for a working html java2 jdbc example... This a quick and dirty example....
It worked the last time I used it 11 months ago...
I'm a contractor...
If you need assitanct connecting java to db2..
I wlll be glad to help....
If you are in the Boston Ma area.
Perhaps you can hire me ...
Always looking for work...
We are all here to help on another...
Hope the code example helps!
Monty6

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I was told that with os390 I didn't need to use DB2 Connect?
I haven't touched the classpath yet, because on the IBM websphere docs for "JDBC setup" I wasn't able to find anything it said to change. ??
I'll check the applet.
I'm in florida
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I don't see a db2java.zip mixed in with any of my jar files. Would I need this with websphere?
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
When connecting java jdbc and db2.
You need to add something to you CLASSPATH.
To the best of knowledge... default install parms will not
update your CLASSPATH. You must do this your self...
Check you JDBC driver doc's again... it's there somewhere...
That is where I found it 8 months ago...
Question:
What version of the JDK are you using?
What version of JDBC are you using?
What version of the JDK & JDBC are supported by the drivers provided by IBM.
You may have to go surfing to find a driver that is more up to date.
Monty6
[This message has been edited by monty6 (edited September 06, 2000).]
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944

Where is the db2java.zip file ? Can I download it from ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DB2 Driver using os390 and websphere