IBM Support

PK65408: "SRVE0190E: FILE NOT FOUND:" FROM A JSP WHICH USES PAGECONTEXT.INCLUDE TO INCLUDE A FILE WHICH DOES NOT EXIST.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you have a JavaServer Page (JSP) which uses
    pageContext.include to include a file which does not exist,
    you will get an "SRVE0190E: File not found:" and the JSP page
    will not be displayed. Previously the missing file would be
    ignored, and the JSP page would be displayed.
    
    A new property has been added,
    com.ibm.ws.webcontainer.throwMissingFileException
    If it is set to true, if the included file does not exist, then
    an exception will be thrown to the JSP. The JSP can catch and
    ignore the exception, and the page will be generated as if the
    included did not occur.
    

Local fix

  • Use an empty file for the included file.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server version    *
    *                  6.0.2 and 6.1 users of JavaServer Pages     *
    *                  (JSPs).                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: When a JSP includes a file that does    *
    *                      not exist, an expected exception is     *
    *                      not thrown.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In WebSphere Application Server version 5.1 a
    FileNotFoundException is thrown when a JSP includes a file
    that does not exist. In WebSphere Application Server versions
    6.0.2 and 6.1 an error page is returned. This will cause
    problems for users who are expecting a FileNotFoundException.
    

Problem conclusion

  • The WebContainer was modified to throw a FileNotFoundException
    when a file that does not exist is the target of a request
    dispatcher include or forward. Also, any logging of the
    failure has been suppressed. Further, if a request results in
    a 404 exception, FFDC's are no longer created. To enable this
    behavior the following WebContainer custom property must be
    set to true:
    com.ibm.ws.webcontainer.modifiedFileNotFoundExceptionBehavior
    For instructions on setting a WebContainer customer property
    please refer to the following information:
    http://www.ibm.com/support/docview.wss?rss=180&uid=swg21284395
    
    The fix for this APAR is currently targeted for inclusion in
    fixpacks 6.0.2.31 and 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

    PK65408

  • Reported component name

    WEBSPH APP SERV

  • Reported component ID

    5724J0800

  • Reported release

    60S

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-05-01

  • Closed date

    2008-08-06

  • Last modified date

    2008-08-06

  • 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

    WEBSPH APP SERV

  • Fixed component ID

    5724J0800

Applicable component levels

  • R60A PSY

       UP

  • R60H PSY

       UP

  • R60I PSY

       UP

  • R60P PSY

       UP

  • R60S PSY

       UP

  • R60W PSY

       UP

  • R60Z PSY

       UP

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP

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

Document Information

Modified date:
29 December 2021