[
https://issues.jboss.org/browse/AS7-2977?page=com.atlassian.jira.plugin.s...
]
Robert Reimann updated AS7-2977:
--------------------------------
Description:
Please add the sun.io package to the sun.jdk module to support IBM DB2 JDBC drivers.
Current DB2 JDBC drivers require access to the sun.io package as described in
http://www.ibm.com/developerworks/forums/message.jspa?messageID=14230275
Otherwise it is likely to get the following exception:
{noformat}
com.ibm.db2.jcc.a.SqlException: [jcc][t4][10199][10462][4.0.100] Required character
converter is not available. ERRORCODE=-4220, SQLSTATE=null
at com.ibm.db2.jcc.a.yc.a(yc.java:55)
at com.ibm.db2.jcc.a.yc.a(yc.java:119)
at com.ibm.db2.jcc.a.dc.a(dc.java:1788)
at com.ibm.db2.jcc.a.dc.n(dc.java:496)
at com.ibm.db2.jcc.a.dc.F(dc.java:1262)
at com.ibm.db2.jcc.a.mk.d(mk.java:938)
at com.ibm.db2.jcc.a.mk.getString(mk.java:916)
at com.ibm.db2.jcc.a.mk.getString(mk.java:1368)
at
org.jboss.jca.adapters.jdbc.WrappedResultSet.getString(WrappedResultSet.java:1359)
{noformat}
After adding the following path to the sun.jdk module descriptor
($JBOSS_HOME/modules/sun/jdk/main/module.xml), the required character converter classes
are found and the application behaves as expected:
{noformat}
<path name="sun/io"/>
{noformat}
was:
Please add the sun.io package to the sun.jdk module to support IBM DB2 JDBC drivers.
Current DB2 JDBC drivers require access to the sun.io package as described in
http://www.ibm.com/developerworks/forums/message.jspa?messageID=14230275
Otherwise it is likely to get the following exception:
{com.ibm.db2.jcc.a.SqlException: [jcc][t4][10199][10462][4.0.100] Required character
converter is not available. ERRORCODE=-4220, SQLSTATE=null
at com.ibm.db2.jcc.a.yc.a(yc.java:55)
at com.ibm.db2.jcc.a.yc.a(yc.java:119)
at com.ibm.db2.jcc.a.dc.a(dc.java:1788)
at com.ibm.db2.jcc.a.dc.n(dc.java:496)
at com.ibm.db2.jcc.a.dc.F(dc.java:1262)
at com.ibm.db2.jcc.a.mk.d(mk.java:938)
at com.ibm.db2.jcc.a.mk.getString(mk.java:916)
at com.ibm.db2.jcc.a.mk.getString(mk.java:1368)
at
org.jboss.jca.adapters.jdbc.WrappedResultSet.getString(WrappedResultSet.java:1359)}
After adding the following path to the sun.jdk module descriptor
($JBOSS_HOME/modules/sun/jdk/main/module.xml), the required character converter classes
are found and the application behaves as expected:
{<path name="sun/io"/>}
Forum Reference:
http://community.jboss.org/thread/175731 (was:
http://community.jboss.org/thread/175731)
Add sun.io package to the sun.jdk module
----------------------------------------
Key: AS7-2977
URL:
https://issues.jboss.org/browse/AS7-2977
Project: Application Server 7
Issue Type: Feature Request
Affects Versions: 7.1.0.Beta1
Reporter: Robert Reimann
Please add the sun.io package to the sun.jdk module to support IBM DB2 JDBC drivers.
Current DB2 JDBC drivers require access to the sun.io package as described in
http://www.ibm.com/developerworks/forums/message.jspa?messageID=14230275
Otherwise it is likely to get the following exception:
{noformat}
com.ibm.db2.jcc.a.SqlException: [jcc][t4][10199][10462][4.0.100] Required character
converter is not available. ERRORCODE=-4220, SQLSTATE=null
at com.ibm.db2.jcc.a.yc.a(yc.java:55)
at com.ibm.db2.jcc.a.yc.a(yc.java:119)
at com.ibm.db2.jcc.a.dc.a(dc.java:1788)
at com.ibm.db2.jcc.a.dc.n(dc.java:496)
at com.ibm.db2.jcc.a.dc.F(dc.java:1262)
at com.ibm.db2.jcc.a.mk.d(mk.java:938)
at com.ibm.db2.jcc.a.mk.getString(mk.java:916)
at com.ibm.db2.jcc.a.mk.getString(mk.java:1368)
at
org.jboss.jca.adapters.jdbc.WrappedResultSet.getString(WrappedResultSet.java:1359)
{noformat}
After adding the following path to the sun.jdk module descriptor
($JBOSS_HOME/modules/sun/jdk/main/module.xml), the required character converter classes
are found and the application behaves as expected:
{noformat}
<path name="sun/io"/>
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira