IBM Support

PH36077: WHILE CREATING A VERSION IN ARTIFACTORY WITH HTTPS PROXY, BUZTOOL.SH FAILS WITH JAVA.NET.UNKNOWNHOSTEXCEPTION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • While creating a version in artifactory with Https proxy,
    buztool.sh fails with below error message
     Error executing buztool
    java.net.UnknownHostException: <url>: <url>: unknown error
    	at java.net.InetAddress.getAllByName0(InetAddress.java:1414)
    	at java.net.InetAddress.getAllByName(InetAddress.java:1323)
    	at java.net.InetAddress.getAllByName(InetAddress.java:1246)
    

Local fix

  • Follow below steps to fix the issue locally.
    1) Navigate to {AGENT_HOME}/bin directory
    2) Take a backup of file buztool.sh to some other directory
    3) In buztool.sh change the line with JAVA_OPTS to below. (To
    add https Proxy Host and Port as system property)
    JAVA_OPTS="-Xmx50m -Xms50m -Dhttps.proxyHost=<PROXY_HOST>
    -Dhttps.proxyPort=<PROXY_PORT>"
    
    If this doesn't fix the issue, please replace the changed
    buztool.sh from the backup and raise a support case.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * User using external repository with https proxy instead of   *
    * code station to create UCD component versions                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * buztool.sh fails with below error message                    *
    *  Error executing buztool                                     *
    * java.net.UnknownHostException: <url>: <url>: unknown error   *
    *     at                                                       *
    * java.net.InetAddress.getAllByName0(InetAddress.java:1414)    *
    *     at                                                       *
    * java.net.InetAddress.getAllByName(InetAddress.java:1323)     *
    *     at                                                       *
    * java.net.InetAddress.getAllByName(InetAddress.java:1246)     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Install/Upgrade to version 7.2.0 or higher                   *
    ****************************************************************
    

Problem conclusion

  • Install/Upgrade to version 7.2.0 or higher
    

Temporary fix

  • Follow below steps to fix the issue locally.
    1) Navigate to {AGENT_HOME}/bin directory
    2) Take a backup of file buztool.sh to some other directory
    3) In buztool.sh change the line with JAVA_OPTS to below. (To
    add https Proxy Host and Port as system property)
    JAVA_OPTS="-Xmx50m -Xms50m -Dhttps.proxyHost=<PROXY_HOST>
    -Dhttps.proxyPort=<PROXY_PORT>"
    

Comments

APAR Information

  • APAR number

    PH36077

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-04-07

  • Closed date

    2021-09-14

  • Last modified date

    2021-09-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    UC DEPLOY

  • Fixed component ID

    5725M5400

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710"}]

Document Information

Modified date:
15 September 2021