The moose likes Websphere and the fly likes StaleConnectionException  problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "StaleConnectionException  problem" Watch "StaleConnectionException  problem" New topic

StaleConnectionException problem

bhushan guduri

Joined: Jan 19, 2002
Posts: 23
WE are using WebSphere application server in our project. I am trying to catch the StaleConnectionException in my program. But seems to be i need to import the following class, when i tried to use this
(import ), it is giving the compilation error saying that class not found. Please let me know where can i get the class/jar file for this.
sandhya menon
Ranch Hand

Joined: May 22, 2001
Posts: 37
Dear Friend,

See in appserverroot/lib folder u can see 2 jar files namely ejs.jar and ujc.jar .Apply this to ur classpath .
Try this it should work
Prabu Pidaran

Joined: Feb 22, 2010
Posts: 19
Hi.. I am using Websphere 6.1 and am having the same problem. I could not find the jars you specified here. Is there any other solution to avoid staleconnection exception..??? I tried all the possible ways and still facing the same problem
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

I don't think you have the same problem. You didn't mention compiling anywhere in your post and it seems like you want to not have the exception, not just to catch it and deal with it.

And since the original post is nearly 8 years old now, the chances are that any advice given in response to it is now hopelessly obsolete.
Peter O'Bryan

Joined: Nov 27, 2007
Posts: 1
In my patched-together version of Websphere 6.1, there is a copy of StaleConnectionException in Websphere/AppServer/plugins/ Obviously, right?
I agree. Here's the link:
subject: StaleConnectionException problem
It's not a secret anymore!