Hello Gerard,

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...

The first line tells JNDI to use the CosNaming provider. The second
line specifies the IOR of the CORBA naming service. It should contain
the naming service IOR printed by the JBoss server at boot time. You 
can also find this IOR in the server.log file written out by JBoss,
in the directory $JBOSS_HOME/server/default/log.

URLs of the form iiop://address:port are not supported yet, so you 
should use the IOR instead.

Regards,

Francisco

On Thu, 30 May 2002, Gerard BUNEL wrote:

> Hello,
> 
> I've made some applications and EJB using BEA WebLogic on top of
> RMI/IIOP.
> I now need to test the deployment of such applications using JBoss with
> its RMI/IIOP features.
> So I've downloaded the tarball for JBoss - RMI/IIOP, compiled it, and
> run it. and it works.
> But I'm trying to figure out what are the configuration files I need to
> modify so that I can
> retreive an IIOP reference using JNDI (by the mean of an URL of the form
> iiop://address:port).
> 
> Does someone knows ?
> 
> 
> --
> [EMAIL PROTECTED] - Atlantide - http://www.ago.fr/atlantide/
> Technopole Brest Iroise BP 80802 - Site du Vernis - 29608 Brest cedex -
> France
> Tel. : +33 2 98 05 43 21 - Fax. : +33 2 98 05 20 34
> e-mail: [EMAIL PROTECTED]
> Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
> Tel. : +33 2 99 84 15 84 - Fax : +33 2 99 84 15 85
> e-mail: [EMAIL PROTECTED]
> 
> 
> 
> _______________________________________________________________
> 
> 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
> 


_______________________________________________________________

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