Hi,

I was able to use an EJB on a remote machine from a client application
without any problem setting the right properties into a jndi.properties file
as follows:

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

But I wasn't able to do the same from a servlet or JSP. I tried to put the
same jndi.properties file in every dir of OrionServer but I get always the
same javax.naming.NameNotFoundException

What is wrong?
Which is the correct way to do this?

Any help appreciated

Luciano Montebove
Finsiel
[EMAIL PROTECTED]

Reply via email to