Hello,
Has anyone had any luck getting _any_ Valves to work using the
EmbeddedCatalinaServiceSX? Specifically, I am trying to get the
AccessLogValve to work.
I have tried to configure the mbean in jboss.jcml using several variations
on the following theme to no avail, including:
<mbean code="org.jboss.web.catalina.EmbeddedCatalinaServiceSX"
name="DefaultDomain:service=EmbeddedTomcat" >
<attribute name="Port">80</attribute>
<attribute name="Config">
<Valve className="org.apache.catalina.valves.AccessLogValve"
prefix="localhost_access_log." suffix=".txt" pattern="common"
directory="/opt/jboss/jboss/log"/>
</attribute>
</mbean>
...or...
<mbean code="org.jboss.web.catalina.EmbeddedCatalinaServiceSX"
name="DefaultDomain:service=EmbeddedTomcat" >
<attribute name="Config">
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Service name="Embedded-Tomcat">
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="80" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443" acceptCount="10" debug="0"
connectionTimeout="60000"/>
<Engine name="EmbeddedTC" defaultHost="localhost" debug="0">
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true">
<Valve
className="org.apache.catalina.valves.AccessLogValve"
prefix="localhost_access_log." suffix=".txt"
pattern="common"
directory="/opt/jboss/jboss/log"/>
</Host>
</Engine>
</Service>
</Server>
</attribute>
</mbean>
Any help would be appreciated.
Thanks,
Robin Cavanaugh
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user