1 Reply Latest reply on Apr 19, 2006 9:09 AM by Ramya Grama

      [java] java.rmi.ServerException: RemoteException occurred

    Tejinder Rawat Newbie

      when running my client application at console i am getting the following type of error:

      [java] java.rmi.ServerException: RemoteException occurred in server thread;
      nested exception is:
      [java] java.rmi.ServerException: EJBException:; nested exception is:
      [java] javax.ejb.EJBException: null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null
      [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
      :292)
      [java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
      .java:460)
      [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
      ansport.java:701)
      [java] at java.lang.Thread.run(Thread.java:534)
      [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
      (StreamRemoteCall.java:247)
      [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
      l.java:223)
      [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
      [java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unkn
      wn Source)
      [java] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(
      RMPInvokerProxy.java:118)
      [java] at org.jboss.invocation.InvokerInterceptor.invokeInvoker(Invoker
      nterceptor.java:163)
      [java] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterce
      tor.java:103)
      [java] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInte
      ceptor.java:46)
      [java] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityIntercepto
      .java:55)
      [java] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(Statel
      ssSessionInterceptor.java:97)
      [java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:9
      )
      [java] at $Proxy1.registerUser(Unknown Source)
      [java] at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest.<i
      it>(Unknown Source)
      [java] at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest.ma
      n(Unknown Source)
      [java] Caused by: java.rmi.ServerException: EJBException:; nested exception
      is:
      [java] javax.ejb.EJBException: null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null
      [java] at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInter
      eptor.java:352)
      [java] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.ja
      a:196)
      [java] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(Pr
      xyFactoryFinderInterceptor.java:122)
      [java] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContaine
      .java:624)
      [java] at org.jboss.ejb.Container.invoke(Container.java:870)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
      orImpl.java:39)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
      odAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:324)
      [java] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(Reflected
      ispatcher.java:144)
      [java] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      [java] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      [java] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBean
      nvoker.java:249)
      [java] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.ja
      a:642)
      [java] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerActio
      .invoke(JRMPInvoker.java:805)
      [java] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvok
      r.java:406)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
      orImpl.java:39)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
      odAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:324)
      [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
      :261)
      [java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
      .java:460)
      [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
      ansport.java:701)
      [java] at java.lang.Thread.run(Thread.java:534)
      [java] Caused by: javax.ejb.EJBException: null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null; CausedByException is:
      [java] null
      [java] at au.com.chimo.nextidserver.service.AdminNextIDServiceBean.regi
      terUser(Unknown Source)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
      orImpl.java:39)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
      odAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:324)
      [java] at org.jboss.invocation.Invocation.performCall(Invocation.java:3
      5)
      [java] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.
      nvoke(StatelessSessionContainer.java:214)
      [java] at org.jboss.resource.connectionmanager.CachedConnectionIntercep
      or.invoke(CachedConnectionInterceptor.java:185)
      [java] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.inv
      ke(StatelessSessionInstanceInterceptor.java:113)
      [java] at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke
      ServiceEndpointInterceptor.java:51)
      [java] leaving main in EJBRegisterUserTest ........
      [java] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallVa
      idationInterceptor.java:48)
      [java] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(Abstra
      tTxInterceptor.java:105)
      [java] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Tx
      nterceptorCMT.java:313)
      [java] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCM
      .java:146)
      [java] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInte
      ceptor.java:122)
      [java] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.ja
      a:192)
      [java] ... 25 more