File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

StaleConnectionException problem

 
bhushan guduri
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20163
24
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic