You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Jing Xue <jx...@digizenstudio.com> on 2005/07/20 17:48:04 UTC
ehcache.jar held up when portlet application undeployed
Hi,
I have this portlet application deployed to jetspeed2-M3/tomcat. It uses
hibernate which uses ehcache.jar.
The problem happens everytime when the application is undeployed while
the server is running. Tomcat would delete the exploded war directory,
except WEB-INF/lib/ehcache.jar. If I try to delete it manually while
tomcat is still running, I get the "used by another process" Windows
error. This is practically rendering hot-redeploy useless for me because
tomcat would fail to delete the old version of the exploded war directory.
I already have antiJarLocking set to true in tomcat's context.xml.
Considering the jetspeed jars are in shared/lib and this wasn't
happening when the application was still servlet-based, it looks like
something from jetspeed is hanging on to the ehcache.jar.
Please note that I'm by no means blaming jetspeed, because I understand
why jetspeed jars have to be in shared/lib. I just wanted to ask around
and see if anybody else has run into similar issues and what your
solution was.
Thanks.
--Jing Xue
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: ehcache.jar held up when portlet application undeployed
Posted by Jing Xue <jx...@digizenstudio.com>.
Scott T Weaver wrote:
>Hi Jing Xue,
>
>I use hibernate in all of my portlet apps and I never have had an issue with
>ehcache.jar being locked on redeploy. It might be something your app or
>hibernate is doing itself that is locking the jar.
>
>Regards,
>-Scott
>
>
Thanks, Scott! That's just as good to know.
--Jing
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
RE: ehcache.jar held up when portlet application undeployed
Posted by Scott T Weaver <sc...@binary-designs.net>.
Hi Jing Xue,
I use hibernate in all of my portlet apps and I never have had an issue with
ehcache.jar being locked on redeploy. It might be something your app or
hibernate is doing itself that is locking the jar.
Regards,
-Scott
> -----Original Message-----
> From: Jing Xue [mailto:jxue01@digizenstudio.com]
> Sent: Wednesday, July 20, 2005 11:48 AM
> To: Jetspeed Users
> Subject: ehcache.jar held up when portlet application undeployed
>
> Hi,
>
> I have this portlet application deployed to jetspeed2-M3/tomcat. It uses
> hibernate which uses ehcache.jar.
>
> The problem happens everytime when the application is undeployed while
> the server is running. Tomcat would delete the exploded war directory,
> except WEB-INF/lib/ehcache.jar. If I try to delete it manually while
> tomcat is still running, I get the "used by another process" Windows
> error. This is practically rendering hot-redeploy useless for me because
> tomcat would fail to delete the old version of the exploded war directory.
>
> I already have antiJarLocking set to true in tomcat's context.xml.
> Considering the jetspeed jars are in shared/lib and this wasn't
> happening when the application was still servlet-based, it looks like
> something from jetspeed is hanging on to the ehcache.jar.
>
> Please note that I'm by no means blaming jetspeed, because I understand
> why jetspeed jars have to be in shared/lib. I just wanted to ask around
> and see if anybody else has run into similar issues and what your
> solution was.
>
> Thanks.
> --Jing Xue
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org