IBM Support

JR49214: BPMMIGRATE.SH FAILS TO MIGRATION WPS APPLICATIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • BPMMigrate.sh  fails to migration WPS applications deployed to
    the source environment contain SPACE in the application name .
    
    During the application installation phase and the wsadmin
    fails with the syntex
    
    log BPMMigrate_Timestamp.log  contain
    
    WASX7017E: Exception received while running file
    "/opt/websphere/MigrationUtility/util/migration/resources/snapsh
    ot/SomeCell01/install_ABCDEAR 2.ear.jy"; exception
    information: com.ibm.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    
    File "<string>", line 2, in ?
    java.lang.IllegalArgumentException: WASX7122E: Expected "-" not
    found.
    [-nodeployejb -appname  ABCDEAR 2
    -createMBeansForResources -noreloadEnabled -custom
    enhancedEarDisableValidation=true -cluster AppCluster ]
    
    at
    com.ibm.ws.scripting.LanguageUtilities.throwIllegalArgException(
    Language Utilities.java:1174)
    at
    com.ibm.ws.scripting.LanguageUtilities.optionsToHashtable(Langua
    geUtilities.java:290)
    at
    

Local fix

  • modify the application install scripts under
    <MigrationUtility>/util/migration/resources/snapshot/CellName/
    directory and you should still have all the Py scripts
    to install these failed applications
    
    You can change the app_name for the EAR file by removing the
    space and reinstall the application.
    
    2. After completing manual applicaiton install , you can rerun
    the BPMMigrate.sh script again.
       You may see Waring or error that applicaiton are already
    installed but it should continue to the next step of migrating
    the schedulers ..
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM Business Process Manager V8.5.0.1       *
    *                  Advanced and Advanced-Only                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: When you use the BPMMigrate command     *
    *                      to migrate Java EE applications from    *
    *                      previous products to IBM BPM            *
    *                      V8.5.0.1, and the application names     *
    *                      contains spaces, the migration is not   *
    *                      successful.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Applications that have spaces in their names cannot be
    migrated.
    

Problem conclusion

  • A fix is available that adds double quotation marks around all
    Java EE application names in the generated Jython scripts for
    installing application. Then you can run these scripts in a
    wsadmin environment.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR49214:
    
    Select the product group, product, installed version, and
    platform, and click Continue.
    Select APAR or SPR, enter JR49214, and click Continue.
    
    When downloading fix packages, ensure that you also download
    the readme file for each fix. Review each readme file for
    additional installation instructions and information about the
    fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR49214

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-29

  • Closed date

    2014-03-12

  • Last modified date

    2014-03-12

  • 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

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R800 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5"}]

Document Information

Modified date:
07 October 2021