I have got a strange little problem with JBoss 2.4.4 / Tomcat 3.2.3:
On machine 1, there are EJB_A and EJB_B
On machine 2, there is EJB_C.
EJB_B retrieves a remote interface of EJB_C. EJB_B can call methods on EJB_C, and it works fine.
Then, EJB_B passes the remote interface to EJB_A. When EJB_A tries to call methods on the remote interface, I get a NullPointer exception.
This seems to indicate that two RMI hops are too much to handle - anyone got any ideas?
Just as a follow up:
If EJB_B obtains an EJB handle from the remote interface of EJB_C, and passes *that* to EJB_A, everything works fine.
Seems odd to me - or am I missing some basic RMI stuff?