It has been noted that the META-INF/context.xml is only read on server startup. It appears that deployment of a new host with a context in the AppBase does not work.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38351 George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -----Original Message----- > From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 07, 2006 12:04 PM > To: Tomcat Users List > Subject: context.xml my old friend > > Sanity check please... (I seem to be saying that a lot -- hmm) > > I cannot get tomcat 5.5.15 to use: > > $CATALINA_HOME/webapp/Monitor/META-INF/context.xml > > If I take that same (unchanged) file, move and rename it to: > > $CATALINA_HOME/conf/Catalina/localhost/Monitor.xml > > It works fine. > > Here are the contents of context.xml: > > <!-- The contents of this file will be loaded for each web application > --> > <Context debug="1" reloadable="false" crossContext="true"> > > <Valve > className="org.apache.catalina.authenticator.FormAuthenticator" > securePagesWithPragma="false" /> > > <Valve > className="org.apache.catalina.authenticator.NonLoginAuthenticator" > securePagesWithPragma="false" /> > > <Valve > className="org.apache.catalina.authenticator.SSLAuthenticator" > securePagesWithPragma="false" /> > > </Context> > > > I think I'm doing things correctly... why doesn't the file > META-INF/context.xml work? > > Regards, > > Dennis Klotz > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]