tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Sexton" <gsex...@mhsoftware.com>
Subject RE: context.xml my old friend
Date Tue, 07 Feb 2006 19:07:37 GMT
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:DKlotz@empirix.com] 
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message