-->
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: Undeploying entity manager in servlet
PostPosted: Mon Mar 23, 2009 9:18 pm 
Newbie

Joined: Mon Apr 11, 2005 3:45 pm
Posts: 2
Hibernate version:
hibernate-entity-manager 3.4.0.GA

I'm wondering if there is still the issue in the org.hibernate.ejb.packaging.PersistenceXmlLoader which prevents a web application from being undeployed in tomcat on windows.

Looking at the loadURL method it gets the reference to the input stream but does not close it. I think the rest of the method needs to be wrapped in a try finally block which closes the stream at the end of it.


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.