create a file called jndi.properties and put it in your class path.
the content of the the JNDI should look something like this.
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont
extFactory
java.naming.provider.url=ormi://localhost/MyApp
java.naming.security.principal=admin
java.naming.security.credentials=123
where MyApp is replaced by the name of your application, the name you gave
it when you put an entry in the server.xml file. Also the principal and
credential should match a user in the principals.xml file.
-----Original Message-----
From: Martin Andersson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 19, 2000 9:29 AM
To: Orion-Interest
Subject: Accessin EJB from a stand alone client.
Please give me som pointers. I'm stuck in my work due to this problem...
I would like to know how to use a standalone client to access EJB in Orion.
I have no problem using these beans from a JSP-page within Orion but trying
to access them from outside Orion doesn't work.
It has something to do with the JNDI-context. It would save me a lot of time
if somewhone could tell med how to configure Orion the right way.
Thanks in advance....
/M Andersson