tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11682] New: - App does not work when deployed to root context via ant
Date Wed, 14 Aug 2002 06:55:49 GMT
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=11682>.
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=11682

App does not work when deployed to root context via ant

           Summary: App does not work when deployed to root context via ant
           Product: Tomcat 4
           Version: 4.1.7
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: chris@sixlegs.com


I have no problems deploying a war file to a non-root context OR using the 
install task to dynamically add an app to both root and non-root contexts. 
However, when I deploy to a root context:

 - tomcat says that it successfully deployed
 - <Context> is saved into server.xml as expected
 - But all requests give
   "HTTP Status 500 - No Context configured to process this request"

One odd thing I noticed about the server.xml tag is that the name of the 
deployed war file is ".war" (see below). However, that file does exist and it 
is the the warfile I asked to deploy.

The error in the log is
StandardHost[localhost]: MAPPING configuration error for request URI /whatever

Generated context tag:
        <Context className="org.apache.catalina.core.StandardContext" 
cachingAllowed="true" 
charsetMapperClass="org.apache.catalina.util.CharsetMapper" cookies="true" 
crossContext="false" debug="0" docBase="/home/cjn/oss/jakarta-tomcat-4.1.7-LE-
jdk14/work/Standalone/localhost/manager/.war" 
mapperClass="org.apache.catalina.core.StandardContextMapper" path="/" 
privileged="false" reloadable="false" useNaming="true" 
wrapperClass="org.apache.catalina.core.StandardWrapper">

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message