Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to catch StaleConnectionException on Websphere 6.1--- Urgent  RSS feed

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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!