IBM Support

JR63420: UPGRADING THE PROFILE MIGHT FAIL WITH THE "EXECUTE FAILED: JAVA.IO.IOEXCEPTION: CANNOT RUN PROGRAM 'CHMOD'"

Direct link to fix

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Upgrading the profile might fail with the following exception
    when there are numerous files in the
    BAW_INSTALL_ROOT/CaseManagement folder:
    
    <message>Execute failed: java.io.IOException: Cannot run program
    "chmod" (in directory
    "/usr/IBM/WebSphere/AppServer85/properties/version/nif/config.wb
    i/install.ngi"): error=7, Argument list too long</message>
    <message>/usr/IBM/WebSphere/AppServer85/properties/version/nif/c
    onfig.wbi/install.ngi/90SSetupBPM.ant:243: Execute failed:
    java.io.IOException: Cannot run program "chmod" (in directory
    "/usr/IBM/WebSphere/AppServer85/properties/version/nif/config.wb
    i/install.ngi"): error=7, Argument list too long
    at
    org.apache.tools.ant.taskdefs.ExecuteOn.runExec(ExecuteOn.java:4
    66)
    at
    org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452
    )
    at org.apache.tools.ant.taskdefs.Chmod.execute(Chmod.java:167)
    at
    org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
    275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at
    org.apache.tools.ant.Project.executeSortedTargets(Project.java:1
    216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at
    org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Defau
    ltExecutor.java:40)
    at
    org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at
    com.ibm.ws.install.configmanager.actionengine.ant.utils.InProces
    sAntRunner.runBuild(InProcessAntRunner.java:801)
    at
    com.ibm.ws.install.configmanager.actionengine.ant.utils.InProces
    sAntRunner.start(InProcessAntRunner.java:234)
    at
    com.ibm.ws.install.configmanager.actionengine.ANTAction.executeA
    ctionUsingAnInProcessANTCall(ANTAction.java:120)
    at
    com.ibm.ws.install.configmanager.actionengine.ANTAction.executeA
    ction(ANTAction.java:54)
    

Local fix

  • 1.Open the
    BAW_INSTALL_ROOT/properties/version/nif/config.wbi/install.ngi/9
    0SSetupBPM.ant file.
    2.Go to the bottom of the file and add parallel=false to the 2
    chmod ant task:
           <chmod perm="777" parallel="false">
                            <fileset
    dir="${was.install.root}/CaseManagement">
                                    <include name="**/*"/>
                                    <include name="*"/>
                            </fileset>
            </chmod>
            <chmod perm="777" parallel="false">
                            <fileset
    dir="${was.install.root}/ECMClient">
                                    <include name="**/*"/>
                                    <include name="*"/>
                            </fileset>
            </chmod>
    

Problem summary

  • No additional information is available.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR63420

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    K00

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-03-09

  • Closed date

    2021-03-31

  • Last modified date

    2021-03-31

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

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

Fix information

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"20.0.0.1"}]

Document Information

Modified date:
21 June 2021