How To
Summary
In some cases, the extra traffic to accomplish remote port lookup on port 449 is not desired.
Objective
This document explains how to disable remote port lookup when using the IBM Toolbox for java / jt400.jar product.
Steps
IBM Toolbox for java has options for controlling usage of the port mapper (port 449):
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzahh/progtipsperformance.htm
setServicePortsToDefault
public void setServicePortsToDefault()
Sets the ports in the service port table for all the services for this system name to their default values. This causes the connections to this system name to use the default ports for those services rather than querying the port number through a port mapper connection [on port 449]. The use of this method can reduce the number of connections made to the system.
Example:
com.ibm.as400.access.AS400 system = new com.ibm.as400.access.AS400("MySystem");
system.setServicePortsToDefault();
system.setServicePortsToDefault();
Related Information
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"IBM Toolbox for Java","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Was this topic helpful?
Document Information
More support for:
IBM i
Software version:
All Versions
Operating system(s):
IBM i
Document number:
719819
Modified date:
18 December 2019
UID
ibm10719819
Manage My Notification Subscriptions