IBM Support

PI04908: Can not load plugins reliably as osgiService in Liberty

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

  • Users receive the following CWOBJ2416E exception in their FFDC:
    Stack Dump =
    com.ibm.websphere.objectgrid.config.ObjectGridConfigurationExcep
    tion: CWOBJ2416E: The OSGi Service 'xyz' plug-in
    was not instantiated and is not configured. The exception is
    java.lang.IllegalArgumentException: OSGi Service
    'xyz' is not available..
     at
    com.ibm.ws.objectgrid.config.ObjectGridConfigurationImpl.instant
    iateMe(ObjectGridConfigurationImpl.java:1928)
     at
    com.ibm.ws.objectgrid.config.ObjectGridConfigurationImpl.complet
    eInitialization(ObjectGridConfigurationImpl.java:1283)
     at
    com.ibm.ws.objectgrid.config.ObjectGridConfigurationImpl.getClus
    teredObjectGrid(ObjectGridConfigurationImpl.java:704)
     at
    com.ibm.ws.objectgrid.ObjectGridManagerImpl.getObjectGrid(Object
    GridManagerImpl.java:1000)
     at
    com.ibm.ws.objectgrid.ObjectGridManagerImpl.getObjectGrid(Object
    GridManagerImpl.java:856)
     at
    com.ibm.ia.gateway.spi.ObjectGridClient.connect(ObjectGridClient
    .java:174)
     at
    com.ibm.ia.gateway.spi.ObjectGridClient.connectEmbedded(ObjectGr
    idClient.java:129)
     at
    com.ibm.ia.global.runtime.test.AnalyticsTestMXBeanImpl.init(Anal
    yticsTestMXBeanImpl.java:53)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:76)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:602)
     at
    org.apache.aries.blueprint.utils.ReflectionUtils.invoke(Reflecti
    onUtils.java:297)
     at
    org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecip
    e.java:958)
     at
    org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(
    BeanRecipe.java:712)
     at
    org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(
    BeanRecipe.java:824)
     at
    org.apache.aries.blueprint.container.BeanRecipe.internalCreate(B
    eanRecipe.java:787)
     at
    org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractReci
    pe.java:79)
     at
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:33
    4)
     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
     at
    org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractReci
    pe.java:88)
     at
    org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe
    .java:62)
     at
    org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractReci
    pe.java:106)
     at
    org.apache.aries.blueprint.container.ServiceRecipe.createService
    (ServiceRecipe.java:282)
     at
    org.apache.aries.blueprint.container.ServiceRecipe.internalGetSe
    rvice(ServiceRecipe.java:249)
     at
    org.apache.aries.blueprint.container.ServiceRecipe.internalCreat
    e(ServiceRecipe.java:146)
     at
    org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractReci
    pe.java:79)
     at
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:33
    4)
     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
     at
    org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractReci
    pe.java:88)
     at
    org.apache.aries.blueprint.container.BlueprintRepository.createI
    nstances(BlueprintRepository.java:245)
     at
    org.apache.aries.blueprint.container.BlueprintRepository.createA
    ll(BlueprintRepository.java:183)
     at
    org.apache.aries.blueprint.container.BlueprintContainerImpl.inst
    antiateEagerComponents(BlueprintContainerImpl.java:668)
     at
    org.apache.aries.blueprint.container.BlueprintContainerImpl.doRu
    n(BlueprintContainerImpl.java:370)
     at
    org.apache.aries.blueprint.container.BlueprintContainerImpl.run(
    BlueprintContainerImpl.java:261)
     at
    java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja
    va:471)
     at
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:33
    4)
     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
     at
    org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(
    ExecutorServiceWrapper.java:106)
     at
    org.apache.aries.blueprint.utils.threading.impl.DiscardableRunna
    ble.run(DiscardableRunnable.java:48)
     at
    java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja
    va:471)
     at
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:33
    4)
     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
     at
    java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture
    Task.access$201(ScheduledThreadPoolExecutor.java:178)
     at
    java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture
    Task.run(ScheduledThreadPoolExecutor.java:292)
     at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
    utor.java:1145)
     at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe
    cutor.java:615)
     at java.lang.Thread.run(Thread.java:780)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of WebSphere eXtreme Scale with the   *
    *                  Liberty Profile. Plug-ins are defined with  *
    *                  the osgiService attribute.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: An CWOBJ2416E exception is in           *
    *                      the FFDC log:                           *
    *                      IllegalArgumentException: OSGi          *
    *                      Service 'xyz' is not available.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The plug-in definition is read,  the service is created, and
    then
    immediately gets the ranking. The service and its ranking is
    populated by OSGi in the background. This can lead to a race
    condition.
    

Problem conclusion

  • When the ranking is retrieved, a check and retry occurs.  The th
    available.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI04908

  • Reported component name

    WS EXTREME SCAL

  • Reported component ID

    5724X6702

  • Reported release

    860

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-28

  • Closed date

    2013-10-30

  • Last modified date

    2013-10-30

  • 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

    WS EXTREME SCAL

  • Fixed component ID

    5724X6702

Applicable component levels

  • R860 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSTVLU","label":"WebSphere eXtreme Scale"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"860","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
30 October 2013