-->
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: Another lazy attribute story
PostPosted: Mon Jun 30, 2008 9:52 am 
Newbie

Joined: Mon Jun 30, 2008 9:37 am
Posts: 2
Hi everyone,

I'm not very happy to post this topic since everyone is so tired of the lazy collection initialization exception, and after reading the forum and the cos i found a solution, but my question about this is slightly different.

It all started with a org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed exception, resolved after reading all the stuff kindly posted. My problem, nevertheless, is that the misrunning appilcation has NOT been changed and this exception has started to be thrown after 3 months of fully-functionality. So, what problem can derive to this strange behaviour ? Is there any timeout for the session that was not - miraculousely - expired ? Or is there a max amount of memory released for hibernate that has been overflowed ?

I hope i can find any better solution or a root for my problem, thank you all !!!!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 01, 2008 4:18 am 
Expert
Expert

Joined: Thu Jul 05, 2007 9:38 am
Posts: 287
Are you telling us you have a session that stayed alive for 3Months?

This is like asking 'May you hold this lamp up, while I get a screw driver an then leave for vacation!'

If your session really stayed alive for so long (and was under some real use) it might be that you see some kind of integer roleover effect or something. But I would have expected some serious memory problems long before that.

Let your sessions die!

_________________
Please rate useful posts.


Schauderhaft: Softwaredevelopment, Projectmanagement, Qualitymanagement and all things "schauderhaft"


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 01, 2008 5:28 am 
Newbie

Joined: Mon Jun 30, 2008 9:37 am
Posts: 2
Hi schauder,

Tanhks for your interest.

No, the session has not been alive for three months, but the application overlaying the hibernate engine has been working for three months without any problem, but has started to throw this exception.


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.