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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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-
[EMAIL PROTECTED]/msg124362.html

Posted to tomcat-dev: http://www.mail-archive.com/tomcat-
[EMAIL PROTECTED]/msg56640.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to