0 Replies Latest reply on Jan 24, 2006 10:41 AM by Feraudet Cyril

    Error when using twiddle

    Feraudet Cyril Newbie

      Hi all,

      I've an error when I want to get Member from jboss.cache:service=TomcatClusteringCache :

      # ./twiddle.sh get 'jboss.cache:service=TomcatClusteringCache' Members
      
      16:31:04,672 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.jgroups.stack.IpAddress (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:631)
       at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)
       at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:200)
       at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
       at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
       at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)
       at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
       at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
       at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
       at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
       at java.util.ArrayList.readObject(ArrayList.java:547)
       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:324)
       at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
       at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
       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
      


      When I see the jmx-console I can see Members value ...

      I can get some other value without probleme for this value :

      # ./twiddle.sh get 'jboss.cache:service=TomcatClusteringCache' SyncReplTimeout
      
      SyncReplTimeout=15000
      


      Have you an idea ?

      Thanks,

      Cyril Feraudet