2 Replies Latest reply on Sep 27, 2012 6:10 AM by Vincent MATHON

    How to configure a custom errorReportValveClass in JBoss 7.1.1

    Vincent MATHON Newbie

      In previous JBoss versions one can configure a custom errorReportValveClass in server.xml at the host element level (<Host name="localhost" errorReportValveClass="com.amdm.catalina.valves.ErrorReportValve">).

      In JBoss 7, such configuration is no more available in the standalone.xml file nor with a system property according to the org.apache.catalina.core.StandardHost class in jbossweb-7.0.16.

      So, what's the recommandation to avoid leaking security information through org.apache.catalina.valves.ErrorReportValve  in JBoss 7.1.1 ? (Valve configuration can be achieved at application level in the jboss-web.xml but in my case, the valve must be specified at the connector level).

       

      sincerly

      Vincent