You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/03/07 00:26:26 UTC
DO NOT REPLY [Bug 6941] New: -
Referencing recently war deployed application in the root context results in 404 error
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6941
Referencing recently war deployed application in the root context results in 404 error
Summary: Referencing recently war deployed application in the
root context results in 404 error
Product: Tomcat 4
Version: 4.0.3 Final
Platform: PC
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: RealOkun@usa.net
Steps to reproduce the problem:
1. Shutdown Tomcat server: $CATALINA_HOME\bin\shutdown.bat
2. Reference the application to be deployed in the Tomcat Root Context element
of the server.xml:
<Context path="" docBase="myapp" debug="0"/>
3. Deploy the application by placing myapp.xml into $CATALINA_HOME\webapps
directory.
4. Start Tomcat server: $CATALINA_HOME\bin\startup.bat
5. Request the default application via http://host:port/
6. The response comes as:
Apache Tomcat/4.0.3 - HTTP Status 404 - /index.html
type Status report
message /index.html
description The requested resource (/index.html) is not available.
7. Restart Tomcat server, perform step 5 again. Now the requested resourse is
being served properly.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>