• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

db2 connection error in WAS 6.0 RAD

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I am using RAD with WAS 6.0, while trying to initiate db2 connection , i am getting the following error.

[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R java.lang.NullPointerException
at com.ibm.ejs.j2c.J2CXAResourceInfo.recoverWhenServerStarted(J2CXAResourceInfo.java:620)
at com.ibm.ws.Transaction.JTA.XARecoveryData.canProceed(XARecoveryData.java:1103)
at com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:560)
at com.ibm.ws.Transaction.JTA.PartnerLogTable.recover(PartnerLogTable.java:512)
at com.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1804)
at com.ibm.ws.Transaction.JTA.RecoveryManager.run(RecoveryManager.java:2394)
at java.lang.Thread.run(Thread.java:568)

[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ejs.j2c.J2CXAResourceInfo.recoverWhenServerStarted(J2CXAResourceInfo.java:620)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ws.Transaction.JTA.XARecoveryData.canProceed(XARecoveryData.java:1103)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:560)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ws.Transaction.JTA.PartnerLogTable.recover(PartnerLogTable.java:512)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1804)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ws.Transaction.JTA.RecoveryManager.run(RecoveryManager.java:2394)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at java.lang.Thread.run(Thread.java:568)


thanks in advance
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this happening when you run your code, or is it happening when you are in the data perspective?

If this is a code issue, I'd suggest going to the data perspective and using the wizards to try and connect to your database, and see if you get the same problem.

-Cameron McKenzie
 
nan priya
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Cameron,

I have created 3 datasources pointing to diff db instances.earlier it worked fine, now the other two are working fine.we have the same setup in dev,qa, it all works fine.Even other user's RAD working fine the the same connection.
the driver type i am using id CLI based type 2 driver.
RAD version 6.0.1
Server 6.0


Thanks
 
nan priya
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Cameron

The above mentioned error happens while server start,after that when i try to access the appliccation it shows

"COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2] SQL30108N A connection failed but has been re-established" with the neseted exception.
 
reply
    Bookmark Topic Watch Topic
  • New Topic