2 Replies Latest reply on Apr 18, 2005 3:19 PM by Julien Martin

    java.lang.IllegalStateException: Failed to find method for h

    Julien Martin Expert

      Hello,
      I am having problems with jboss. I get the following error:

      0.1 - Trying to instantiate a WebApp Trusted Entity Session with login:admin pass: invalid
      
      java.lang.IllegalStateException: Failed to find method for hash:-4497435275304308524
      
       at org.jboss.invocation.MarshalledInvocation.getMethod(MarshalledInvocation.java:367)
      
       at org.jboss.ejb.Container.invoke(Container.java:868)
      
       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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      
       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:249)
      
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      
       at org.jboss.invocation.jrmp.server.JRMPInvokerHA.invoke(JRMPInvokerHA.java:163)
      
       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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      
       at sun.rmi.transport.Transport$1.run(Transport.java:148)
      
       at java.security.AccessController.doPrivileged(Native Method)
      
       at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      
       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:534)
      
       at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
      
       at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
      
       at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
      
       at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      
       at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxyHA.invoke(JRMPInvokerProxyHA.java:173)
      
       at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:163)
      
       at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:103)
      
       at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
      
       at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
      
       at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
      
       at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:91)
      
       at $Proxy2.trustedEntityLogin(Unknown Source)
      
       at TrustedEntityManagement.main(TrustedEntityManagement.java:154)
      
      Exception in thread "main"
      
      

      The problem is that I get this on one machine and not on another. Can anyone help?

      Thanks in advance,

      Julien.