IBM Support

PI34587: XmlPullParserException when Liberty profile is configured with a local bundle repository

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the Liberty profile is configured with a local bundle
    repository it is possible that during server startup two
    threads attempt to process the same XML configuration file
    resulting in the generation of a FFDC. Applications will
    still be provisioned successfully from the bundle
    repository.
    
    Stack Dump = org.xmlpull.v1.XmlPullParserException:
    unexpected type (position:END_DOCUMENT null@1:0 in
    java.io.InputStreamReader@a152ff67)
    	at org.kxml2.io.KXmlParser.exception(Unknown Source)
    	at org.kxml2.io.KXmlParser.nextTag(Unknown Source)
    	at
    org.apache.felix.bundlerepository.impl.PullParser.parseRepos
    itory(PullParser.java:43)
    	at
    org.apache.felix.bundlerepository.impl.DataModelHelperImpl.r
    epository(DataModelHelperImpl.java:147)
    	at
    org.apache.felix.bundlerepository.impl.DataModelHelperImpl.r
    epository(DataModelHelperImpl.java:118)
    	at
    org.apache.felix.bundlerepository.impl.RepositoryAdminImpl$1
    .run(RepositoryAdminImpl.java:115)
    	at
    java.security.AccessController.doPrivileged(AccessController
    .java:333)
    	at
    org.apache.felix.bundlerepository.impl.RepositoryAdminImpl.a
    ddRepository(RepositoryAdminImpl.java:111)
    	at
    org.apache.felix.bundlerepository.impl.RepositoryAdminImpl.a
    ddRepository(RepositoryAdminImpl.java:99)
    	at
    org.apache.felix.bundlerepository.impl.wrapper.RepositoryAdm
    inWrapper.addRepository(RepositoryAdminWrapper.java:49)
    ....
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile - EBA Applications   *
    ****************************************************************
    * PROBLEM DESCRIPTION: XmlPullParserException when Liberty     *
    *                      profile is configured with a local      *
    *                      bundle repository                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the Liberty profile is configured with a local bundle
    repository, it is possible that during server startup, internal
    service restarts will result in two threads attempting to
    process the same XML configuration file. This causes the
    generation of a FFDC but applications will still be provisioned
    successfully from the bundle repository.
    
    Stack Dump = org.xmlpull.v1.XmlPullParserException: unexpected
    type (position:END_DOCUMENT null@1:0 in
    java.io.InputStreamReader@a152ff67)
    	at org.kxml2.io.KXmlParser.exception(Unknown Source)
    	at org.kxml2.io.KXmlParser.nextTag(Unknown Source)
    	at
    org.apache.felix.bundlerepository.impl.PullParser.parseRepositor
    y(PullParser.java:43)
    	at
    org.apache.felix.bundlerepository.impl.DataModelHelperImpl.repos
    itory(DataModelHelperImpl.java:147)
    	at
    org.apache.felix.bundlerepository.impl.DataModelHelperImpl.repos
    itory(DataModelHelperImpl.java:118)
    	at
    org.apache.felix.bundlerepository.impl.RepositoryAdminImpl$1.run
    (RepositoryAdminImpl.java:115)
    	at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:333)
    	at
    org.apache.felix.bundlerepository.impl.RepositoryAdminImpl.addRe
    pository(RepositoryAdminImpl.java:111)
    	at
    org.apache.felix.bundlerepository.impl.RepositoryAdminImpl.addRe
    pository(RepositoryAdminImpl.java:99)
    	at
    org.apache.felix.bundlerepository.impl.wrapper.RepositoryAdminWr
    apper.addRepository(RepositoryAdminWrapper.java:49)
    ....
    

Problem conclusion

  • Internal service restarts during the overall Liberty server
    startup are now handled correctly and no FFDC is generated.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.5.  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

    PI34587

  • 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

    2015-02-10

  • Closed date

    2015-02-16

  • Last modified date

    2015-02-16

  • 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