tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Afkham Azeez <afk...@gmail.com>
Subject Re: Tomcat 7 - does unpackWars=false work
Date Wed, 16 Feb 2011 12:09:58 GMT
I explicitly set antiJARLocking and antiResourceLocking to false and now it
is is working as expected. I;m using Embedded Tomcat. Thanks guys.

Azeez

On Wed, Feb 16, 2011 at 4:05 PM, Mark Thomas <markt@apache.org> wrote:

> On 15/02/2011 21:47, Caldarale, Charles R wrote:
> >> From: afkham@gmail.com [mailto:afkham@gmail.com] On Behalf Of Afkham
> Azeez
> >> Subject: Tomcat 7 - does unpackWars=false work
> >
> >> In my server.xml file, I have set unpackWars to false as follows:
> >> <Host name="localhost"  appBase="webapps"
> >>             unpackWARs="false" autoDeploy="true">
> >> However, my WAR files are still being unpacked into the work
> >> directory. Am I missing something?
> >
> > Just the fact that the .war files have to be unpacked somewhere;
>
> No they don't. Tomcat will run an application quite happily directly
> from a WAR.
>
> > all the config tag does is prevent them from being unpacked into the
> <Host> appBase directory.
>
> Unpacking into the work directory is a side-effect of enabling either
> antiJARLocking or antiResourceLocking.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
email: **azeez@wso2.com* <azeez@wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
*
*

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