File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Joined: Aug 01, 2002
Apr 07, 2004 13:24:00
I am running my application in Websphere 5.0 and using Oracle 9.2 DB. Sometime I get StaleConnectionException. Is there any workaround how to fix this? Can I check the connection object, before I use it?
author & internet detective
Joined: May 26, 2003
Apr 07, 2004 18:06:00
You can try doing the query again. Often it works the second time.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
StaleConnection Exception Websphere 4.0
cleaning up connections in websphere
Catching StaleConections in WSAD
Catching StaleConnectionException in Application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015