If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Error in db2driver- not suitable driver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-19-05, 22:37
sandhyab sandhyab is offline
Registered User
 
Join Date: Jan 2005
Posts: 11
Error in db2driver- not suitable driver

Hi,
Iam running a program which connects to db2 using jdbc. When i deploy my program on server , its shows error " driver not suitable" .
My driver connection is

Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
con =
DriverManager.getConnection(
"jdbc:db2erver",
"user",
"password");

I have put db2java.jar under lib and specified it in the classpath. Still it shows driver not suitable. Iam using java1.4.2.Which jar should i use? Is there any specific db2 jar for jsdk1.4.2?
Please reply ASAP.
Thanks in Advance
San
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On