-->
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.  [ 1 post ] 
Author Message
 Post subject: Database connections not closing properly
PostPosted: Fri Jun 25, 2004 5:34 am 
Newbie

Joined: Wed Feb 11, 2004 5:08 am
Posts: 14
Hi all,

I have a simple application that uses Hibernate as a database backend. I also use Spring framework to provide me transaction management. The problem I'm having is that when I close my application and call SessionFactory.close(), my database connections are not properly closed and I get

Code:
2004-06-25 11:10:23 LOG:  could not receive data from client: Connection reset by peer
2004-06-25 11:10:23 LOG:  unexpected EOF on client connection


to my database (PostgreSQL 7.4.3) logs. I have tried both DBCP and C3P0 as connection pools and have same problem with both of them.

Anyone having ideas how to get the db connections closed nicely?


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

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.