A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Exception accessing DB2 with Sun JDK
Joined: Feb 01, 2004
May 20, 2004 08:10:00
I am using a Sun 1.4.2 JDK and the db2jcc.jar type 4 driver attempting to access a DB2 database running in OS/390. Each time I run I receive the following exception:
SQLException caught sending request:unsupported encoding Cp037
The type 4 driver trace facility shows that returned data is encoded as EBCDIC, character set cp037. When running with a Sun JVM this throws an exception, however, when I run the same application with an IBM JVM, there is no problem.
Can anyone suggest a work around?
I agree. Here's the link:
subject: Exception accessing DB2 with Sun JDK
Problems installing Forte
Exceptions while working with Type 4; No exception with working with Type 2 driver
db2 connection with tomcat and jdk1.4 ?
SQL Exception: No suitable driver
ClassNotFound exception when trying to connect to db2 from applet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014