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

massoo do-not-reply at jboss.com
Tue Dec 26 20:34:05 EST 2006


hi,

whenever I try to get the stats from the command line twiddle as :
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 errors on the conosle
anonymous wrote : 01:24:48,315 ERROR [Twiddle] Exec failed
  | java.lang.reflect.UndeclaredThrowableException
  |         at $Proxy0.getAttributes(Unknown Source)
  |         at org.jboss.console.twiddle.command.GetCommand.execute(GetCommand.java:156)
  |         at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:290)
  | Caused by: java.lang.ClassNotFoundException: org.jboss.management.j2ee.statistics.StatelessSessionBeanStatsImpl (no security manager: RMI class loader disabled)
  |         at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371)
  |         at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
  |         at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
  |         at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
  |         at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
  |         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)
  |         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  |         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
  |         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  |         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  |         at java.util.ArrayList.readObject(ArrayList.java:591)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)
  |         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  |         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  |         at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
  |         at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:120)
  |         at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
  |         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
  |         at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:51)
  |         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
  |         at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:59)
  |         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
  |         ... 3 more

What should i do to solve this ?
Regards
Shann

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

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



More information about the jboss-user mailing list