From tomcat docs:
You can nest one or more Context elements inside this Host element, each representing a different web application associated with this virtual host. In addition, you can nest a single DefaultContext element that defines default values for *subsequently* deployed web applications.

Again, put your valve in host, not context if you want it to be called before authentification
Böhringer Jochen wrote:
Hi,

additional Info:

I moved the two valves in a DefaultContext tag at the end of the host 
definition.

<DefaultContext>
        <Valve className="de.tccproducts.valves.PenFrameworkAuthenticationValve" 
/>
      <Valve className="org.apache.catalina.authenticator.BasicAuthenticator" />
</DefaultContext>
</Host>
Now there are no exceptions any more. But my own valve is never called.

Regards
Jochen

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to