Using the HTTPRequest node with dynamic DNS changes

Technote (FAQ)


Question

How can you configure the HTTPRequest node in IBM Integration Bus (IIB) or WebSphere Message Broker (WMB) to allow for back end dynamic DNS changes?

Cause

The HTTPRequest node that is included with IIB or WMB caches the resolved IP address of the target host. This can result in problems when using a back end host that dynamically routes and resolves IP addresses, because the HTTPRequest node uses the cached value instead of the new IP address.

Answer

To force the HTTPRequest node to identify changes in DNS entry without restarting the broker, you must disable the DNS caching.

To disable the DNS caching of the HTTPRequest node, complete the following steps:

  • Open the file located at $JAVA_HOME/jre/lib/security/java.security
    and set the value of the 'networkaddress.cache.ttl' property to '0' (zero).

OR
  • In a IIB or WMB command window, enter the following command to change the JVM system property:
    mqsichangeproperties LUXBGN01 -e <EG_name>-o ComIbmJVMManager
    -n jvmSystemProperty -v"- Dsun.net.inetaddr.ttl=0".

Related information

Common problems when developing message flows

Cross reference information
Segment Product Component Platform Version Edition
Business Integration IBM Integration Bus 9.0 All Editions

Product Alias/Synonym

WMB MB WebSphere Message Broker IBM Integration Bus IIB IBMIB MQ Integrator WBIMB WBI-MB MQSI WMQI

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Message Broker
Web Services

Software version:

7.0, 8.0

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows

Reference #:

1607665

Modified date:

2014-01-06

Translate my page

Machine Translation

Content navigation