Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exception: Code page conversion tables don't exist!

843854May 21 2003 — edited Jun 3 2003
Hi all, I wonder if somebody could help me.

I am woking with jdk1.2.2 and DB2 7.2. I read lines of a file and put some useful information in my DB2 table and there was no problem. In my application there is a listener that on a mouse click tries to connect to the database and query it. Some times it works well, but some times when it tries to connect to the database it throws this exception:

java.sql.SQLException: Code page conversion tables do not exist
at COM.ibm.db2.jdbc.app.DB2Connection.SQLConnect(Native Method)
at COM.ibm.db2.jdbc.app.DB2Connection.connect(DB2Connection.java:416)
at COM.ibm.db2.jdbc.app.DB2Connection.<init>(DB2Connection.java:335)
at COM.ibm.db2.jdbc.app.DB2Driver.connect(DB2Driver.java:353)
at java.sql.DriverManager.getConnection(DriverManager.java:453)
at java.sql.DriverManager.getConnection(DriverManager.java:133)
at tempInfo.extractInfo(tempInfo.java:53)
at domaindemobug$grappalistener.grappaClicked(domaindemobug.java:98)
at att.grappa.GrappaPanel.mouseClicked(GrappaPanel.java:956)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:206)
at java.awt.Component.processMouseEvent(Component.java:3165)
at java.awt.Component.processEvent(Component.java:3001)
at java.awt.Container.processEvent(Container.java:1011)
at java.awt.Component.dispatchEventImpl(Component.java:2396)
at java.awt.Container.dispatchEventImpl(Container.java:1056)
at java.awt.Component.dispatchEvent(Component.java:2309)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2064)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1862)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1751)
at java.awt.Container.dispatchEventImpl(Container.java:1043)
at java.awt.Window.dispatchEventImpl(Window.java:745)
at java.awt.Component.dispatchEvent(Component.java:2309)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:298)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:97)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2003
Added on May 21 2003
1 comment
251 views