tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From exquisite <gautam_exquis...@yahoo.com>
Subject Re: Cannot make war file as default app
Date Fri, 12 Aug 2011 20:41:54 GMT
Thanks Chuck for your point. 

Now when i renamed my war to ROOT.war and drop it in webapps folder (without any context in
server.xml), it deploys fine for the first time as the root app (Creates a ROOT folder in
webapps),  but if i make any change to any of my jsps and drop the new ROOT.war file, it
does not pick the changes. 

Do i have to manually delete the ROOT folder that tomcat creates, everytime before the fresh
deployment?

Im trying different ways to understand what tomcat really is doing. Please explain this as
i have been through enough confusion already about whats going on. 

Again, this is Tomcat 6.0.32, jdk 1.5, windows 7 OS.

Thanks
G



________________________________
From: "Caldarale, Charles R" <Chuck.Caldarale@unisys.com>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Friday, August 12, 2011 7:28 AM
Subject: RE: Cannot make war file as default app

> From: exquisite [mailto:gautam_exquisite@yahoo.com] 
> Subject: Re: Cannot make war file as default app

> i did not want to rename my war to ROOT.war

And thereby make a lot more work for yourself.  Simply rename it and be done.

Using the horribly outdated and restrictive mechanism of placing <Context> elements
in server.xml comes from the dark ages; don't go there.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
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