my dog learned polymorphism*
The moose likes JDBC and the fly likes Datasource session timeout problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Datasource session timeout problem" Watch "Datasource session timeout problem" New topic

Datasource session timeout problem

Christian Schlaefcke

Joined: Mar 18, 2004
Posts: 2
Hi folks,
I have an web application running under weblogic 7.0. This application is accessing a DB2 database through a tx datasource. This is running fine so far but when I leave the application running over night and try to get a connection the next morning I get this exception:
SQLException: Connection closed due to session kill
What can I do, to get a fresh connection?
Thanks & Regards,
Don't get me started about those stupid light bulbs.
subject: Datasource session timeout problem
Similar Threads
DataSource.getConnection() returning closed connections
Connection pools in WAS 5
oci8 driver problem.
javax.naming.reference exception on lookup