NPE when using SSL DB2 AS400 and the JTOpen JDBC driver
Issue
We are getting a NPE when using SSL DB2 AS400 and the JTOpen JDBC driver.
We realize this might be a problem enmtirely owned by the JTOpen toolkit, but perhaps you are aware of similar reports and can help us.
Now that we have successfully upgraded to JDK 1.6 and JTOpen 6 we are finding problems when turning on SSL we are getting an NPE, specifically:
Caused by: java.lang.NullPointerException
at com.ibm.as400.access.SecureAS400.setKeyRingName(SecureAS400.java:255)
at com.ibm.as400.access.AS400JDBCDriver.initializeAS400(AS400JDBCDriver.java:1043)
at com.ibm.as400.access.AS400JDBCDriver.initializeConnection(AS400JDBCDriver.java:1187)
at com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBCDriver.java:351)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:171)
Environment
-
EAP 4.3_CP03
-
DB2 AS400
- JTOpen JDBC Driver
- JDK 1.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.