IBM Support

PK99796: ZIPEXCEPTION FROM ANNOTATION CLASSSCANNER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer is using Rational Application Developer 7.5.1 and
    embedded WebSphere Application Server V7.0.  Whenever he
    publishes his application to the server after a fresh build he
    gets the following error in the server console:
    
    [1/15/09 14:10:06:236 CST] 0000001b annotations   E ClassScanner
    scanInputStream Exception occurred while scanning input
    stream:{0}
    java.util.zip.ZipException: ZipFile closed
    at
    java.util.zip.ZipFile.ensureOpenOrZipException(ZipFile.java:424)
    at java.util.zip.ZipFile.access$1100(ZipFile.java:40)
    at
    java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:456)
    at java.util.zip.ZipFile$1.fill(ZipFile.java:241)
    at
    java.util.zip.InflaterInputStream.read(InflaterInputStream.java:
    152)
    at
    java.io.BufferedInputStream.fill(BufferedInputStream.java:229)
    at
    java.io.BufferedInputStream.read1(BufferedInputStream.java:269)
    at
    java.io.BufferedInputStream.read(BufferedInputStream.java:328)
    at java.io.FilterInputStream.read(FilterInputStream.java:127)
    at
    java.io.PushbackInputStream.read(PushbackInputStream.java:180)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: A ZipException occurs on a              *
    *                      ZipFileInputStream because the          *
    *                      underlying ZipFile has been closed.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    ZipFileLoadStrateyImpl.getFiles() processing closes the
    ZipFile at the end of generating the files list.  But, the
    ZipFile was originally opened by the annotation scanning
    process which still had active ZipFileInputStreams using the
    ZipFile. After getFiles() closes the ZipFile, the next attempt
    to use the ZipFileInputStream results in a ZipException.
    

Problem conclusion

  • EARFileImpl.getFiles() has been changed to avoid a recursive
    call to getFiles() that occurs when loading the deployment
    descriptor. This recursive call lead to the error described
    above.
    .
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.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

    PK99796

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-10-28

  • Closed date

    2010-03-26

  • Last modified date

    2010-03-29

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 February 2022