IBM Support

PI20910: JAVA.LANG.ILLEGALSTATEEXCEPTION: BUNDLECONTEXT IS NO LONGER VALI D WHEN UNDEPLOYING APPLICATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When undeploying an application, an IllegalStateException may
    be output to the logs. The application continues to undeploy
    successfully.
    
    The exception is similar to:
    
    LogService-43-com.ibm.ws.org.apache.aries.jndi.core.1.0.1    E
    CWWKE0701E: FrameworkEvent ERROR
    Bundle:com.ibm.ws.org.apache.aries.jndi.core.1.0.1(id=43)
    java.lang.IllegalStateException: BundleContext is no longer
    valid
    at
    org.eclipse.osgi.framework.internal.core.BundleContextImpl.check
    Valid(BundleContextImpl.java:931)
    at
    org.eclipse.osgi.framework.internal.core.BundleContextImpl.unget
    Service(BundleContextImpl.java:634)
    at
    org.apache.aries.jndi.tracker.ServiceTrackerCustomizers$CacheBun
    dleTrackerCustomizer.removedBundle(ServiceTrackerCustomizers.jav
    a:417)
    at
    org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(Bu
    ndleTracker.java:491)
    at
    org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(Bu
    ndleTracker.java:1)
    at
    org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.ja
    va:341)
    ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile with OSGi            *
    *                  applications                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: An IllegalStateException is observed    *
    *                      in the logs during application          *
    *                      undeploy                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    During application cache clean up, an IllegalStateException is
    reported. The exception does not affect normal operation and
    can be ignored.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI20910

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-27

  • Closed date

    2014-07-11

  • Last modified date

    2014-07-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

    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:
27 April 2022