Hi, folks.  I find that I need to use this property:

 
java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory

instead of the ApplicationClientInitialContextFactory.  This is for 
clients that are running outside of Orion; separate programs that 
talk to the Orion EJBs.  I needed to have orion.jar in my classpath 
for these clients, as well.

Don't know if this information will help you, Tom, but I thought I'd 
pass it along for others who might be struggling with making clients 
talk to beans.

-David Mankin


At 8:40 AM +0000 7/16/00, Tom MAK wrote:
>Hi Stephan,
>
>Are you refering the following piece of documentation, I will give 
>it a try.  Do I need to copy any Orion specific jar files to the 
>servlet clients machine?
>
>Thanks and regards,
>Tom MAK
>
>What JNDI settings do I need if I want to access the InitialContext 
>for an application client?
>
>You need to specify these properties.
>
>java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory
>java.naming.provider.url=ormi://<hostname>/<application-name>
>java.naming.security.principal=<username>
>java.naming.security.credentials=<password>
>
>Of course you need to replace the values in <> with real values.
>
>>From: Stephan Schmidt <[EMAIL PROTECTED]>
>>To: Orion-Interest <[EMAIL PROTECTED]>
>>Subject: Re: Can I separate EJB Server and Servlet Server ???
>>Date: Sat, 15 Jul 2000 15:14:03 +0200
>>
>>The parameters for JNDI usage with Orion
>>are in the Orion FAQ.
>>Use your servlets as normal EJB clients.
>>
>>-stephan
>>
>>At 11:50 15.07.00 +0000, Tom MAK wrote:
>>>Hi All,
>>>
>>>I am new to EJB and Orion.  What I am trying to do is to seperate EJB
>>>Server and Servlet Server into different machines.  Therefore, one
>>>dedicated machine for Servlet Server (Resin) and one for Orion.  Can I do
>>>this with Orion???
>>>
>>>Can I somehow make the servlet server communicate with the EJB server thru
>>>JNDI?  What JNDI implementation should I install in the servlet server then?
>>>
>>>Or I can do this thru RMI only at this moment???
>>>
>>>Thanks in advance!
>>>
>>>regards,
>>>Tom MAK
>>>
>>>
>>>
>>>________________________________________________________________________
>>>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>>>
>>
>>
>
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Reply via email to