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 28417] New: - Context descriptors in appBase do not get deployed
Date Thu, 15 Apr 2004 19:07:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28417>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28417

Context descriptors in appBase do not get deployed

           Summary: Context descriptors in appBase do not get deployed
           Product: Tomcat 5
           Version: 5.0.19
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: belwig@hotmail.com


Context descriptors in <host> appBase do not load.

Start with a standard install of Tomcat 5.0.19.

Copy conf/server-minimal.xml to conf/server.xml

modify conf/Catalina/localhost/admin.xml. Change docBase to absolute path (in 
my case: /usr/local/tomcat-5.0.19/server/webapps/admin).

Start tomcat and verify that the admin context is loaded.

Shutdown tomcat

Create a directory somewhere outside the tomcat tree (I 
used /usr/local/webapps/conf).

Move conf/Catalina/localhost/admin.xml to created directory

Modify server.xml. Change <host>'s appBase to created directory. Add 
deployOnStartup="true".

Start tomcat. Note that admin context is not loaded.

I've tried this with mutiple contexts, not just the admin app. I could never 
get it to work as described in 
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html#Deploying%
20on%20Tomcat%20startup

<quote>
The webapps which are present in the host appBase will be deployed if the 
host "deployOnStartup" property is true. The deployment process is the 
following: 

The Context XML declarations will be deployed first 
...
</quote>

Posted to tomcat-user: http://www.mail-archive.com/tomcat-
user@jakarta.apache.org/msg124362.html

Posted to tomcat-dev: http://www.mail-archive.com/tomcat-
dev@jakarta.apache.org/msg56640.html

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


Mime
View raw message