• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

StaleConnectionException problem

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
For my next trick, I'll need the help of a tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic