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 java.security.AccessController.doPrivileged(Native Method)
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.
Ok, I solved the problem.
I was trying to access a session bean placed in a JBoss 3.02 while my client had (in its classpath) the client jars of the JBoss 3.01.
The different versions was the problem.