Hello Sridhar,

What  you can  try is

   Properties p = new Properties();


p.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationClient
InitialContextFactory");
            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);

in the CartClient application.


Shailesh


----- Original Message -----
From: Sridhar Manickam <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Sunday, August 20, 2000 12:23 AM
Subject: Client : Communication error


> Hi,
>
> After successfully deploying the cart demo bean on the server, Iam
> running the CartClient and get the following error
>
> Communication error: Need to specify class name in environment or system
> property: java.naming.factory.initial
>
> Could someone tell me what Iam doing wrong. I pretty much followed the
> instructions from the orion docs.
>
>
> Thanks,
> -Sridhar


Reply via email to