1 Reply Latest reply on Sep 5, 2002 1:06 PM by Rafael Muñoz

    Remote access to a SessionEJB

    Rafael Muñoz Newbie

      Hi everybody.

      Please be patient, I'm new in JBoss and EJB. I have some session beans working in the container. I have test clients too, that run fine in the same machine in which the server is running. But when I try to run those test clients programs in a different machine, I recive an Exception like that:

      java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
      java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)

      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)


      I suposse that is normal because i will have to do something special when the client and the server are in different machines, but i don't know what it is.

      Could anybody help me, for example: giving me an example of a well-done client.

      thanks everybody.