Skip to Main Content
Cloud Platform


This is an IBM Automation portal for Cloud Platform products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Delivered
Workspace WebSphere Liberty
Created by Guest
Created on May 14, 2018

Update error messages for non-async servletfilters .

This was a pmr /case TS000806721 and it was agreed to post it as a RFE.

I am using latest liberty profile 17.0.0.x (tried .2 and .3) with the
shipped JDK8 from wasdev. I also tried openliberty with the same result.

If you use Servlet's asyncresponse and use a Servlet-Filter in web.xml,
Liberty will throw (correctly) an error SC for those servlets. However,
liberty will *only* give a SC 500 with no further explanation:

Caused by: javax.servlet.ServletException: Filtered request failed.
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal
(AbstractShiroFilter.java:384)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter
(OncePerRequestFilter.java:125)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter
(FilterInstanceWrapper.java:207)
... 1 more
Caused by: java.lang.NullPointerException
at org.apache.cxf.jaxrs.impl.AsyncResponseImpl.initContinuation
(AsyncResponseImpl.java:357)


The stack trace does not give a good hint of what is misconfigured.
Other products (like wildfly) give a hint that the filter is not async-
enabled
and will refuse to run the servlet at all.

Proposed solution:
1.) Give a hint that a non-async-enabled Filter is being used for async
servlets
2.) Give a hint that a possible workaround is to add supported>true to web.xml, but only if the
user/developer is sure, that the Servlet is indeed async capable.

Please consider this and also include this in WDT for Eclipse.

Thank you very much!


Reproducible: always.


*** --- FOR SR USE ONLY ---
*** XRQXSRprNode2881512042782937
*** CAG324677 ENG Y
*** MTS
*** 5725L29:CD0 /5725L2900:CD0 (ENT)

Idea priority Medium
RFE ID 120020
RFE URL
RFE Product WebSphere Application Server
  • Guest
    Reply
    |
    Nov 1, 2021

    Thank you very much Alasdair!

  • Guest
    Reply
    |
    Oct 29, 2021

    The error message was improved in 20.0.0.3 to indicate the cause of the problem.