Created On: 01 Febraury 2011
Problem
- Product Name: VisiBroker
- Product Version: ALL
- Product Component: Gatekeeper
- Platform/OS Version: ALL
The client encounters CORBA::INTERNAL exception when this property is enabled:
orbProp.put("vbroker.orb.dynamicLibs", "com.inprise.vbroker.firewall.Init" );
Testcase:
Steps to reproduce the issue (Initialize the environment using vbroker.sh):
1. Start the /bank_portable server
vbj -Dvbroker.agent.enableLocator=false Server
2. Start the client with the following properties:
vbroker.orb.dynamicLibs=com.inprise.vbroker.firewall.Init
vbroker.agent.enableLocator=false
vbroker.orb.alwaysProxy=true
vbroker.orb.gatekeeper.ior=file:.\\gatekeeper1.ior
vbroker.locator.ior=file:.\\gatekeeper1.ior
vbj -DORBpropStorage=client.props Client
3. CORBA::INTERNAL exception is thrown.
orbProp.put("vbroker.orb.dynamicLibs", "com.inprise.vbroker.firewall.Init" );
Testcase:
Steps to reproduce the issue (Initialize the environment using vbroker.sh):
1. Start the /bank_portable server
vbj -Dvbroker.agent.enableLocator=false Server
2. Start the client with the following properties:
vbroker.orb.dynamicLibs=com.inprise.vbroker.firewall.Init
vbroker.agent.enableLocator=false
vbroker.orb.alwaysProxy=true
vbroker.orb.gatekeeper.ior=file:.\\gatekeeper1.ior
vbroker.locator.ior=file:.\\gatekeeper1.ior
vbj -DORBpropStorage=client.props Client
3. CORBA::INTERNAL exception is thrown.
Resolution:
The client application was forced to connect to Server through a non-existent gatekeeper with the following properties:
vbroker.orb.alwaysProxy=true
vbroker.orb.gatekeeper.ior=file:/iscp/osg/dat/gatekeeper2.ior
vbroker.locator.ior=file:/iscp/osg/dat/gatekeeper2.ior
Solution:
1. If the Client needs to make a direct connection to Server without the gatekeeper, remove the above firewall properties from the Client.
2. If the Client needs to connect through gatekeeper, copy a valid gatekeeper ior to the Client.
vbroker.orb.alwaysProxy=true
vbroker.orb.gatekeeper.ior=file:/iscp/osg/dat/gatekeeper2.ior
vbroker.locator.ior=file:/iscp/osg/dat/gatekeeper2.ior
Solution:
1. If the Client needs to make a direct connection to Server without the gatekeeper, remove the above firewall properties from the Client.
2. If the Client needs to connect through gatekeeper, copy a valid gatekeeper ior to the Client.
Incident #2488008
Old KB# 33100
#Security
#CORBA-INTERNAL
#firewall
#alwaysProxy
#VisiBroker
#gatekeeper