IBM Support

RS03643: ANT TASK RES-DEPLOY FAILS WHEN USING CREDENTIALS FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When deploying a ruleapp with res-deploy ant task and not
    including a xom path the credentialsfile is not used and the
    deployment fails
    
    
    Buildfile:
    build.xml
    deployRuleApp:
    [res-deploy] Decision Server
    8.10.2.0
    [res-deploy] [file] output\testDate.jar
    [res-deploy]
    [mergingPolicy] ADD_AT_END_RULESET_MERGING_POLICY
    [res-deploy]
    [versioningPolicy] MINOR_VERSION_POLICY
    [res-deploy]
    [resourceVersioningPolicy] MAJOR_VERSION_POLICY
    [res-deploy]
    [libraryVersioningPolicy] MINOR_VERSION_POLICY
    [res-deploy]
    [url] http://localhost:9090/res
    [res-deploy] [ERROR]
    com.ibm.rules.res.internal.RESTException:
    ilog.rules.res.util.http.IlrAuthenticationException:
    Authentication failed for user "null" on
    "http://localhost:9090/res".
    [res-deploy]
    ilog.rules.res.util.http.IlrAuthenticationException:
    Authentication failed for user "null" on
    "http://localhost:9090/res".
    
    BUILD FAILED
    build.xml:10:
    com.ibm.rules.res.internal.RESTException:
    ilog.rules.res.util.http.IlrAuthenticationException:
    Authentication failed for user "null" on
    "http://localhost:9090/res".
    

Local fix

  • add a nested xompath if possible otherwise use userid/password
    properties
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users executing res-deploy ant task.                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When deploying a ruleapp with res-deploy ant task and not    *
    * including a xom path the credentialsfile is not used and the *
    * deployment fails                                             *
    *                                                              *
    *                                                              *
    * Buildfile:                                                   *
    * build.xml                                                    *
    * deployRuleApp:                                               *
    * [res-deploy] Decision Server                                 *
    * 8.10.2.0                                                     *
    * [res-deploy] [file] output\testDate.jar                      *
    * [res-deploy]                                                 *
    * [mergingPolicy] ADD_AT_END_RULESET_MERGING_POLICY            *
    * [res-deploy]                                                 *
    * [versioningPolicy] MINOR_VERSION_POLICY                      *
    * [res-deploy]                                                 *
    * [resourceVersioningPolicy] MAJOR_VERSION_POLICY              *
    * [res-deploy]                                                 *
    * [libraryVersioningPolicy] MINOR_VERSION_POLICY               *
    * [res-deploy]                                                 *
    * [url] http://localhost:9090/res                              *
    * [res-deploy] [ERROR]                                         *
    * com.ibm.rules.res.internal.RESTException:                    *
    * ilog.rules.res.util.http.IlrAuthenticationException:         *
    * Authentication failed for user "null" on                     *
    * "http://localhost:9090/res".                                 *
    * [res-deploy]                                                 *
    * ilog.rules.res.util.http.IlrAuthenticationException:         *
    * Authentication failed for user "null" on                     *
    * "http://localhost:9090/res".                                 *
    *                                                              *
    * BUILD FAILED                                                 *
    * build.xml:10:                                                *
    * com.ibm.rules.res.internal.RESTException:                    *
    * ilog.rules.res.util.http.IlrAuthenticationException:         *
    * Authentication failed for user "null" on                     *
    * "http://localhost:9090/res".                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The credentialsfile option now works with res-deploy.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03643

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    8A0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-07-02

  • Closed date

    2020-11-05

  • Last modified date

    2020-11-05

  • 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

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

  • R8A0 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8A0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 February 2022