At 16:54 28/02/2001 -0500, JangHo Ki wrote:
>Hello.
>
>I know it has been mentioned in serveral times.
>However, I could not make Orion as EJB server work with Apache & Tomcat.
>A servlet is placed to access ejb at tomcat's WEB-INF/classes directory,
>along with application-client.xml under META-INF directory.
>
>The servlet looks as follows:

*snip*

>                 Hashtable env = new Hashtable();
>                 env.put("java.naming.factory.initial",
>"com.evermind.server.ApplicationClientInitialContextFactory");
>                 env.put("java.naming.provider.url",
>"ormi://localhost:800/hello-planet");
>                 env.put("java.naming.security.principal", "admin");
>                 env.put("java.naming.security.credentials", "admin");

You should set the java.naming.factory.initial property to 
'com.evermind.server.rmi.RMIInitialContextFactory', otherwise the web-app 
behaves like a J2EE client (which requires application-client.xml).

-Joe Walnes


Reply via email to