IBM Support

PK25868: WHEN CLIENT USES SERVLET FILTER FUNCTION THEY ARE RECEIVING AN ERROR 500

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When client sets servlet filter function they are receiving an
    error 500 when they hit their uri.
    
    In the systemout the following errors show:
    ■06/05/19 10:34:35:992 JST 000016d9 WebApp        E
    SRVE0026E: ■ ト￐
     トヘトJト[トフトnトᅠトdト■トヘ
    -■com.ibm.ws.webcontainer.extension.DefaultExtensi
    onProcessor: java.lang.ClassC
    astException:
    com.ibm.ws.webcontainer.extension.DefaultExtensionProcess
    or
            at
    com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.
    handleRequest(DefaultExtensionProcessor.java:516)
            at
    com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.j
    ava(Compiled Code))
            at
    com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGro
    up.java(Compiled Code))
            at
    com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHos
    t.java(Compiled Code))
            at
    com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContai
    ner.java(Compiled Code))
            at
    com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChanne
    lLink.java(Compiled Code))
            at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleD
    iscrimination(HttpInboundLink.java(Compiled Code))
            at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleN
    ewInformation(HttpInboundLink.java(Compiled Code))
            at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(H
    ttpInboundLink.java(Compiled Code))
            at
    com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback
    .sendToDiscriminaters(NewConnectionInitialReadCallback.java(Comp
    iled Co
    de))
            at
    com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback
    .complete(NewConnectionInitialReadCallback.java(Compiled Code))
            at
    com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete
    (WorkQueueManager.java(Compiled Code))
            at
    com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQ
    ueueManager.java(Compiled Code))
            at
    com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQ
    ueueManager.java(Compiled Code))
            at
    com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(Work
    QueueManager.java(Compiled Code))
            at
    com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compil
    ed Code))
    

Local fix

  • testfix
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: WebSphere Application Server version 6       *
    *                 users who utilize file serving, but not      *
    *                 directory browsing.                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: When file serving is enabled and        *
    *                      directory browsing is disabled, a       *
    *                      ClassCastException can occur when the   *
    *                      resource does not exist and there are   *
    *                      filters defined.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The WebContainer is blindly casting to an IServletWrapper which
    can result in a ClassCastException if directory browsing is
    disabled, because instead of mapping to a servlet, it maps
    to the DefaultExtensionProcessor.
    

Problem conclusion

  • The WebContainer nows checks to see if directory browsing is
    enabled before entering logic to invoke filters on the
    directory browsing processor.
    
    The fix for this APAR is currently targeted for inclusion
    in fixpacks 6.0.2.13 and 6.1.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

    PK25868

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    60I

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-06-01

  • Closed date

    2006-06-23

  • Last modified date

    2008-02-05

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

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

Modules/Macros

  • WEBCONT
    

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

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":"BU053","label":"Cloud & Data Platform"},"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:
18 October 2021