I have the following connecting:

java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont
extFactory
java.naming.provider.url=ormi://webconscius/
java.naming.security.principal=admin
java.naming.security.credentials=XXXX

webconscius is our (Intranet) machine running Orion. XXXX is the password
for admin on Orion.

BUT...

What should it write as the name of the Home interface in lookup() and class
narrow()? Ex. for the ATM example. The full classname or some "ejb/account"
name?

----- Original Message -----
From: "Ray" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, July 27, 2000 2:47 PM
Subject: EJBs through console applications


> Hi there ...
>
> I'm trying to adapt a tutorial so that I can access the EJB through a
> console application (not from a servlet sitting in the same ear file).
>
> Could you tell me what values I have to put in for:
>
> java.naming.factory.initial
> java.naming.provider.url
>
>
> The other problem is that I have the ear file in the directory
>
> /myEJBs/deploy/hello.ear
>
> but Orion always looks in
>
> d:/orion/config/myEJBs/deploy/hello.ear
>
> even though I have put a setting in the server.xml file:
>
> <application name="hello" path="/myEJBs/Hello/deploy/Hello.ear" />
>
> What have I forgotten to do?
>
> Thanks.
>
>
>


Reply via email to