The sample properties assume that valid certificate information has already been loaded into both the secured client and the secured server as in the <install_dir>/examples/vbroker/security/bank_ssl example.Specify a real port (for example, iiop_port=683) when there is no port translation, and 0 (for example, hiop_port=0) if the listener port is disabled.Server's properties: Use only one of the following two methods.Server's properties: Use only one of the following two methods.Server's properties: Use only one of the following two methods.The NAT information of Firewall2 does not need to be configured. The proxyHost and proxyPort specify only the first NAT fake host and fake port. For the firewall component and the firewall path, only specify the first NAT device.If the client is an applet that wants to use IIOP instead of HTTP Tunneling, use the following configuration, do not specify the property <param name=”vbroker.orb.alwaysTunnel” value=”true”>:vbroker.orb.gatekeeper.ior=http://gatekeeper:8088/gatekeeper.iorUse the client and server settings in Scenario 2.4 and add the following to the client's properties:The interior port in-iiop is automatically enabled when callback is enabled. Only for secured callback, you need to add the SCM for in-ssl, ex-ssl and ex-hiops as required.
vbroker.se.exterior.scm.ex-hiop.listener.proxyPort=32001
<!DOCTYPE web-app PUBLIC ”-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN” ”http://java.sun.com/dtd/web-app_2_3.dtd”>
<web-app>
<display-name>GateKeeper Servlet</display-name>
<description>GateKeeper as a servlet example</description>
<servlet>
<servlet-name>GateKeeperServlet</servlet-name>
<servlet-class>
com.inprise.vbroker.gatekeeper.servlet.Servlet
</servlet-class>
<load-on-startup />
<init-param>
<param-name>
vbroker.se.exterior.scm.ex-hiop.listener.path
</param-name>
<param-value>
/gatekeeper_servlet/servlet
</param-value>
</init-param>
<init-param>
<param-name>vbroker.agent.port</param-name>
<param-value>PUT YOUR OSAGENT PORT</param-value>
</init-param>
<!-- Some setups may not allow UDP broadcast to locate osagent
In that case, uncomment and set the following correctly
<init-param>
<param-name>vbroker.agent.address</param-name>
<param-value>
PUT IP OF THE MACHINE, ON WHICH OSAGENT IS RUNNING
</param-value>
</init-param>
-->
<init-param>
<param-name>vbroker.gatekeeper.referenceStore</param-name>
<param-value>
webapps/gatekeeper_servlet/gatekeeper.ior
</param-value>
</init-param>
<init-param>
<param-name>vbroker.se.exterior.scms</param-name>
<param-value>ex-iiop,ex-hiop</param-value>
</init-param>
<!-- If you want Visibroker log messages, uncomment this. Log messages will
go to the specified file below, relative to Tomcat root install dir
<init-param>
<param-name>vbroker.orb.debug</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>vbroker.orb.logLevel</param-name>
<param-value>7</param-value>
</init-param>
<init-param>
<param-name>vbroker.orb.warn</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>vbroker.orb.logger.output</param-name>
<param-value>webapps/gatekeeper_servlet/log.txt</param-value>
</init-param>
-->
<init-param>
<param-name>
vbroker.se.exterior.scm.ex-iiop.listener.type
</param-name>
<param-value>Disabled-IIOP</param-value>
</init-param>
<init-param>
<param-name>
vbroker.se.exterior.scm.ex-hiop.listener.port
</param-name>
<param-value>8080</param-value>
</init-param>
<init-param>
<param-name>
vbroker.se.exterior.scm.ex-iiop.listener.port
</param-name>
<param-value>0</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>GateKeeperServlet</servlet-name>
<url-pattern>/servlet</url-pattern>
</servlet-mapping>
</web-app>