• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Test Data Source Connection

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Roberto Diaz
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No one !!!. Where are all the experts ??
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having the same error with same exception.

Saad
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As the original poster must have found out, you can delete those two properties.
 
It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic