0 Replies Latest reply on May 9, 2002 4:22 PM by terry_ray

    proxy.ClientContainer.invoke exception in RC2

    terry_ray

      Hi, I've been using 3.0 alpha & beta for awhile. Recently I've tried upgrading to RC2. I'm getting a strange exception on the client jvm (no exception appears on the server side). I have recompiled all my server and client (this is a SWING app) source against the RC2 JAR files and redeployed the ejb jar. The deploy works fine. I also have a custom JAAS LoginModule which appears to be authenticating the user correctly when create is invoked on the home interface. It is not until I actually try to invoke a method on the remote interface of this session bean that I get the exception. The stack trace is:

      java.rmi.ServerException: RemoteException occurred in server thread;
      nested exception is:
      java.rmi.ServerException: null
      Embedded Exception
      null; nested exception is:
      javax.ejb.EJBException: null
      Embedded Exception
      null
      java.rmi.ServerException: null
      Embedded Exception
      null; nested exception is:
      javax.ejb.EJBException: null
      Embedded Exception
      null
      javax.ejb.EJBException: null
      Embedded Exception
      null
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
      at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      at $Proxy1.getPrivilegeCommandsAndMenusForUser(Unknown Source)
      at com.mydomain.desktop.delegate.MenuDelegate.getPrivilegeCommandsAndMenus
      ForUser(Unknown Source)

      Here is the batch file I'm using to launch the SWING client:

      set CLASSPATH=%CLASSPATH%;.\lib\DesktopClient.jar
      set CLASSPATH=%CLASSPATH%;.\lib\log4j.jar
      set CLASSPATH=%CLASSPATH%;.\lib\jbosssx-client.jar
      set CLASSPATH=%CLASSPATH%;.\lib\jnp-client.jar
      set CLASSPATH=%CLASSPATH%;.\lib\jaas.jar
      set CLASSPATH=%CLASSPATH%;.\lib\jboss-j2ee.jar
      set CLASSPATH=%CLASSPATH%;.\lib\cache.jar
      set CLASSPATH=%CLASSPATH%;c:\desktopGUI
      ECHO %CLASSPATH%
      java -Xms32m -Xmx32m DesktopApplication

      I've noticed some of the JAR files have changed from beta to RC. I am getting all the client JARs for the client from the jboss-3.0.0RC2/client directory. The other JARs (DesktopClient.jar and cache.jar) are part of my app.

      If anyone has any ideas or thoughts, please share. BTW, I may have already implied this but all of this code has been running great in 3.0 alpha and beta. Thanks.

      Terry