aspose file tools*
The moose likes Websphere and the fly likes Unable to catch StaleConnectionException on Websphere 6.1--- Urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Unable to catch StaleConnectionException on Websphere 6.1--- Urgent" Watch "Unable to catch StaleConnectionException on Websphere 6.1--- Urgent" New topic
Author

Unable to catch StaleConnectionException on Websphere 6.1--- Urgent

swapnil dangore
Ranch Hand

Joined: Jun 05, 2006
Posts: 46
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


Cheers<br />-------------<br />Swapnil<br /> <br />SCJP5-81%<br /> <br />"Dictionary is the only place where Success come before Work"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to catch StaleConnectionException on Websphere 6.1--- Urgent
 
Similar Threads
Unable to extraxt StaleConnectionException from DataAceessException
DB2 StaleConnectionException
Connect to DB2 using WAS Datasource- StaleConnection,ErrorCode -30,081,SQLState40003
Stale Connection
StaleConnectionException -WebSphere Connection Pool