Hi John,

>I'm trying to set Orion up to run my jsp pages on one box and my beans on
>another box. Where does the jndi.properties file go so that my default
>InitialContext correctly points to the other box?  I'm deploying to a
>directory instead of a .war file.  I've tried putting under my web-root
>directory, but that did not seem to work.  Is there some special place to
put >it change the default InitialContext?

You don't need a jndi.properties file. On the server where you want the web
part of the application you have to add your ejb server in rmi.xml.
An example:
<server host="yourEJBHost" username="admin" password="123" />

Then you have to add the remote and home interfaces of you EJBs in the
classpath of the web app and say to Orion to use remote EJBs modifying the
ejb-module tag in orion-application.xml:
An example:
<ejb-module remote="true" path="yourmodule-ejb" /> 

Hope this help

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø
Luciano Montebove - Software Architect - Finsiel S.p.a
E-mail: [EMAIL PROTECTED]  Phone:  (+39) 06-4142-7663
"If you don't fail now and again, it's a sign you're playing it safe"
-W. Allen
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø


>Another question: The url in the jndi.properties files under the orion/demo
>directory all have "ormi://localhost/ejbsamples"  Is ejbsamples the
>application name as defined in the server.xml file?
>
>       Thanks,
>                       John

Reply via email to