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 2007/09/28 09:13:50 UTC

DO NOT REPLY [Bug 43501] New: - Automatic reload not possible for webapplications in user directories

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: tomcat-dev@jakarta.apache.org
        ReportedBy: niklas_frank@inode.at


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 43501] - Automatic reload not possible for webapplications in user directories

Posted by bu...@apache.org.
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


wjs@cs.duke.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wjs@cs.duke.edu




-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 43501] - Automatic reload not possible for webapplications in user directories

Posted by bu...@apache.org.
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





------- Additional Comments From stefan.fleiter@web.de  2008-01-18 08:26 -------
Similar to or depends on bug 38131.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 43501] - Automatic reload not possible for webapplications in user directories

Posted by bu...@apache.org.
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


pr@objektpark.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From pr@objektpark.de  2008-01-21 00:44 -------
Fix added for release 5.5.26 and 6.0.17 s Bug 38131

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org