You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Fran Fabrizio <ff...@mmrd.com> on 2000/11/20 18:08:17 UTC
Automatic contexts/WAR file not working
I'm trying to distribute an application as a WAR file (myapp.war). I drop the war file into
tomcat/webapps, and restart tomcat. Tomcat successfully expands the war file into its corresponding
myapp/ directory. The startup messages say:
Context log: path="/myapp" Automatic context load docBase="/usr/local/apache/tomcat/webapps/myapp"
Context log: path="/myapp" Adding context path="/myapp" docBase="/usr/local/apache/tomcat/webapps/myapp"
And yet:
http://myserver/myapp/ reports "Page Not Found"
I know the tomcat install is working fine otherwise, as I have another web application running well (I
specified its context in the server.xml file).
Any hints?
Thanks,
Fran
Re: Automatic contexts/WAR file not working
Posted by Fran Fabrizio <ff...@mmrd.com>.
Sorry to disturb. Just wanted to call off the dogs, I figured out the problem. I had incorrectly setup the
tomcat-apache.conf file. It worked fine when I went directly to the tomcat port. Sorry for taking up list
space!
-Fran
Fran Fabrizio wrote:
> I'm trying to distribute an application as a WAR file (myapp.war). I drop the war file into
> tomcat/webapps, and restart tomcat. Tomcat successfully expands the war file into its corresponding
> myapp/ directory. The startup messages say:
>
> Context log: path="/myapp" Automatic context load docBase="/usr/local/apache/tomcat/webapps/myapp"
> Context log: path="/myapp" Adding context path="/myapp" docBase="/usr/local/apache/tomcat/webapps/myapp"
>
> And yet:
>
> http://myserver/myapp/ reports "Page Not Found"
>
> I know the tomcat install is working fine otherwise, as I have another web application running well (I
> specified its context in the server.xml file).
>
> Any hints?
>
> Thanks,
> Fran
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org