[jboss-user] [Management, JMX/JBoss] - Re: JBoss LoggingMonitor -

vinothkumar do-not-reply at jboss.com
Mon Mar 30 05:28:34 EDT 2009


Hi Dimitris,

           Thanks for your reply. Here is the descriptor.


<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE server PUBLIC
  |     "-//JBoss//DTD MBean Service 4.0//EN"
  |     "http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd">
  | 
  | <server>
  | 
  |    <mbean code="org.jboss.services.loggingmonitor.LoggingMonitor"
  |           name="jboss.monitor:type=LoggingMonitor,name=SampleWSMonitor">
  | 
  | 
  |       <attribute name="Filename">${jboss.server.log.dir}/SampleWS.log</attribute>
  |       <attribute name="AppendToFile">false</attribute>
  |       <attribute name="RolloverPeriod">DAY</attribute>
  |       <attribute name="MonitorPeriod">5000</attribute>
  |       
  |        <attribute name="MonitoredObjects">
  |           <configuration>
  |              <monitoredmbean name="jboss.ws.SampleWS"
  |                              logger="com.sample">
  | 		<attribute>RequestCount</attribute>
  | 		<attribute>ResponseCount</attribute>
  | 		<attribute>FaultCount</attribute>
  |              </monitoredmbean>
  |           </configuration>
  |        </attribute>
  | 
  |       <depends>jboss.ws.SampleWS</depends>
  |    </mbean>
  |    
  | </server>
  | 



Thanks,
Vinoth Kumar.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221879#4221879

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221879



More information about the jboss-user mailing list