On Fri, 31 May 2002, Gerard BUNEL wrote:

> Thanks Francisco,
> 
> Just another question. You said:
> 
> >JNDI will give you IIOP references to EJBHomes if you tell it to
> >use the CosNaming JNDI provider and specify the IOR for the CORBA
> >naming service EJBHomes are registered with. You can do this by
> >using a client-side jndi.properties with two lines:
> 
> >java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory
> >java.naming.provider.url=IOR:...some_very_long_string_of_hex_digits...
> 
> Is there a way to specify this IOR by another mean than harcoding it in
> the jndi.properties.
> I should like to have it available each time JBOss is started and not to
> have to modify jndi.properties by hand

Well, this IOR does not change across JBoss server activations. (Unless
you move the server to other host or change OAPort in jacorb.properties,
of course...) So you hardcode the IOR just once. The hardcoded IOR will
still work for subsequent activations of the server.

Best,

Francisco


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to