[jboss-user] [Management, JMX/JBoss] - Re: twiddle + java.lang.ClassNotFoundException: org.jboss.ma

massoo do-not-reply at jboss.com
Thu Dec 28 09:35:19 EST 2006


hi,

thanks for the tip. I managed to get through with the initial error of both twiddle.log and ClassNotFoundException. Now when i execute the command :
anonymous wrote : twiddle.sh -s jnp://10.10.25.40:1099 get "jboss.management.local:name=ejb/SeakeyIncomingMessageParser,J2EEServer=Local,EJBModule=SeaKeyBackEndModule.jar,J2EEApplication=ejb.jar,j2eeType=StatelessSessionBean stats"
i get the following error
anonymous wrote : 14:27:19,874 ERROR [Twiddle] Exec failed
  | javax.management.InstanceNotFoundException: jboss.management.local:name=ejb/SeakeyIncomingMessageParser,J2EEServer=Local,EJBModule=SeaKeyBackEndModule.jar,J2EEApplication=ejb.jar,j2eeType=StatelessSessionBean stats is not registered.
  |         at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508)
  |         at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:651)
  |         at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:251)
  |         at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164)
  |         at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
  |         at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
  |         at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
  |         at sun.rmi.transport.Transport$1.run(Transport.java:153)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
  |         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  |         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  |         at java.lang.Thread.run(Thread.java:595)
but if i execute the command anonymous wrote : sh twiddle.sh -s jnp://10.10.25.40:1100 get "jboss.management.local:name=ejb/SeakeyIncomingMessageParser,J2EEServer=Local,EJBModule=SeaKeyBackEndModule.jar,J2EEApplication=ejb.jar,j2eeType=StatelessSessionBean"
i get the output. now my question is how to get stats for a particular module

regards
Prashant

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

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



More information about the jboss-user mailing list