You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rob Ross <RR...@eentertainment.com> on 2004/03/09 19:32:46 UTC

why two webapps from one war file?

I have a war file, vale.war. The context.xml for this webapp (in META-INF)
is

<Context path="/dept/post/vale" docBase="vale" debug="0"
                 reloadable="true" crossContext="false">
    <Logger className="org.apache.catalina.logger.FileLogger"
            prefix="localhost_vale_log." suffix=".txt" timestamp="true"/>
</Context >

When I use the manager app to deploy a war file, I end up with TWO webapps
listed in the manger, one for /dept/post/vale, and one for just /vale.

Why does this happen?

Rob Ross
Senior Software Engineer
E! Networks
rross@eentertainment.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: why two webapps from one war file?

Posted by Brice Ruth <br...@fiskars.com>.
if you put your .WAR in the webapps directory and you have Tomcat 
configured to automatically deploy WARs that are placed there, then it 
will deploy that WAR from the file, and deploy it from the context you 
configure in server.xml.

Rob Ross wrote:

>I have a war file, vale.war. The context.xml for this webapp (in META-INF)
>is
>
><Context path="/dept/post/vale" docBase="vale" debug="0"
>                 reloadable="true" crossContext="false">
>    <Logger className="org.apache.catalina.logger.FileLogger"
>            prefix="localhost_vale_log." suffix=".txt" timestamp="true"/>
></Context >
>
>When I use the manager app to deploy a war file, I end up with TWO webapps
>listed in the manger, one for /dept/post/vale, and one for just /vale.
>
>Why does this happen?
>
>Rob Ross
>Senior Software Engineer
>E! Networks
>rross@eentertainment.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>

-- 
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


About the LE-JDK14 suffix

Posted by Hristo Stefanov <hs...@gmx.net>.
Hi all!
What does the LD-JDK14 suffix exactly mean in the name of some dist files?
Or what's the difference between "jakarta-tomcat-4.1.30.zip" and
"jakarta-tomcat-4.1.30-LE-jdk14.zip"?

Of course jdk14 makes sense, but the LE...

Thanks,
Hristo Stefanov


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org