0 Replies Latest reply on Feb 10, 2004 7:34 AM by Nagurva Reddy

    Communicating to EJB through IIOP protocol in Java Client

    Nagurva Reddy Newbie


      i deployed a HelloBean ejb on Jboss 3.2.3 with jboss.xml modified to use invoker IIOP and stateless-rmi-invoker. But when i tried to invoke a client using the following code, i get an exception saying

      Exception Found:javax.naming.NameNotFoundException: iiop not bound

      can any one suggest where did i go wrong ??

      My Code Snippet>>>>>


      Context ctx=new InitialContext(prop);

      Object obj = ctx.lookup("HelloHome");

      HelloHome home=(HelloHome)javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class);

      My Code Snippet>>>>>

      thx for ur help