0 Replies Latest reply on Apr 9, 2002 11:51 AM by wendy

    javax.naming.NameNotFoundException:

    wendy Newbie

      hi, all
      here is my problem.
      I am using orion as my application server. my clint app is look like following:
      jndiContext = new InitialContext();
      Object ref = jndiContext.lookup("java:comp/env/ejb/CabinHome");
      CabinHome home = (CabinHome) PortableRemoteObject.narrow(ref,CabinHome.class);

      it gives me a javax.naming.NameNotFoundException, can anyone please help me what i should do to solve this program?