IBM Support

PI88965: BUNDLE COULD NOT BE RESOLVED BECAUSE OF MISSING CONSTRAINT JAVASE-1.8

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Unable to run BPM application with Java 1.8
    
    FFDC reports:
    
    Exception:org.osgi.framework.BundleException
    SourceId:com.ibm.ws.app.container.aries.AriesApplicationEventhan
    dler.handleEvent ProbeId:519
    Reporter:com.ibm.ws.app.container.aries.AriesApplicationEventHan
    dler@6c12d5b0
    org.osgi.framework.BundleException: The bundle
    "mybundle.v_1.1.1.201711111111 [3]" could not be
    resolved.
    Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment:
    JavaSE-1.8
    at
    org.eclipse.osgi.framework.internal.core.AbstractBundle.getResol
    verError
    (AbstractBundle.java:1317)
    at
    org.eclipse.osgi.framework.internal.core.AbstractBundle.getResol
    utionFai
    lureException(AbstractBundle.java:1301)
    at
    org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(
    BundleHo
    st.java:319)
    at
    org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Ab
    stractBu
    ndle.java:284)
    at
    org.apache.aries.application.runtime.framework.BundleFrameworkIm
    pl.start
    (BundleFrameworkImpl.java:194)
    at
    org.apache.aries.application.runtime.framework.management.Bundle
    Framewor
    kManagerImpl.startBundle(BundleFrameworkManagerImpl.java:281)
    
    
    The issue is that the version of equinox used (3.6.3)
    does not contain the JavaSE-1.8 profile so the OSGi apps with
    bundles that require that execution environment fail.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  WebSphere Application Server users of OSGi  *
    *                  applications and Java 8                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: OSGi application fails to start due     *
    *                      to missing constraint                   *
    *                      Bundle-RequiredExecutionEnvironment:    *
    *                      JavaSE-1.8                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Java 8 support was added to WebSphere Application Server
    version 8.5.5 full profile in fixpack 8, however the
    JavaSE-1.8 profile defining the corresponding OSGi Execution
    Environment was not shipped. OSGi applications that specify a
    the JavaSE-1.8 required execution environment therefore fail
    to start since the requirement cannot be satisfied.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI88965

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-10-17

  • Closed date

    2017-12-05

  • Last modified date

    2017-12-05

  • 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

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

Document Information

Modified date:
28 April 2022