aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "StaleConnectionException  problem" Watch "StaleConnectionException  problem" New topic
Author

StaleConnectionException problem

bhushan guduri
Greenhorn

Joined: Jan 19, 2002
Posts: 23
Hi
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, com.ibm.ejs.cm.portability.StaleConnectionException. when i tried to use this
(import com.ibm.ejs.cm.portability.StaleConnectionException ), 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.
Thanks
Bhushan
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
regards
Prabu Pidaran
Greenhorn

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
Bartender

Joined: Oct 14, 2005
Posts: 18657
    
    8

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
Greenhorn

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/com.ibm.runtime_6.1.0.jar. Obviously, right?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: StaleConnectionException problem