Tryed but now I get the following error: Error initializing server: Error parsing rmi-server config at file:/C:/orion/config/rmi.xml: Unknown deployment tag in file:/C:/orion/config/rmi.xml: <server>. I'm using Orion/1.0rc1 (Internal build 5). Next step? :) Luciano Montebove Finsiel [EMAIL PROTECTED] -----Messaggio originale----- Da: Magnus Stenman [mailto:[EMAIL PROTECTED]] Inviato: luned� 17 aprile 2000 16.48 A: Montebove Luciano; Orion-Interest Oggetto: Re: Servlet/JSP and EJBs on different machines Add a <server> to the rmi.xml on the "web" machine, the syntax (from the docs): <server host="the.remote.server.com" password="123" port="23791" username="admin" /> host - Hostname of the remote server. password - The password to log in with. port - Port of the remote server, default is 23791. username - The username to log in with. Hope it helps. :) /Magnus Stenman, the Orion team ----- Original Message ----- From: "Montebove Luciano" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Monday, April 17, 2000 4:22 PM Subject: Servlet/JSP and EJBs on different machines > 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]
