IBM Support

PI66271: When using c:import to import a file that does not exist, an error 500 is received

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When FileNotFoundException is expected/generated, we should
    have a property to ignore the FileNotFoundException and
    continue to display the JSP page.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server versions   *
    *                  8.0, 8.5.5, and 9.0 and Liberty users of    *
    *                  JavaServer Pages (JSP)                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using c:import to import a file    *
    *                      that does not exist, an error code      *
    *                      500 is received.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a JSP page uses the JSTL c:import tag to import a file that
    does not exist, the following response is received:
    Error 500:
    com.ibm.ws.webcontainer.exception.IncludeFileNotFoundException:
    SRVE0190E: File not found: /test.htm
    

Problem conclusion

  • The JSP container was modified to not send a 500 error code
    when the JSTL
    c:import tag is used to import an nonexistent file.
    
    To activate this fix the following JVM custom property needs
    to be set:
    
    com.ibm.ws.jsp.proceedOnFileNotFoundExceptionDynamicImport:
    true / false
    (default)
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 7.0.0.43, 8.0.0.13, 8.5.5.11, and 16.0.0.3.  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

    PI66271

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-21

  • Closed date

    2016-08-09

  • Last modified date

    2016-08-09

  • 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

  • R700 PSY

       UP

  • R800 PSY

       UP

  • R850 PSY

       UP

  • R900 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 850

Reference #: PI66271

Modified date: 09 August 2016