Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stop Expanding war file

Status
Not open for further replies.

lcky

Programmer
Sep 29, 2005
30
0
0
GB
Hi
I am using Tomcat 5.5.

I have myTest.war file in a Tomcat 5.5/webapps. when I start Tomcat, it automatically expand myTest.war file into same folder.

Is there any way, I can stop war file expanding and run application from war.

Please any suggestion.

Thank
 
In TOMCAT_HOME/confserver.xml , find the <Host> tag(s) - and change :

unpackWARs="true"

to :

unpackWARs="false"

Ta Da !

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top