tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Vidaver <gvida...@bbn.com>
Subject Re: Help with deploying a web app
Date Tue, 15 Apr 2003 03:10:24 GMT
Hi,
         Please disregard this message - the real problem was there was a 
mismatch between the war name, which was actually MyApp-0.1.war and the 
web-resource-name in the web.xml file, which was just MyApp.  So when the 
war was unpacked, the directory was called MyApp-0.1 - and of course tomcat 
couldn't find the web resource named MyApp.

         Gordon

At 10:06 PM 4/14/2003 -0400, you wrote:
>Hi,
>         I've extended the tomcat sample build.xml, but I'm having a 
> problem where I can use an ant target to deploy a web app:
>
>   <target name="deploy" description="Deploy the application to the 
> servlet container">
>     <install url="${manager.url}"
>         username="${manager.username}"
>         password="${manager.password}"
>             path="${app.path}"
>              war="file://${basedir}/dist/MyApp.war"/>
>   </target>
>
>         and this works fine, BUT if I copy the war into the webapps 
> directory, I get a 404.  Is there any fundamental step I'm missing here?
>
>         I can see tomcat expanding the war and all the pieces seem to be 
> there.
>
>         I turned the debug level to 99 on the obviously relevant 
> server.xml elements, but nothing in the logs say "I'm throwing an 
> exception so I won't work, etc."
>
>         Any help anyone can provide would be most appreciated.
>
>         Thanks,
>
>         Gordon
>
>
>Gordon Vidaver                  BBN Technologies
>gvidaver@bbn.com                Office 6/323
>617 873-3558                    10 Moulton St.
>617 873-2616 (fax)              Cambridge, MA 02138
>866-322-9311 (toll free)
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

Gordon Vidaver                  BBN Technologies
gvidaver@bbn.com                Office 6/323
617 873-3558                    10 Moulton St.
617 873-2616 (fax)              Cambridge, MA 02138
866-322-9311 (toll free)


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


Mime
View raw message