1 Reply Latest reply on Dec 15, 2005 7:05 PM by jasonbernard

    RMI Client in Stateless Session EJB

    jasonbernard


      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)