UnsupportedEncodingException returned when connecting via Apache Tomcat

Document ID : KB000095656
Last Modified Date : 15/05/2018
Show Technical Document Details
We have tried to configure a JDBC Type 4 connection pool in Tomcat for Datacom/ DB with the current version of cadcjdbc.jar and jcharset-1_5.jar  in Tomcat lib (%CATALINA_HOME%\lib).
When we tried to start the server, getting unsupported coding issue (CP273E):
4-May-2018 11:35:07.691 SEVERE [main] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool. java.sql.SQLException: IO error sending or receiving native data: ca.datacom.db.DBIOException: ca.datacom.db.DBIOException: java.io.UnsupportedEncodingException: CP273Ein Network(Network)in Node(connect)
Running CA Datacom Server on mainframe side with CODEPAGE=CP273E
Both the jar files must be defined in the CLASSPATH system variable
Added the two jar files (cadcjdbc.jar and jcharset-1_5.jar) to CLASSPATH variable in catalina.bat file and the connection pool with CA Datacom is now successful.

Classpath setting