I don't know why the WAR file is not unpacking automatically but I'd like to
suggest a simpler alternative than creating a directory and unjarring it
manually: use the Tomcat Manager application, specifically the "Upload a WAR
file to install" section.

Rhino

----- Original Message ----- 
From: "phil campaigne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 13, 2004 3:09 PM
Subject: War does not unpack on deployment


> My application "Test.war"is not unpacking when I ftp it to the
> jakarta-tomcat/webapps directory on my host.  Even after stop and
> re-start.  If I mkdir Test and move test.war into it and jar -vxf
> Test.war then it does expand and run properly.
>
>
> This is my server.xml entries
> **********************************
>  <!-- Define the default virtual host -->
>       <Host name="localhost" debug="0" appBase="webapps"
>        unpackWARs="true" autoDeploy="true">
>
>
> <!-- Test Context -->
>         <Context path="/Test" docBase="Test"
>            debug="100" privileged="true"/>
> ********************************************************
>
> This is my web.xml
>
> ********************************************************
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>     "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> <web-app>
>   <display-name>Test</display-name>
>
>
>     <servlet>
>         <servlet-name>Test</servlet-name>
>         <display-name>Test</display-name>
>         <servlet-class>com.op.test.Test</servlet-class>
>     </servlet>
>
>
>      <servlet-mapping>
>         <servlet-name>Test</servlet-name>
>         <url-pattern>/Test</url-pattern>
>     </servlet-mapping>
>
>       </web-app>
> ***********************************************
> Why doesn't unpack automatically?
> Thanks,
> Phil Campaigne
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to