Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

StaleConnectionException

 
Sanjeev Kaushik
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running my application in Websphere 5.0 and using Oracle 9.2 DB. Sometime I get StaleConnectionException. Is there any workaround how to fix this? Can I check the connection object, before I use it?
Please help.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sanjeev,
You can try doing the query again. Often it works the second time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic