Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB2 Driver using os390 and websphere

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see a db2java.zip mixed in with any of my jar files. Would I need this with websphere?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Where is the db2java.zip file ? Can I download it from ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic