-->
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: OutOfMemory Errors with Weblogic 8.1 SP5 and Hibernate 3
PostPosted: Mon Jun 19, 2006 2:49 pm 
Newbie

Joined: Mon Jun 19, 2006 2:34 pm
Posts: 8
I found a long 13 page thread about this issue but no one really seemed to have the solution:

http://forum.hibernate.org/viewtopic.ph ... t=weblogic

When I redeploy my app about 4 or 5 times the weblogic server instance runs out of memory. This presents a real problem in our development environment where we are reploying many times a day.

As suggested somewhere in the above 13 page thread I created a ServletContextListener and closed my hibernate session factory and I also call the LogFactory.release(classloader) method to release the commons logging factory (mentioned at a link I found in the above 13 page thread).

None of this works, I still get OutOfMemory exceptions after 4 or 5 redeploys. I have tried undeploying the applicaiton first before doing a deploy (I use BEA's supplied wldeploy ANT task for deploy/undeploy).

I simply can't use Hibernate in production with this issue (of course things don't get deployed to production very often but it is still a timebomb waiting to happen).


Top
 Profile  
 
 Post subject: Re: OutOfMemory Errors with Weblogic 8.1 SP5 and Hibernate 3
PostPosted: Wed Sep 20, 2006 9:00 pm 
Newbie

Joined: Fri Sep 30, 2005 2:46 am
Posts: 2
I have this problems too. We can not put hibernate in our production too. Now I'm thinking about to transfer to iBatis/JDBC.

mjparme wrote:
I found a long 13 page thread about this issue but no one really seemed to have the solution:

http://forum.hibernate.org/viewtopic.ph ... t=weblogic

When I redeploy my app about 4 or 5 times the weblogic server instance runs out of memory. This presents a real problem in our development environment where we are reploying many times a day.

As suggested somewhere in the above 13 page thread I created a ServletContextListener and closed my hibernate session factory and I also call the LogFactory.release(classloader) method to release the commons logging factory (mentioned at a link I found in the above 13 page thread).

None of this works, I still get OutOfMemory exceptions after 4 or 5 redeploys. I have tried undeploying the applicaiton first before doing a deploy (I use BEA's supplied wldeploy ANT task for deploy/undeploy).

I simply can't use Hibernate in production with this issue (of course things don't get deployed to production very often but it is still a timebomb waiting to happen).


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.