IBM Support

PI04903: CREATEENVIRONMENTPROPERTY REQUIRES THE APPLICATION EVEN WITH ENVIRONMENT ID

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment
    
    Reporoduced with:
    - uDeploy Environment Plug-in v 11 and uDeploy v4.8.4 and v5.0
    - IBM UrbanCode Deploy v6.0
    
    Problem description:
    
    The Step: CreateEnvironmentProperty requires the ApplicationId
    even if the EnvironmentId is specified, contrary to
    
    what the documentation states.
    
    Steps to reproduce:
    
    1. Create an Application with an Environment and a Component
    2. Determine the EnvironmentId
    3. Create a Component Process with these steps:
    Start > CreateEnvironmentProperty > Stop
    4. In the CreateEnvironmentProperty step:
     - specify the EnvironmenId in the Environment Field
     - leave the Application field empty
    5. Create an Application process that installs the component
    6. Request the Application process on the given Environment
    Results:
    the process fails with error:
    
    Caught: java.io.IOException: 404 Not Found
    java.io.IOException: 404 Not Found
    at
    com.urbancode.ud.client.UDRestClient.setEnvironmentProperty(UDRe
    stClient.java:1879)
    at
    com.urbancode.ud.client.UDRestClient$setEnvironmentProperty.call
    (Unknown Source)
    at
    com.urbancode.air.plugin.udeploy.environments.EnvironmentHelper.
    setEnvironmentProperty
    
    (EnvironmentHelper.groovy:167)
    at
    com.urbancode.air.plugin.udeploy.environments.EnvironmentHelper$
    setEnvironmentProperty.call(Unknown Source)
    at setenvprop.run(setevnprop.groovy:6)
    
    In version 6 it fails with:
    
    Caught: java.io.IOException: 404 Not Found
    java.io.IOException: 404 Not Found
    at
    com.urbancode.ud.client.EnvironmentClient.setEnvironmentProperty
    (EnvironmentClient.java:353)
    at
    com.urbancode.ud.client.EnvironmentClient$setEnvironmentProperty
    .call(Unknown Source)
    at
    com.urbancode.air.plugin.udeploy.environments.EnvironmentHelper.
    setEnvironmentProperty(EnvironmentHelper.groovy:167)
    at
    com.urbancode.air.plugin.udeploy.environments.EnvironmentHelper$
    setEnvironmentProperty.call(Unknown Source)
    at setenvprop.run(setenvprop.groovy:6)
    

Local fix

  • Specify the Application Name or Id in the Application field
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Issue with CREATEENVIRONMENTPROPERTY incorrectly requiring   *
    * application id                                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * A fix is provided in IBM UrbanCode Deploy 6.0.1              *
    ****************************************************************
    

Problem conclusion

  • A fix is provided in IBM UrbanCode Deploy 6.0.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI04903

  • Reported component name

    UDEPLOY

  • Reported component ID

    5725M7700

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-28

  • Closed date

    2013-12-04

  • Last modified date

    2013-12-04

  • 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

    UDEPLOY

  • Fixed component ID

    5725M7700

Applicable component levels

  • R500 PSN

       UP

  • R500 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4JV8","label":"IBM uDeploy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"500","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 October 2021