Questo contenuto non è disponibile nella lingua selezionata.
6.3.6. The ORBInitialContextFactory
When using Sun's CosNaming it is necessary to use a different naming context factory from the default. CosNaming looks for the ORB in JNDI instead of using the the ORB configured in
deploy/iiop-service.xml?. It is necessary to set the global context factory to org.jboss.iiop.naming.ORBInitialContextFactory, which sets the ORB to JBoss's ORB. This is done in the conf/jndi.properties file:
It is also necessary to use
ORBInitialContextFactory when using CosNaming in an application client.