I have 2 stateless session EJB's, Sender and Receiver. The Sender EJB is deployed on machine M1 and the receiver EJB is deployed on machine
M2. Sender EJB on M1 looks up for the Receiver EJB on M2.
If the Sender and Receiver EJBs are both deployed on machine M1, then the Sender EJB tries to optimize the EJB call and the local Receiver EJB (M1) method is invoked.
This problem is not present in 3.2.2
Please let me know if anybody else has faced a similar problem with jboss 4.0.1?