IBM Support

PI56678: FileNotFoundException when application start-up fails.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • As part of the startup process for an application, the
    WebSphere Application Server Liberty server creates a
    classloader based on a "gateway" bundle which allows the
    application to load API classes.  If this gateway bundle is
    uninstalled during the application startup process -- which
    usually indicates that the application has failed to startup
    correctly for some other reason -- then the server will
    output an exception like this:
    
    [1/31/16 6:36:45:965 GMT] 00000013 id=
    LogService-193-gateway.bundle.Thread_Context.91
    E CWWKE0701E: FrameworkEvent ERROR
    Bundle:gateway.bundle.Thread_Context.91(id=193)
    java.io.IOException: Exception in opening zip file:
    /test/jazz_build/jbe_nagyvarad/jazz/buildsystem/buildengine/
    eclipse/build/image/output/wlp/usr/servers/com.ibm.ws.javama
    il.management.j2ee.fat/workarea/org.eclipse.osgi/193/0/bundl
    eFile
    at
    org.eclipse.osgi.framework.util.SecureAction.getZipFile(Secu
    reAction.java:305)
    at
    org.eclipse.osgi.storage.bundlefile.ZipBundleFile.basicOpen(
    ZipBundleFile.java:85)
    at
    org.eclipse.osgi.storage.bundlefile.ZipBundleFile.getZipFile
    (ZipBundleFile.java:98)
    at
    org.eclipse.osgi.storage.bundlefile.ZipBundleFile.checkedOpe
    n(ZipBundleFile.java:65)
    at
    org.eclipse.osgi.storage.bundlefile.ZipBundleFile.getEntry(Z
    ipBundleFile.java:232)
    at
    org.eclipse.osgi.storage.bundlefile.BundleFileWrapper.getEnt
    ry(BundleFileWrapper.java:52)
    at com.ibm.cds.CDSBundleFile.getEntry(CDSBundleFile.java:63)
    at
    org.eclipse.osgi.storage.bundlefile.BundleFileWrapper.getEnt
    ry(BundleFileWrapper.java:52)
    at
    org.eclipse.osgi.storage.Storage.listEntryPaths(Storage.java
    :1590)
    at
    org.eclipse.osgi.storage.Storage.findEntries(Storage.java:15
    15)
    at
    org.eclipse.osgi.internal.loader.classpath.ClasspathManager.
    findEntries(ClasspathManager.java:788)
    at
    org.eclipse.osgi.internal.loader.ModuleClassLoader.findEntri
    es(ModuleClassLoader.java:373)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findEntries(Bu
    ndleLoader.java:779)
    at
    org.eclipse.osgi.container.ModuleWiring.findEntries(ModuleWi
    ring.java:289)
    at
    org.eclipse.osgi.storage.ManifestLocalization.findResource(M
    anifestLocalization.java:200)
    at
    org.eclipse.osgi.storage.ManifestLocalization.lookupResource
    Bundle(ManifestLocalization.java:131)
    at
    org.eclipse.osgi.storage.ManifestLocalization.getResourceBun
    dle(ManifestLocalization.java:102)
    at
    org.eclipse.osgi.storage.ManifestLocalization.getHeaders(Man
    ifestLocalization.java:63)
    at
    org.eclipse.osgi.storage.BundleInfo$Generation.getHeaders(Bu
    ndleInfo.java:124)
    at
    org.eclipse.osgi.internal.framework.EquinoxBundle.privGetHea
    ders(EquinoxBundle.java:462)
    at
    org.eclipse.osgi.internal.framework.EquinoxBundle.getHeaders
    (EquinoxBundle.java:457)
    at
    org.eclipse.osgi.internal.framework.EquinoxBundle.getHeaders
    (EquinoxBundle.java:451)
    at
    com.ibm.ws.logging.internal.BundleManifest.<init>(BundleMani
    fest.java:35)
    at
    com.ibm.ws.logging.internal.PackageProcessor.harvestPackageL
    ist(PackageProcessor.java:160)
    at
    com.ibm.ws.logging.internal.PackageProcessor.bundleChanged(P
    ackageProcessor.java:191)
    at
    org.eclipse.osgi.internal.framework.BundleContextImpl.dispat
    chEvent(BundleContextImpl.java:903)
    at
    org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve
    nt(EventManager.java:230)
    at
    org.eclipse.osgi.framework.eventmgr.EventManager$EventThread
    .run(EventManager.java:340)
    Caused by: java.io.FileNotFoundException:
    /test/jazz_build/jbe_nagyvarad/jazz/buildsystem/buildengine/
    eclipse/build/image/output/wlp/usr/servers/com.ibm.ws.javama
    il.management.j2ee.fat/workarea/org.eclipse.osgi/193/0/bundl
    eFile (No such file or directory)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:231)
    at java.util.zip.ZipFile.<init>(ZipFile.java:161)
    at java.util.zip.ZipFile.<init>(ZipFile.java:175)
    at
    org.eclipse.osgi.framework.util.SecureAction.getZipFile(Secu
    reAction.java:288)
    ... 27 more
    Event:org.osgi.framework.FrameworkEvent[source=gateway.bundl
    e.Thread_Context.91_0.0.0 [193]]
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: FileNotFoundException when application  *
    *                      start-up fails.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    As part of the startup process for an application, the Liberty
    server creates a classloader based on a "gateway" bundle which
    allows the application to load API classes.  If this gateway
    bundle is uninstalled during the application startup process --
    which usually indicates that the application has failed to
    startup correctly for some other reason -- then the server will
    output an exception like this:
    
    [1/31/16 6:36:45:965 GMT] 00000013 id=         LogService-193-
    gateway.bundle.Thread_Context.91              E CWWKE0701E:
    FrameworkEvent ERROR
    Bundle:gateway.bundle.Thread_Context.91(id=193)
    java.io.IOException: Exception in opening zip file:
    /test/jazz_build/jbe_nagyvarad/jazz/buildsystem/buildengine/ecli
    pse/build/image/output/wlp/usr/servers/com.ibm.ws.javamail.manag
    ement.j2ee.fat/workarea/org.eclipse.osgi/193/0/bundleFile
    	at
    org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAc
    tion.java:305)
    	at
    org.eclipse.osgi.storage.bundlefile.ZipBundleFile.basicOpen(ZipB
    undleFile.java:85)
    	at
    org.eclipse.osgi.storage.bundlefile.ZipBundleFile.getZipFile(Zip
    BundleFile.java:98)
    	at
    org.eclipse.osgi.storage.bundlefile.ZipBundleFile.checkedOpen(Zi
    pBundleFile.java:65)
    	at
    org.eclipse.osgi.storage.bundlefile.ZipBundleFile.getEntry(ZipBu
    ndleFile.java:232)
    	at
    org.eclipse.osgi.storage.bundlefile.BundleFileWrapper.getEntry(B
    undleFileWrapper.java:52)
    	at com.ibm.cds.CDSBundleFile.getEntry(CDSBundleFile.java:63)
    	at
    org.eclipse.osgi.storage.bundlefile.BundleFileWrapper.getEntry(B
    undleFileWrapper.java:52)
    	at
    org.eclipse.osgi.storage.Storage.listEntryPaths(Storage.java:159
    0)
    	at
    org.eclipse.osgi.storage.Storage.findEntries(Storage.java:1515)
    	at
    org.eclipse.osgi.internal.loader.classpath.ClasspathManager.find
    Entries(ClasspathManager.java:788)
    	at
    org.eclipse.osgi.internal.loader.ModuleClassLoader.findEntries(M
    oduleClassLoader.java:373)
    	at
    org.eclipse.osgi.internal.loader.BundleLoader.findEntries(Bundle
    Loader.java:779)
    	at
    org.eclipse.osgi.container.ModuleWiring.findEntries(ModuleWiring
    .java:289)
    	at
    org.eclipse.osgi.storage.ManifestLocalization.findResource(Manif
    estLocalization.java:200)
    	at
    org.eclipse.osgi.storage.ManifestLocalization.lookupResourceBund
    le(ManifestLocalization.java:131)
    	at
    org.eclipse.osgi.storage.ManifestLocalization.getResourceBundle(
    ManifestLocalization.java:102)
    	at
    org.eclipse.osgi.storage.ManifestLocalization.getHeaders(Manifes
    tLocalization.java:63)
    	at
    org.eclipse.osgi.storage.BundleInfo$Generation.getHeaders(Bundle
    Info.java:124)
    	at
    org.eclipse.osgi.internal.framework.EquinoxBundle.privGetHeaders
    (EquinoxBundle.java:462)
    	at
    org.eclipse.osgi.internal.framework.EquinoxBundle.getHeaders(Equ
    inoxBundle.java:457)
    	at
    org.eclipse.osgi.internal.framework.EquinoxBundle.getHeaders(Equ
    inoxBundle.java:451)
    	at
    com.ibm.ws.logging.internal.BundleManifest.<init>(BundleManifest
    .java:35)
    	at
    com.ibm.ws.logging.internal.PackageProcessor.harvestPackageList(
    PackageProcessor.java:160)
    	at
    com.ibm.ws.logging.internal.PackageProcessor.bundleChanged(Packa
    geProcessor.java:191)
    	at
    org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEv
    ent(BundleContextImpl.java:903)
    	at
    org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(E
    ventManager.java:230)
    	at
    org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run
    (EventManager.java:340)
    Caused by: java.io.FileNotFoundException:
    /test/jazz_build/jbe_nagyvarad/jazz/buildsystem/buildengine/ecli
    pse/build/image/output/wlp/usr/servers/com.ibm.ws.javamail.manag
    ement.j2ee.fat/workarea/org.eclipse.osgi/193/0/bundleFile (No
    such file or directory)
    	at java.util.zip.ZipFile.open(Native Method)
    	at java.util.zip.ZipFile.<init>(ZipFile.java:231)
    	at java.util.zip.ZipFile.<init>(ZipFile.java:161)
    	at java.util.zip.ZipFile.<init>(ZipFile.java:175)
    	at
    org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAc
    tion.java:288)
    	... 27 more
     Event:org.osgi.framework.FrameworkEvent[source=gateway.bundle.T
    hread_Context.91_0.0.0 [193]]
    

Problem conclusion

  • The fix for this APAR reduces the chances that the server will
    try to use the uninstalled gateway bundle, but it is important
    to note that the root cause of the problem (the application
    failing to start) will still need to be addressed.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.9.  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

    PI56678

  • 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

    2016-02-04

  • Closed date

    2016-02-11

  • Last modified date

    2016-02-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

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