• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to catch StaleConnectionException on Websphere 6.1--- Urgent

 
swapnil dangore
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
We are migrating one of our application from Webspere 5 to Webspere 6.1. I am seeing strange behaviour on Webspere 6.1 in terms of handling StaleConnection exception.

Here is the exception that I get


Below is the code for handling this


So, whenever we get above exception on Websphere 6.1 the SQLException block gets excuted. However, on Websphere 5 StaleConnection block gets executed.
Please help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic