Hi,

using Pax web I fail to supply all mbeans with data. 
I try to monitor jetty sessions and connections 
(ServerConnectionStatistics) via JMX. I managed to see the mbeans in JMX 
but they aren't supplied with data.
On the other side the StatisticsHandler, which displays request statisttics 
works fine.

jetty.xml

<Configure id="Server" class="org.eclipse.jetty.server.Server">

...

<Get name="handler">
    <Call name="addHandler">
        <Arg>
            <New class="org.eclipse.jetty.server.handler.StatisticsHandler">
            </New>
        </Arg>
    </Call>
</Get>


<Call name="addBean">
    <Arg>
        <New id="ServerConnectionStatistics"
             class="org.eclipse.jetty.server.ServerConnectionStatistics"/>
    </Arg>
</Call>

<!-- Enable Connection Statistics -->
<Call name="addBean">
    <Arg>
        <New id="ConnectionStatistics" 
class="org.eclipse.jetty.io.ConnectionStatistics"/>
    </Arg>
</Call>


</Configure>



-- 
-- 
------------------
OPS4J - http://www.ops4j.org - ops4j@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ops4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to