PK68016: URLConnection.getInputStream for the wsjar returns null rather than throwing a FileNotException.

Fixes are available

6.1.0.23 WebSphere Application Server V6.1 Fix Pack 23 for i5/OS
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for HP-UX
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for Windows
6.1.0.21 WebSphere Application Server V6.1 Fix Pack 21 for i5/OS
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for Solaris
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for Linux
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for AIX
6.1.0.23 WebSphere Application Server V6.1 Fix Pack 23 for AIX
Java SDK 1.5 SR9 Cumulative Fix for WebSphere Application Server
6.1.0.23: WebSphere Application Server V6.1 Fix Pack 23 for Windows
6.1.0.23: WebSphere Application Server V6.1 Fix Pack 23 for Solaris
6.1.0.23: WebSphere Application Server V6.1 Fix Pack 23 for Linux
6.1.0.23: WebSphere Application Server V6.1 Fix Pack 23 for HP-UX
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for Linux
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for i5/OS
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for HP-UX
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for AIX
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for Solaris
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for Windows
Java SDK 1.5 SR9 Cumulative Fix for WebSphere Application Server
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for i5/OS
Java SDK 1.5 SR10 Cumulative Fix for WebSphere Application Server
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for AIX
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for Windows
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for HP-UX
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for Solaris
6.1.0.31: WebSphere Application Server V6.1 Fix Pack 31 for AIX
6.1.0.31: Java SDK 1.5 SR11 Cumulative Fix for WebSphere Application Server
6.1.0.31: WebSphere Application Server V6.1 Fix Pack 31 for HP-UX
6.1.0.31: WebSphere Application Server V6.1 Fix Pack 31 for Linux
6.1.0.33: Java SDK 1.5 SR12 FP1 Cumulative Fix for WebSphere
6.1.0.33: WebSphere Application Server V6.1 Fix Pack 33 for Windows
6.1.0.33: WebSphere Application Server V6.1 Fix Pack 33 for Solaris
6.1.0.33: WebSphere Application Server V6.1 Fix Pack 33 for Linux
6.1.0.29: WebSphere Application Server V6.1 Fix Pack 29 for AIX
6.1.0.29: WebSphere Application Server V6.1 Fix Pack 29 for HP-UX
6.1.0.29: WebSphere Application Server V6.1 Fix Pack 29 for i5/OS
6.1.0.29: WebSphere Application Server V6.1 Fix Pack 29 for Solaris
6.1.0.29: WebSphere Application Server V6.1 Fix Pack 29 for Windows
6.1.0.29: Java SDK 1.5 SR11 Cumulative Fix for WebSphere Application Server
6.1.0.31: WebSphere Application Server V6.1 Fix Pack 31 for i5/OS
6.1.0.31: WebSphere Application Server V6.1 Fix Pack 31 for Solaris
6.1.0.31: WebSphere Application Server V6.1 Fix Pack 31 for Windows
6.1.0.33: WebSphere Application Server V6.1 Fix Pack 33 for AIX
6.1.0.33: WebSphere Application Server V6.1 Fix Pack 33 for HP-UX
6.1.0.35: WebSphere Application Server V6.1 Fix Pack 35 for AIX
6.1.0.35: WebSphere Application Server V6.1 Fix Pack 35 for HP-UX
6.1.0.35: WebSphere Application Server V6.1 Fix Pack 35 for i5/OS
6.1.0.35: WebSphere Application Server V6.1 Fix Pack 35 for Linux
6.1.0.35: WebSphere Application Server V6.1 Fix Pack 35 for Solaris
6.1.0.35: WebSphere Application Server V6.1 Fix Pack 35 for Windows
6.1.0.35: Java SDK 1.5 SR12 FP2 Cumulative Fix for WebSphere
6.1.0.37: WebSphere Application Server V6.1 Fix Pack 37
6.1.0.37: Java SDK 1.5 SR12 FP3 Cumulative Fix for WebSphere
6.1.0.39: WebSphere Application Server V6.1 Fix Pack 39
6.1.0.39: Java SDK 1.5 SR12 FP4 Cumulative Fix for WebSphere Application Server
6.1.0.41: WebSphere Application Server V6.1 Fix Pack 41
6.1.0.41: Java SDK 1.5 SR12 FP5 Cumulative Fix for WebSphere Application Server
6.1.0.43: WebSphere Application Server V6.1 Fix Pack 43
6.1.0.43: Java SDK 1.5 SR13 Cumulative Fix for WebSphere Application Server
6.1.0.45: WebSphere Application Server V6.1 Fix Pack 45
6.1.0.45: Java SDK 1.5 SR14 Cumulative Fix for WebSphere Application Server
6.1.0.47: WebSphere Application Server V6.1 Fix Pack 47
6.1.0.47: Java SDK 1.5 SR16 Cumulative Fix for WebSphere Application Server
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for Linux
6.1.0.29: WebSphere Application Server V6.1 Fix Pack 29 for Linux

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The URLConnection.getInputStream for the wsjar protocol
    erroneously returns null rather than throwing a
    FileNotFoundException like the builtin jar protocol.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server V6.1 Users *
    *                  of URLConnection.getInputStream.            *
    ****************************************************************
    * PROBLEM DESCRIPTION: The wsjar protocol handler returns      *
    *                      null from URLConnection.getInputStream  *
    *                      when a zip file entry is not found      *
    *                      rather than throwing a                  *
    *                      FileNotFoundException like the jar      *
    *                      protocol handler.                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a class loader locates a resource in a zip file, it
    returns a URL with a wsjar protocol handler.  If that URL is
    used as the context for constructing a new URL for an entry
    that does not exist, URLConnection.getInputStream will return
    null rather than throwing a FileNotFoundException like the jar
    protocol handler.
    

Problem conclusion

  • The wsjar protocol handler is changed to throw
    FileNotFoundException from URLConnection.getInputStream when
    the JVM custom property
    com.ibm.ws.classloader.getInputStream.enableIOException is set
    to true.  If the property is unset or set to false, then the
    current behavior of returning null is retained.
    The fix for this APAR is currently targeted for inclusion in
    fix pack 6.1.0.21.  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

    PK68016

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    61A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-06-23

  • Closed date

    2008-06-26

  • Last modified date

    2008-06-26

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Application Server
General

Software version:

6.1

Reference #:

PK68016

Modified date:

2008-06-26

Translate my page

Machine Translation

Content navigation