tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Overhead of having a WAR file in docPath
Date Wed, 08 Oct 2003 19:34:16 GMT

You're doing too much I think ;)

Do you have any custom things inside the Context element, e.g. a
Logger/Valve?  If not, you don't need a Context element in server.xml,
so take it out and let tomcat discover the webapp.

If you do have custom context configuration requirements, use either
myapp.xml or a <Context> tag in server.xml, but not both: they're
conflicting.  If you don't have custom context configuration
requirements, again, drop myapp.xml.

I would start with just the .war file in webapps, no myapp.xml, nothing
in server.xml, and see what happens.  Does tomcat properly discover and
deploy your webapp, or does it run into errors?

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: news [] On Behalf Of Morten
>Sent: Wednesday, October 08, 2003 3:23 PM
>Subject: Overhead of having a WAR file in docPath
>I'm curious what overhead there is in having a war file
>in the context docPath attribute, eg.
><Context path="/myapp" docBase="/myapp.war">
>What's the overhead of this?
>Ideally, I'd be able to use
><Context path="/myapp" docBase="myapp">
>But in this case, Tomcat (4.1.24) does not find and explode
>the WAR file - even though I have myapp.war and myapp.xml in
>the webapps/ dir, why?
>Thanks in advance,
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message