IBM Support

PH21936: FILENOTFOUNDEXCEPTION MAY OCCUR DURING MIGRATION OF OSGI APPLICATION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Migration of a WebSphere Application Server from version 8.5.5
    to version 9.0 may fail while processing OSGi applications.
    
    A FileNotFoundException is generated with a stack of the form:
    
    java.security.PrivilegedActionException:
    java.io.FileNotFoundException:
    /opt/IBM/WAS/WebSphere9/AppServer/profiles/Dmgr01/expandedBundle
    s/<cba_jar_name>.jar/<internal_jar_name>.jar (No such file or
    directory)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:707)
    at
    com.ibm.ws.eba.migration.bundle.cache.ExpansionTransform.migrate
    (ExpansionTransform.java:63)
    at
    com.ibm.wsspi.migration.transform.BasicDocumentTransform.migrate
    Documents(BasicDocumentTransform.java:309)
    at
    com.ibm.wsspi.migration.transform.BasicDocumentTransform.migrate
    (BasicDocumentTransform.java:97)
    at
    com.ibm.wsspi.migration.transform.BasicDocumentTransform.migrate
    DocumentCollections(BasicDocumentTransform.java:329)
    at
    com.ibm.wsspi.migration.transform.BasicDocumentTransform.migrate
    (BasicDocumentTransform.java:100)
    at
    com.ibm.ws.migration.postupgrade.client.ClientPostUpgradeManager
    .migrateTransforms(ClientPostUpgradeManager.java:223)
    at
    com.ibm.ws.migration.postupgrade.client.ClientPostUpgradeManager
    .migrate(ClientPostUpgradeManager.java:128)
    at
    com.ibm.ws.migration.postupgrade.Restore.restoreProfile(Restore.
    java:488)
    at
    com.ibm.ws.migration.postupgrade.Restore.<init>(Restore.java:266
    )
    

Local fix

  • Run following scripts, osgiCFginit and clearclasscache
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  WebSphere Application Server users of OSGi  *
    *                  applications                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: FileNotFoundException occurs during     *
    *                      migration of the OSGi bundle cache.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    During migration of OSGi applications the Aries integration
    component expands the bundles in the OSGi bundle cache for
    processing.  The expansion process did not create the
    necessary directory structure if the first file processed from
    a bundle in the bundle cache was in the root directory of the
    bundle.
    

Problem conclusion

  • The expansion process was changed to create the directory
    structure for the root of the expanded bundle before processing
    its contents.
    
    The fix for this APAR is targeted for inclusion in fix pack
    9.0.5.8. For more information, see 'Recommended Updates for
    WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH21936

  • 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

    2020-02-07

  • Closed date

    2021-05-11

  • Last modified date

    2021-05-11

  • 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

  • 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:
02 November 2021