-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: "Unclosed Connection" warning from finalize() meth
PostPosted: Wed Apr 14, 2004 3:05 pm 
Beginner
Beginner

Joined: Thu Jan 22, 2004 2:42 pm
Posts: 24
The finalize method in the struts sessionImpl logs an "unclosed connection" warning in this JSP application I have running in Tomcat. I use C3p0 for connection pooling and obviously if I close the connection myself it will break the application. Has anyone out there ever encountered this? My Oracle server confirms that these connections are left open and inactive after I'm done. So clearly there has to be something I can do?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 20, 2004 10:11 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
You're pretty vague but do you session.close() somewhere

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.