IBM Support

PI27702: ILLEGALSTATEEXCEPTION IN FEATUREMANAGER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A feature update failure could occur after updating the
    application-specific configuration settings. This could lead
    to an IllegalStateException in FFDC output as shown below:
    .
    ------Start of DE processing------ = [10/7/13 5:38:55:044 BST]
    Exception = java.lang.IllegalStateException
    Source = com.ibm.ws.threading.internal.Worker
    probeid = 446
    Stack Dump = java.lang.IllegalStateException: Bundle
    "WSClassLoadingService@Thread
    Context:WebModule:basicauth-basicauth-/basicauth" has been
    uninstalled
    at
    org.eclipse.osgi.framework.internal.core.AbstractBundle.checkVal
    id(AbstractBundle.java:1175)
    at
    org.eclipse.osgi.framework.internal.core.AbstractBundle.getEntry
    0(AbstractBundle.java:1250)
    at
    org.eclipse.osgi.framework.internal.core.ManifestLocalization.fi
    ndResource(ManifestLocalization.java:160)
    at
    org.eclipse.osgi.framework.internal.core.ManifestLocalization.lo
    okupResourceBundle(ManifestLocalization.java:115)
    at
    org.eclipse.osgi.framework.internal.core.ManifestLocalization.ge
    tResourceBundle(ManifestLocalization.java:91)
    at
    org.eclipse.osgi.framework.internal.core.ManifestLocalization.ge
    tHeaders(ManifestLocalization.java:52)
    at
    org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeade
    rs(AbstractBundle.java:965)
    at
    com.ibm.ws.kernel.feature.internal.FeatureManager.writeServiceMe
    ssages(FeatureManager.java:759)
    at
    com.ibm.ws.kernel.feature.internal.FeatureManager.writeUpdateMes
    sages(FeatureManager.java:684)
    at
    com.ibm.ws.kernel.feature.internal.FeatureManager.update(Feature
    Manager.java:657)
    at
    com.ibm.ws.kernel.feature.internal.FeatureManager$2.run(FeatureM
    anager.java:541)
    at
    com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439
    )
    at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
    at java.lang.Thread.run(Thread.java:680)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Feature update fails after modifying    *
    *                      application-specific configuration      *
    *                      settings.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A feature update failure could occur after updating the
    application-specific configuration settings.  The problem occurs
    because the app restart occurs in one thread while the feature
    update occurs in another.  The feature update needs to check the
    status of all currently installed bundles, and it is possible
    that the app bundle is uninstalled during this processing.  This
    could lead to an IllegalStateException in FFDC output as shown
    below:
    
    ------Start of DE processing------ = [10/7/13
    5:38:55:044 BST]
    Exception =
    java.lang.IllegalStateException
    Source =
    com.ibm.ws.threading.internal.Worker
    probeid = 446
    Stack Dump =
    java.lang.IllegalStateException: Bundle
    "WSClassLoadingService@Thread Context:WebModule:basicauth-
    basicauth-/basicauth" has been uninstalled
    	at
    org.eclipse.osgi.framework.internal.core.AbstractBundle.checkVal
    id(AbstractBundle.java:1175)
    	at
    org.eclipse.osgi.framework.internal.core.AbstractBundle.getEntry
    0(AbstractBundle.java:1250)
    	at
    org.eclipse.osgi.framework.internal.core.ManifestLocalization.fi
    ndResource(ManifestLocalization.java:160)
    	at
    org.eclipse.osgi.framework.internal.core.ManifestLocalization.lo
    okupResourceBundle(ManifestLocalization.java:115)
    	at
    org.eclipse.osgi.framework.internal.core.ManifestLocalization.ge
    tResourceBundle(ManifestLocalization.java:91)
    	at
    org.eclipse.osgi.framework.internal.core.ManifestLocalization.ge
    tHeaders(ManifestLocalization.java:52)
    	at
    org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeade
    rs(AbstractBundle.java:965)
    	at
    com.ibm.ws.kernel.feature.internal.FeatureManager.writeServiceMe
    ssages(FeatureManager.java:759)
    	at
    com.ibm.ws.kernel.feature.internal.FeatureManager.writeUpdateMes
    sages(FeatureManager.java:684)
    	at
    com.ibm.ws.kernel.feature.internal.FeatureManager.update(Feature
    Manager.java:657)
    	at
    com.ibm.ws.kernel.feature.internal.FeatureManager$2.run(FeatureM
    anager.java:541)
    	at
    com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439
    )
    	at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
    
    at java.lang.Thread.run(Thread.java:680)
    

Problem conclusion

  • The fix for this APAR ensures that the feature manager can
    tolerate changes to application-related bundles during a feature
    update.
    
    The fix for this APAR is currently targeted for
    inclusion in fix pack 8.5.5.4.  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

    PI27702

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-10-15

  • Closed date

    2014-10-22

  • Last modified date

    2014-10-22

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

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

Document Information

Modified date:
28 April 2022