Dear all, I have been trying for quite a while to enable webapplications in user directories (accessible via ~username) to be automatically reloaded. I am not sure if it is even possible. Maybe someone of you knows an answer. Any help is very much appreciated.
Here is my setup: 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> 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!) My context.xml file looks like this: <Context reloadable="true"> <!-- Default set of monitored resources --> <WatchedResource>WEB-INF/web.xml</WatchedResource> </Context> According to the Tomcat Documentations, the user webapps should inherit all settings of the DefaultContext. I tried adding a DefaultContext entry to the server.xml file (even though I thought that the default context should be sufficiently set up by context.xml): <DefaultContext reloadable="true"/> Unfortunately this did not work either. The web applications in the user directories do not get reloaded. I would be very happy if somebody could tell how I could get this working (a work-around will do too!). Any suggestions are dearly appreciated! Thanks & Kind regards, Niklas PS 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 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]