1 Reply Latest reply on Jun 15, 2003 2:51 AM by clevanger

    Tomcat Listener Configuration

    clevanger

      Hello all,

      I am trying to set up a listener class in jboss-tomcat throught the convential method. In the war's web.xml I add



      Have also tried other methods such as


      <listener-class>tigershark.util.webdebugger.attributeDebugListener</listener-class>


      This normally works like a charm in standalone tomcat, but in the jboss-tomcat bundle i consistently get errors of this type

      org.xml.sax.SAXParseException: Element "web-app" does not allow "Listener" here.
      at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)

      I can post entire error if that helps, but i am assuming i am simply putting this declaration in the wrong file, anyone had success with this, and if so how?

      Thanks much

      Cam

      Jboss 3.0.7 Tomcat 4.1.24 Bundle