This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Abandoned connections stack trace log" Watch "Abandoned connections stack trace log" New topic
Author

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



Thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17151
    
  27

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).


An IDE is no substitute for an Intelligent Developer.
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,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Abandoned connections stack trace log
 
It's not a secret anymore!