-->
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: Problem with Hibernate in WebSphere 6.0
PostPosted: Thu Dec 22, 2005 3:54 pm 
Newbie

Joined: Wed Jan 26, 2005 8:05 am
Posts: 13
Hello guys,

I have been using Hibernate in Websphere 6.0 server.
I use the Websphere Connection Pool to get the database connections.
I am sure a close all the sessions in a finally block in all
my data accessors.


But I see strange warning on the Websphere SystemOut like this one:
SessionImpl W net.sf.hibernate.impl.SessionImpl finalize finalizing unclosed session with closed connection

Can you tell me what is going on ???
Has anyone experienced the same issue ?
I fear this could make the server crash in the long run.

All ideas and suggestions are welcome.

Thank you.
Skyrose

Hibernate version: Hibernate 2.1
JDK: 1.4.2


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2005 6:39 am 
Expert
Expert

Joined: Thu May 26, 2005 9:19 am
Posts: 262
Location: Oak Creek, WI
Hi,

I have also come across this problem . Its not a WebSphere Issue nor Hibernate Issue, Its an issue by the programmer who has forgot to close the session some where in the finally.

Check this when i was using batch insert and update i found this message.
This will lead to server crash.
Put in logger and check all the methods whether you have closed the session properly.

_________________
RamnathN
Senior Software Engineer
http://www.linkedin.com/in/ramnathn
Don't forget to rate.


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.