-->
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.  [ 3 posts ] 
Author Message
 Post subject: WARN [SessionImpl.2988]##finalizing unclosed session
PostPosted: Thu Oct 09, 2003 12:34 pm 
Newbie

Joined: Tue Sep 30, 2003 9:27 am
Posts: 12
Hi Guys,

I am getting a warning:

Code:
WARN  [SessionImpl.2988]##finalizing unclosed session with closed connection[Finalizer]
WARN  [SessionImpl.2991]##unclosed connection[Finalizer]
DEBUG [HibernateSessionInterceptor.33]##Closing session[ExecuteThread: '13' for queue: 'weblogic.kernel.Default']


I guess I am doing something wrong! Any ideas on what I am doing wrong?

I thought it may be something simple like me not closing a session, but I have a ww2 interceptor that creates session-performs action-closes session.

In fact, as you can see from the log above, my close gets called after these messages appear. (and when it does, the session is still open)

Regards,
Jeff


Top
 Profile  
 
 Post subject: sequence
PostPosted: Thu Oct 09, 2003 8:02 pm 
Senior
Senior

Joined: Sun Aug 31, 2003 3:14 pm
Posts: 151
Location: Earth (at the moment)
Can you post an example?

I'm willing to bet you've created a session somewhere that has gone out of scope and been garbage collected before your cleanup code runs. Are you sure it is even the same session in question?


Top
 Profile  
 
 Post subject: Re: sequence
PostPosted: Fri Oct 10, 2003 4:40 am 
Newbie

Joined: Tue Sep 30, 2003 9:27 am
Posts: 12
Hi David,

Yes you are correct. Seems my threadlocal code was messing up - I'm pretty sure I was closing the session, just not discarding it. It all works now though, thanks!

J


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.