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 <ma...@apache.org> wrote: > On 15/02/2011 21:47, Caldarale, Charles R wrote: > >> From: afk...@gmail.com [mailto:afk...@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-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@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: **az...@wso2.com* <az...@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* * *