You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Klotz Jr, Dennis" <DK...@empirix.com> on 2006/02/07 20:03:35 UTC
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
RE: context.xml my old friend
Posted by George Sexton <gs...@mhsoftware.com>.
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