IBM Support

PM73420: API PACKAGE EXPORT INCONSISTENT WITH THE FULL PROFILE.APACHE ARI ES BLUEPRINT PACKAGES MISTAKINGLY PLACED IN THE DEV/

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An OSGi application deployable to the Liberty Profile
    that makes use of the package:
    com.ibm.websphere.jaxrs.providers.json4j
    with version range [0.0,1.0) cannot be deployed to the full
    profile. Trying to do so results in an error like this:
    
    CWSAL0015E: Cannot resolve EBA file. Exception:
    org.apache.aries.application.management.ResolverException: The
    system cannot provision the EBA my-application because the
    following problems in the dependency chain were detected:
    The package dependency
    com.ibm.websphere.jaxrs.providers.json4j required by bundle
    my-bundle cannot be resolved..
    
    Additionally, the bundle jar
    org.apache.aries.blueprint_0.4.1.ibm-s20120308-0347.jar was
    mistakingly located in dev/spec instead of lib/
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server            *
    *                  users who have developed an OSGi            *
    *                  application with the Liberty Profile who    *
    *                  now need to deploy it to the Full Profile.  *
    ****************************************************************
    * PROBLEM DESCRIPTION: An error may occur when deploying an    *
    *                      OSGi application that makes             *
    *                      use of the                              *
    *                      com.ibm.websphere.jaxrs.providers.json4 *
    *                      j package. An error appears in the      *
    *                      SystemOut.log similar to this:          *
    *                      CWSAL0015E: Cannot resolve EBA file.    *
    *                      Exception:                              *
    *                      org.apache.aries.application.management *
    *                      .ResolverException: The                 *
    *                      system cannot provision the EBA         *
    *                      my-application because the              *
    *                      following problems in the dependency    *
    *                      chain were detected:                    *
    *                      The package dependency                  *
    *                      com.ibm.websphere.jaxrs.providers.json4 *
    *                      j required by bundle                    *
    *                      my-bundle cannot be resolved..          *
    *                      Where 'my-application' and              *
    *                      'my-bundle' are the user's own          *
    *                      application and bundle names.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The bundle named contains an 'Import-Package' header in its
    MANIFEST.MF file and that contains an entry for the
    com.ibm.websphere.jaxrs.providers.json4j package. A 'version'
    attribute for that package has also been specified. The
    version range includes the version of the package present in
    the Liberty profile but not the version present in the full
    profile.
    

Problem conclusion

  • The Liberty profile has been corrected so that it contains the
    same version of the com.ibm.websphere.jaxrs.providers.json4j
    package as the full profile. Subsequently an OSGi application
    that contains a bundle developed for the Liberty profile that
    imports the package can deployed on either the Liberty profile
    or the full profile.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.0.1. Please refer to the Recommended
    Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM73420

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-21

  • Closed date

    2012-10-29

  • Last modified date

    2012-10-29

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 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":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021