[jboss-user] [Management, JMX/JBoss] - how to retrieve EJB Invocation Statistics with twiddle.sh?
netcetera
do-not-reply at jboss.com
Wed Nov 1 12:51:57 EST 2006
hi there
i am desperately trying to access invocation statistics with the help of the twiddle.sh command line tool.
i can access the bean stats, but not the invocation statistics.
accessing the bean stats looks like this:
twiddle.sh -s jnp://localhost:1099 get jboss.management.local:name=ejb/Dummy,J2EEServer=Local,EJBModule=dummy.jar,J2EEApplication=dummy.ear,j2eeType=StatelessSessionBean stats
this gives me some bean statistics, however, i am unsucessful so far while trying to access the invocation statistics, which can be seen administrative console of jboss...
i tried this:
twiddle.sh -s jnp://localhost:1099 get jboss.j2ee:service=EJB,jndiName=ejb/Dummy InvokeStats
but all i get is this exception:
18:49:49,679 ERROR [Twiddle] Exec failed
java.io.NotSerializableException: org.jboss.invocation.InvocationStatistics
so this statistics are not serializable... is there any other way to collect the invocation statistics by twiddle.sh?
many thanx, ramon
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982426#3982426
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982426
More information about the jboss-user
mailing list