IBM Support

PM64368: SUPPRESS LOGGING OF FILENOTFOUNDEXCEPTION STACK IN SYSTEMOUT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Suppress Logging of FileNotFoundException stack in SystemOut
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0 and V8.5                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: When the requested resource is          *
    *                      missing, a severe error message with    *
    *                      FileNotFoundException stacktrace is     *
    *                      logged in JVM logs.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A severe error message with a FileNotFoundException stacktrace
    is logged in JVM logs when a missing resource is requested.
    This may not be a severe error since the wrong resource may
    have been requested accidentally.
    For example, the following error message with stack trace can
    be seen in the logs,
    [xxxxx EST]  000000xx filter        E
    com.ibm.ws.webcontainer.filter.FilterInstanceWrapper xxxx
    SRVE8109W: Uncaught exception thrown by filter xxxxFilter:
    java.io.FileNotFoundException: SRVE0190E: File not found:
    /html/custom/images/circle.GIF
    at
    com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor._pro
    cessEDR(DefaultExtensionProcessor.java:893)
    at
    com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.proc
    essEDR(DefaultExtensionProcessor.java:874)
    at
    com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.hand
    leRequest(DefaultExtensionProcessor.java:434)
    at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(We
    bAppFilterChain.java:125)
    at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:92)
    at
    com.lombardisoftware.servlet.ClearThreadCachesFilter.doFilter(Cl
    earThreadCachesFilter.java:24)
    at
    com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Fi
    lterInstanceWrapper.java:192)
    at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:89)
    ...
    

Problem conclusion

  • The WebContainer code has been updated to suppress the logging
    of Error messages with the java.io.FileNotFoundException
    stacktrace and the related ffdc files in JVM logs.
    
    Instead a warning message will appear in the JVM logs now as
    shown in the following example,
    [xxxxx EST] 000000xx filter        W
    com.ibm.ws.webcontainer.filter.FilterInstanceWrapper xxxx
    SRVE8109W: Uncaught exception thrown by filter xxxxFilter:
    SRVE0190E: File not found: /html/custom/images/circle.GIF
    
    To get this new desired behavior, the following new
    webcontainer custom property will need to be set,
    com.ibm.ws.webcontainer.suppressLoggingFileNotFoundExceptions
    = true (default = false)
    
    Note: the java.io.FileNotFoundException will still be thrown
    back to the caller, but if it is not handled it will not be
    logged when the custom property is set.
    
    Please refer to the following technote for instructions on
    enabling WebContainer custom properties:
    http://www.ibm.com/support/docview.wss?rss=180&uid=swg21284395&n
    bsp;
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.4 and 8.5.0.1.  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

    PM64368

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-10

  • Closed date

    2012-07-11

  • Last modified date

    2012-07-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PM67085

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

  • R850 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":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021