Hello, subject says it all, I would like to call an RMI client from a Stateless Session EJB such as:
Naming.lookup("//" + HOST + ":" + PORT + "/" + NAME);
Each time Naming.lookup is called, I get the following exception:
java.rmi.ConnectIOException: non-JRMP server at remote endpoint
I suspect this is because JBoss is hijacking/borrowing RMI for use in JNDI lookups, but I really don't know what I am talking about.
I am using jdk1.4.2_09, JBoss 3.2.3
(sorry if I overlooked something in the documentation, I did try an honest search)
Has anyone done this?
Should I go the Message Driven Bean route?