IBM Support

PM65523: Exceptions occur when you programmatically start a catalog server in the OSGi container.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following exception occurs when you use the ServerFactory
    API to start eXtreme Scale catalog and container servers in an
    Eclipse Equinox OSGi framework and create an OSGi Blueprint
    XML file:
    
    CWOBJ2518I:
    Launching ObjectGrid catalog service: ObjectGridServer.
    2012-05-22 14:40:53,667 [EclipseGeminiBlueprintExtenderThread-8]
    ERROR
    org.eclipse.gemini.blueprint.extender.internal.blueprint.activat
    or.BlueprintLoaderListener - Application context refresh failed
    (OsgiBundleXmlApplicationContext(bundle=
    .....
    .....
    Caused by: java.lang.IllegalStateException: CWOBJ0902W: An error
    prevented the ObjectGrid runtime component from starting for
    server: ObjectGridServer.
    at
    com.ibm.websphere.objectgrid.server.ServerFactory.initialize(Ser
    verFactory.java:375)
    at
    com.ibm.websphere.objectgrid.server.ServerFactory$2.run(ServerFa
    ctory.java:307)
    ....
    ....
    Caused by: java.lang.reflect.InvocationTargetException
    at
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)
    at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons
    tructorAccessorImpl.java:56)
    at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega
    tingConstructorAccessorImpl.java:39)
    at
    java.lang.reflect.Constructor.newInstance(Constructor.java:527)
    at
    com.ibm.websphere.objectgrid.server.ServerFactory.initialize(Ser
    verFactory.java:354)
    ... 26 more
    Caused by: java.lang.IllegalArgumentException: Could not find
    META-INF/balanceObjectGrid.xml file in classpath.
    at
    com.ibm.ws.objectgrid.server.CatalogServerPropertiesImpl.getObje
    ctGridURL(CatalogServerPropertiesImpl.java:255)
    at
    com.ibm.ws.objectgrid.ServerImpl.startCatalogService(ServerImpl.
    java:1934)
    at
    com.ibm.ws.objectgrid.ServerImpl.<init>(ServerImpl.java:547)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users that are programmatically starting a  *
    *                  catalog server in an OSGi environment with  *
    *                  the ServerFactory API.                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: You cannot programmatically start       *
    *                      catalog servers in an OSGi environment  *
    *                      with the ServerFactory API.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Class path errors prevented a catalog server from starting.
    

Problem conclusion

  • The class path errors have been corrected so that catalog
    servers can start programmatically in an OSGi environment.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM65523

  • Reported component name

    WS EXTREME SCAL

  • Reported component ID

    5724X6702

  • Reported release

    711

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-24

  • Closed date

    2012-07-06

  • Last modified date

    2013-01-28

  • 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

  • R711 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTVLU","label":"WebSphere eXtreme Scale"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"711","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021