Hi,
I have a Java application that works fine when using a JDBC URL like this:
jdbc:db2://hostort/database
but when I change it to use this format:
jdbc:db2:database
I get the following error:
I'm using DB2 Express-C 9.7.2 on Ubuntu Linux.
Any ideas on what the problem might be?
I have a Java application that works fine when using a JDBC URL like this:
jdbc:db2://hostort/database
but when I change it to use this format:
jdbc:db2:database
I get the following error:
Code:
WARNING: Failed to execute: select distinct tabschema from syscat.tables because: Execution failed due to a distribution protocol error that caused deallocation of the conversation. A DRDA Data Stream Syntax Error was detected. Reason: 0x3 DB2ConnectionCorrelator: *LOCAL.db2inst1.100917205438
com.ibm.db2.jcc.b.DisconnectException: Execution failed due to a distribution protocol error that caused deallocation of the conversation. A DRDA Data Stream Syntax Error was detected. Reason: 0x3 DB2ConnectionCorrelator: *LOCAL.db2inst1.100917205438
Debug Stack Trace:
com.ibm.db2.jcc.b.DisconnectException: Execution failed due to a distribution protocol error that caused deallocation of the conversation. A DRDA Data Stream Syntax Error was detected. Reason: 0x3 DB2ConnectionCorrelator: *LOCAL.db2inst1.100917205438
com.ibm.db2.jcc.b.DisconnectException: Execution failed due to a distribution protocol error that caused deallocation of the conversation. A DRDA Data Stream Syntax Error was detected. Reason: 0x3 DB2ConnectionCorrelator: *LOCAL.db2inst1.100917205438
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
I'm using DB2 Express-C 9.7.2 on Ubuntu Linux.
Any ideas on what the problem might be?