Subject:Connecting to DB2/400 through DB Author:Gopinath Karunakaran Date:08 Sep 2008 04:32 PM
I am currently evaluating the Stylus Studio , I am attempting to connect to my database DB2 database in OS/400. I getting the error pasted below. Can you please to fix this.
my machine is updated with new JRE 1.6.X.
Server URL: //172.29.20.101:446;locationName=c10d97e1
java.sql.SQLException: [XQuery][DB2 JDBC Driver]Unsupported VM encoding Cp500.
at com.ddtek.xquery.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.ddtek.xquery.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.ddtek.xquery.jdbc.db2.drda.DRDACommunication.setClientSideTransliteration(Unknown Source)
at com.ddtek.xquery.jdbc.db2.DB2ImplConnection.login(Unknown Source)
at com.ddtek.xquery.jdbc.db2.DB2ImplConnection.open(Unknown Source)
at com.ddtek.xquery.jdbc.base.BaseConnection.connect(Unknown Source)
at com.ddtek.xquery.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
Subject:Connecting to DB2/400 through DB Author:Tony Lavinio Date:08 Sep 2008 10:42 PM
cp500 is the EBCDIC codepage. When you installed Java, did you
install support for internationalization? The EBCDIC streaming
library is bundled with that.
You can tell by looking for charsets.jar in jre/lib under where
you installed Java.