Skip to main content

Problem:

VBE: How to use naming service to obtain gatekeeper object reference in VBC?

Resolution:

Problem Description:

Product: VBRT/VBC/VBE
Platform: All
JDK version: N/A
Compiler version: N/A
Component: vbconsole

How to use naming service to obtain gatekeeper object reference in VBC?

Resolution:

It is possible to user the naming service to obtain the gatekeeper ior. It would require the following changes:

On the Server/Gatekeeper/Firewall side:
-Start Gatekeeper
-Start Naming Server on fixed port
-User "nsutil" to register the gatekeeper
-Open the NS port on the firewall

On the Client side:
-Use "corbaloc" to contact the naming server
-Resolve the gatekeeper ior.
-Use "object_to_string" to stringify the ior.
-Use properties manager to set the following properties:
vbroker.orb.alwaysProxy=true
vbroker.agent.enableLocator=false
vbroker.locator.ior=
vbroker.orb.gatekeeper.ior=

Old KB# 26676

#Security
#VisiBroker