0 Replies Latest reply on Jan 30, 2002 1:07 AM by Robin Cavanaugh

    Embedded Catalina, Access Logs and Configuration

    Robin Cavanaugh Newbie

      Hi All,

      I am trying to get the Embedded Catalina service to produce standard web access logs using the AccessLogValve (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html#Access%20Log%20Valve). According the the jboss manual, you can include within the XML for the MBean a config element that will be loaded by the mbean as part of the configuration.

      What I would like to do is:

      <mbean code="org.jboss.web.catalina.EmbeddedCatalinaServiceSX" name="DefaultDomain:service=EmbeddedTomcat"
      80





      Of course, this does not work. I have tried including more (Server, Engine, Connector, etc.) of the configuration to no avail. I have also been tried both the form (which throws a SAX exception) as well as the form (which seems to ignore the code altogether).

      I would imaging that using this config element of the MBean in the jboss.jcml would be very useful for other confg as well.

      Has anybody got this working? Any suggestions would be greatly appreciated.

      Thanks,

      Robin.