dbTalk Databases Forums  

“Internal driver error” in java.

ibm.software.db2.os400 ibm.software.db2.os400


Discuss “Internal driver error” in java. in the ibm.software.db2.os400 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bruce
 
Posts: n/a

Default “Internal driver error” in java. - 01-10-2006 , 03:20 PM






All my java programs that use jdbc started giving the following error
today. They have been running for years.


Message: INTERNAL ERROR: Creation of DB2Driver object for registering
with DriverManager failed.
SQL state: HY000
Vendor code: -99999

The chained exception is:

Message: Internal driver error.
SQL state: HY000
Error code: -99999:


The system is V5R3.
The job CCSID is 37.
No PTF applied recently.
/QIBM/ProdData/OS400/Java400/ext/db2_classes.jar seems to be OK
Its link /QIBM/UserData/Java400/ext/db2_classes.jar seems to be OK.
JDK is the default 1.4.

Tried to reboot AS400.
Tried to run the code in Qshell and well as Tomcat server.

What can be wrong?
Thanks.
Bruce


My program can be as simple as this:

Class.forName(driver); // driver= com.ibm.db2.jdbc.app.DB2Driver
connection = DriverManager.getConnection(url); //url= jdbc:db2://*LOCAL


Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: ?Internal driver error? in java. - 01-26-2006 , 03:32 PM






Bruce,

Did you ever get a solution to this? I'm having exactly the same problem.

Reply With Quote
  #3  
Old   
Henk
 
Posts: n/a

Default Re: “Internal driver error” in java. - 01-27-2006 , 04:56 AM



Hi,

please check the sysval QCCSID and the users CCSID
http://www-1.ibm.com/support/docview...6eee006fb0 a2

or
http://www-912.ibm.com/s_dir/slkbase...a ndSection=1

Rgdz
Henk

"Bruce" <brucej (AT) mrc-productivity (DOT) com> schreef in bericht
news:dq18er$84c6$1 (AT) news (DOT) boulder.ibm.com...
Quote:
All my java programs that use jdbc started giving the following error
today. They have been running for years.


Message: INTERNAL ERROR: Creation of DB2Driver object for registering
with DriverManager failed.
SQL state: HY000
Vendor code: -99999

The chained exception is:

Message: Internal driver error.
SQL state: HY000
Error code: -99999:


The system is V5R3.
The job CCSID is 37.
No PTF applied recently.
/QIBM/ProdData/OS400/Java400/ext/db2_classes.jar seems to be OK
Its link /QIBM/UserData/Java400/ext/db2_classes.jar seems to be OK.
JDK is the default 1.4.

Tried to reboot AS400.
Tried to run the code in Qshell and well as Tomcat server.

What can be wrong?
Thanks.
Bruce


My program can be as simple as this:

Class.forName(driver); // driver= com.ibm.db2.jdbc.app.DB2Driver
connection = DriverManager.getConnection(url); //url= jdbc:db2://*LOCAL



Reply With Quote
  #4  
Old   
 
Posts: n/a

Default Re: ?Internal driver error? in java. - 01-27-2006 , 08:01 AM



Henk,

As Bruce had originally mentioned in his post, we have already changed the CCSID from 65535 to 37. Still unable to connect. Getting same errors as in Bruce's post.

Tom

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.