tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Parmar <myjobs.conn...@gmail.com>
Subject Re: Struts2 + Tomcat Hot Deployment of war Not Working
Date Wed, 09 Jun 2010 00:28:29 GMT
Hello Mark,

It started working with the following:

<Context reloadable="true" antiJARLocking="true" antiResourceLocking="true">
Indeed the attributes are case sensitive. Thank you so much for your help.

Regards,
Amit Parmar.

On Tue, Jun 8, 2010 at 7:59 PM, Mark Thomas <markt@apache.org> wrote:

> On 08/06/2010 11:52, Amit Parmar wrote:
> > Now when I again create the mywebapps.war as mentioned above, when Tomcat
> is
> > running, everything except two jars in WEF-INF/lib directory from the
> > mywebapps context directory is deleted.
>
> Which JARs?
>
> > 2) How did you set these?
> > ANS : In the Tomacat_Home/conf/context.xml    I have added the following
> > attributes in Context tag:
> > <Context reloadable="true" antijarlocking="true"
> antiresourcelocking="true">
>
> Those attributes will have no effect. Attribute names are case
> sensitive. Fix the case and see if that helps.
>
> >>> Tomcat : 5.5.25
>
> An upgrade to Tomcat 6.0.26 may help. It has a number of additional
> protections that may prevent the JARs from being locked in the first place.
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message