I have a setup a DataSource in WAS5.1 and get this error in the log file when I click the
Test Connection. I have set the DB2UNIVERSAL_JDBC_DRIVER_PATH to C:\DB2\java. I have set the name of the Database in the custom properties and the Driver type is set to 4.
[11/22/03 19:21:21:112 PST] 503a8b0b DSConfigurati W DSRA8200W: DataSource Configuration: DSRA8020E: Warning: The property 'currentSchema' does not exist on the DataSource class com.ibm.db2.jcc.DB2ConnectionPoolDataSource.
[11/22/03 19:21:21:112 PST] 503a8b0b DSConfigurati W DSRA8200W: DataSource Configuration: DSRA8020E: Warning: The property 'retrieveMessagesFromServerOnGetMessage' does not exist on the DataSource class com.ibm.db2.jcc.DB2ConnectionPoolDataSource.
[11/22/03 19:21:21:122 PST] 503a8b0b DataSourceCon E DSRA8040I: Failed to connect to the DataSource. Encountered : java.lang.NullPointerException
at java.net.Socket.<init>(Socket.java:307)
at java.net.Socket.<init>(Socket.java:143)
at com.ibm.db2.jcc.a.a.<init>(a.java:103)
at com.ibm.db2.jcc.a.b.a(b.java:1110)
at com.ibm.db2.jcc.b.l.<init>(l.java:229)
at com.ibm.db2.jcc.a.b.<init>(b.java:219)
at com.ibm.db2.jcc.a.c.<init>(c.java:31)
at com.ibm.db2.jcc.DB2PooledConnection.connect(DB2PooledConnection.java:107)
at com.ibm.db2.jcc.DB2PooledConnection.<init>(DB2PooledConnection.java:70)
at com.ibm.db2.jcc.DB2ConnectionPoolDataSource.getPooledConnection(DB2ConnectionPoolDataSource.java:77)
at com.ibm.db2.jcc.DB2ConnectionPoolDataSource.getPooledConnection(DB2ConnectionPoolDataSource.java:55)
What does this mean ??
Some more info. When I click TEst Connection I get this message in console:
Test Connection failed for datasource DataSource1 on server server1 at node cherokee1 with the following exception: javax.management.RuntimeMBeanException.