TrueSight Server Automation (TSSA): Appserver resolves incorrect IP Address for server.

Version 10
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    BladeLogic Server Automation Suite


    BladeLogic Agent and NSH


    All BSA/TSSA versions


    The BladeLogic appserver resolves the incorrect IP address for a target system event though resolving the same hostname from the OS shows the correct IP address. Restarting the appserver service results in the appserver resolving the correct IP (until the DNS changes again).

    This problem may manifest itself in other, less obvious ways.

    For example:

    Scenario 1) The wrong IP address is resolved and jobs run against the target continue to run because the IP address is used by another system with the RSCD on it. If the IP address is not in use or the target does not have a RSCD on it, then the job will fail because the appserver cannot connect to the target.

    Scenario 2) After assign a new IP address to target when browsing or executing Verify action from TSSA console takes long time and then receive a pop up message showing below error

    Failed to connect to Server_name:4750

    In application server console.log, there is an stack trace error like below

    Unable to connect to any of the resolved addresses [[Server_name/old_IP_address]] for hostName [Server_name] Unable to connect to any of the resolved addresses [[Server_name/old_IP_address]] for hostName [Server_name]
        at com.sun.proxy.$Proxy41.getAsset(Unknown Source)

    Scenario 3 After changing IP address in application server it fails to start



    Caused by: Unable to connect to any of the resolved addresses [[<blappserver_hostname>/<old_IP_address>]] for hostName [<blappserver_hostname>]       




    > The DNS TTL (cache) settings for the JVM the appserver runs under are the default: cache successful name resolutions as long as the appserver process is running.

    > These settings can be adjusted. In the <appserver install>/br/java/lib/security/ (Linux)  or   <appserver install>\jre\lib\security\ (Windows) alter the

    It will set the successful name resolution cache to refresh every    10 minutes.  
    > The value is specified as an integer to indicate the number of seconds to cache the failure for unsuccessful lookups. Here a value of    0 indicates "never cache". A value of    -1 indicates "cache forever".   
    The appserver service must be restarted after changing this file to pickup the change.  
    Scenario 3:  
    Incorrect entries for local host in /etc/hosts file, update to new ip address 


    Article Number:


    Article Type:

    Solutions to a Product Problem

      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles