Skip to main content

Using the HTTPRequest node with dynamic DNS changes


Technote (FAQ)


Question

How can you configure the HTTPRequest nodein Websphere Message Broker to allow for back end dynamic DNS changes?

Cause

The HTTPRequest node that is included with WebSphere Message Broker 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 one of the following steps:

Either:

  • 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 WebSphere Message Broker command window, enter the following command to change the JVM system property:
    mqsichangeproperties LUXBGN01 -e <EG_name>-o ComIbmJVMManager
    -n jvmSystemProperty -v "- Dnetworkaddress.cache.ttl=0".

Related information

Common problems when developing message flows

Product Alias/Synonym

WMB MB WebSphere Message Broker MQ Integrator WBIMB WBI-MB MQSI WMQI

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

WebSphere Message Broker

Web Services


Software version:
6.1, 7.0, 8.0


Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows


Reference #:
1607665


Modified date:
2012-11-13

Translate my page

Content navigation