2 Replies Latest reply on Aug 13, 2007 2:55 PM by Tonio Caputo

    EJB remore client in 4.2

    Tonio Caputo Newbie

      Hi everybody,

      I was working with 4.0.5-EJB3 version, all working fine, and I decided
      to switch to 4.2.1, both of them with jboss-messaging (now 1.3.0-GA).

      Configuration OK
      Starting OK

      But when I tried to run my client, connecting to an EJB3 remotely
      a strange error apeared:

      Exception in thread "main" java.lang.NoClassDefFoundError


      No message appears in JBOSS logs, really don't know where to look for.

      Any help will be greatly welcomed

      Here is the stack-trace:
       [java] Exception in thread "main" java.lang.NoClassDefFoundError
       [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
       [java] at org.jboss.ejb3.EJBContainer.construct(EJBContainer.java:511)
       [java] at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:66)
       [java] at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:61)
       [java] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
       [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       [java] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
       [java] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
       [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       [java] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
       [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       [java] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
       [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       [java] at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:278)
       [java] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
       [java] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
       [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
       [java] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)
       [java] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:369)
       [java] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)
       [java] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
       [java] at org.jboss.remoting.Client.invoke(Client.java:1550)
       [java] at org.jboss.remoting.Client.invoke(Client.java:530)
       [java] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
       [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       [java] at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
       [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       [java] at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
       [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       [java] at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
       [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       [java] at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)
       [java] at $Proxy0.obtainNewSessionId(Unknown Source)