IBM Support

PH01218: REMOTEMIGRJAR WASPREUPGRADE FAILS WHEN PATH TO JAVA CONTAINS A SPACE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WASPreUpgrade from a remote migration jar fails with a cryptic
    error, often implying the part of the path before the space is
    not a valid command.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Remote Migration                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: "6 was not expected" message when       *
    *                      running Remote Migration                *
    *                      WASPreUpgrade.bat when JAVA_HOME        *
    *                      contains space character.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This problem can occur when all of the following are true:
    * A remote migration jar is created and Java is not included
    in the jar.
    * The jar is shipped to a Windows system
    * JAVA_HOME is set to an otherwise valid Java path that
    contains a space character
    When WASPreUpgrade.bat is run, it will emit a message like "6
    was not expected at this time." and migration will not run.
    This is because the JAVA_HOME value gets processed by
    WASPreUpgrade and various variables are set. These variables
    do not handle the space correctly and various problems occur,
    with the first problem to derail the script causing the
    cryptic message above.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH01218

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-08-02

  • Closed date

    2018-08-16

  • Last modified date

    2018-09-19

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 May 2022