2 Replies Latest reply on Oct 20, 2004 1:30 PM by Anthony Law

    How to add Tomcat Valve to Context?

    Anthony Law Newbie

      Hi all I need to add/change a valve setting because of this: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=55212

      In JBoss-3.2.5 where would I add the following so my webapp (a war file inside an ear file) would have this valve setting?

      <Context path="/myapp" docBase="myapp">
       <Valve className="org.apache.catalina.authenticator.FormAuthenticator"
       disableProxyCaching="false" />
      </Context>
      


      Thanks in advance!

      Details:
      EAR file with:
      - Manifest.mf
      - myapp-ejb.jar
      - myapp-service.sar
      - myapp-web.war
      - application.xml
      - jboss-app.xml

      In application.xml, my webapp is configured as the default like this:
      <application>
       <module>
       <web>
       <web-uri>myapp-web.war</web-uri>
       <context-root>/</context-root>
       </web>
       </module>
      </application>