wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Abandoned connections stack trace log 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 » Products » Tomcat
Bookmark "Abandoned connections stack trace log" Watch "Abandoned connections stack trace log" New topic

Abandoned connections stack trace log

Fabio Piergentili
Ranch Hand

Joined: Sep 04, 2009
Posts: 57
I set logAbandoned="true" in context.xml file ( Database connection pool set up ) to get where the connections were not being closed but I see nothing in catalina.out. Does anyone know where the trace gets logged? My context file is

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964

I'm pretty sure that catalina.out is where they normally show up.

Although eliminating the possibility of orphaned connections is one reason why I adopted the Spring Framework. It takes care of such issues automatically (and reduces the amount of grunt coding).

Customer surveys are for companies who didn't pay proper attention to begin with.
Fabio Piergentili
Ranch Hand

Joined: Sep 04, 2009
Posts: 57
ok, thank you for the advice. I am in the middle of grunt coding now. I will look into it.

Thanks again,
wood burning stoves
subject: Abandoned connections stack trace log
Similar Threads
DBCP issue
Set Auto Commit for JNDI data source
Connection pooling using Tomcat
Connection polling issue with MySQLNonTransientConnectionException and Java webapp?
Tomcat datasourceRealm with md5 passwords