Problem:
- Product Name: VisiBroker for Java
- Product Version: 4.x
- Product Component: Locator Service
- Platform: Solaris 8
- JDK/Compiler Version: JDK 1.3.1_06
ORBdisableLocator not working properly in 4.x
Application sets property ORBdisableLocator=true when initializing ORB, but still gets UDP broadcast.
Resolution:
Properties starting with ORB are the old fashion of property names. New properties start with vbroker. For example, ORBagentPort is now vbroker.agent.port, and ORBdisableLocator is now vbroker.agent.enableLocator (value negated).
Migration from old names to new names happens only for system properties and command line properties. Hence, properties passed as the second parameter of ORB.init will not be translated and are not recognized as properties.
2 possible workaround:
- Set "vbroker.agent.enableLocator" property when initializing ORB
=======================================================
java.util.Properties props = new java.util.Properties();
props.put("vbroker.agent.enableLocator","false");
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args,props);
======================================================= - Start the Server using the property in command line:
>vbj -Dvbroker.agent.enableLocator=false Server
#LocationService
#VisiBroker
#Security