Title: Communication error: ProductHome not found

    Hi all,

    I' m newbie to EJB. I'm trying to run the ProductClient sample from Orion demos, it�s a standalone client.

    I' ve set the orion.jar, jndi.jar and ejb.jar in the classpath, and the code to obtain the JNDI context:

            Properties p = new Properties();
            p.put(Context.INITIAL_CONTEXT_FACTORY,
                    "com.evermind.server.ApplicationClientInitialContextFactory");
          p.put(Context.PROVIDER_URL,"ormi://localhost/EJBSamples");
          p.put(Context.SECURITY_PRINCIPAL,"admin");
          p.put(Context.SECURITY_CREDENTIALS,"123");
            Context context = new InitialContext(p);

            Object homeObject = context.lookup("ProductHome");

    but when I execute the client it's thrown:

            Communication error: ProductHome not found


    Could anyone help me ?

    Thanks in advance,

Luiz C�sar H. Kuriki


Reply via email to