users@glassfish.java.net

Re: Is it possible to use Glassfish as COSNaming service

From: <glassfish_at_javadesktop.org>
Date: Fri, 17 Aug 2007 20:15:20 PDT

If you are using the default service provider in the JDK, it does not know where
the app server is listening for requests (and thus the address of the GlassFish
root naming context). A partial solution is to create an ORB instance
with ORBInitialHost and ORBInitialPort set to point to the GlassFish instance,
and then pass that ORB instance to JNDI through a property (the name of which
I cannot remember at the moment). But this will only allow very simply IIOP
communications with the app server. If you want security (CSIv2) or
IIOP failover and load balancing, you must use the appserver jar file to get
those capabilities. You still need to set the host and port in that case as well.
[Message sent by forum member 'kcavanaugh' (kcavanaugh)]

http://forums.java.net/jive/thread.jspa?messageID=231466