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=43501>.
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=43501

           Summary: Automatic reload not possible for webapplications in
                    user directories
           Product: Tomcat 6
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am using Tomcat 6.0 (server information included below) with Ubuntu
(feisty). In my server.xml file i have a single host entry for localhost
to which I added a listener for the user directories:
  <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">

 <Listener className="org.apache.catalina.startup.UserConfig"
                directoryName="public-webapps"
                userClass="org.apache.catalina.startup.PasswdUserDatabase" />
 </Host>

My context.xml file looks like this:

<Context reloadable="true">
    <!-- Default set of monitored resources -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
</Context>



With this configuration the user homes are accessible. But if I make any
changes, the application is not reloaded. Applications under
$CATALINA_HOME/webapps, however, _are_ reloaded automatically. 

In catalina.out this leads to:
Sep 27, 2007 6:43:39 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/examples]

But no reload or output is generated when I modify web.xml in the user dir.

According to the Tomcat Documentations, the user webapps should inherit
all settings of the default context. However, the reloadable property does not
seem to be passed on to the user webapps. 

Here is my server information:
Tomcat Version          Apache Tomcat/6.0-snapshot
JVM Version                   1.5.0_12-b04
JVM Vendor                   Sun Microsystems Inc.
OS Name          Linux
OS Version                   2.6.20-16-server
OS Architecture         i386

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to