IBM Support

PI43752: asynccontext.dispatch() dispatches to an incorrect uri

Download


Abstract

The javax.servlet.AsyncContext.dispatch() method uses the wrong URI when dispatching.

Download Description

PI43752 resolves the following problem:

ERROR DESCRIPTION:
Async request dispatcher might dispatch to the original request URI instead of the result of
HttpServletRequest.getRequestURI()

LOCAL FIX:
None

PROBLEM SUMMARY

USERS AFFECTED:
IBM WebSphere Application Server Full Profile version 8.5.5 and Liberty Profile version 8.5.5 users of async servlets.

PROBLEM DESCRIPTION:
The javax.servlet.AsyncContext.dispatch() method uses the wrong URI when dispatching.

RECOMMENDATION:
None

A call to javax.servlet.AsyncContext.dispatch() might dispatch to the original URI instead of the new dispatched URI which is the result of
javax.servlet.http.HttpServletRequest.getRequestURI().

PROBLEM CONCLUSION:
The WebContainer code was modified to dispatch to the correct URI when a new WebContainer custom property is set.

A new WebContainer custom property needs to be set to enable this behavior:
Name:
com.ibm.ws.webcontainer.setAsyncDispatchRequestURI

Values: true / false (default)


Please refer to the following technote for instructions on enabling WebContainer custom properties:

Full profile:
http://www.ibm.com/support/docview.wss?rss=180&uid=swg21284395

Liberty profile:
http://www-01.ibm.com/support/docview.wss?uid=swg21597753


The fix for this APAR is currently targeted for inclusion in fixpack 8.5.5.9.
Please refer to the recommended updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Prerequisites

None

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"4782","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PI43752/8.5.5.7/readme.txt"}]
On
[{"DNLabel":"8.5.5.5-WS-WAS-IFPI43752","DNDate":"10-26-2015","DNLang":"US English","DNSize":"300432","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www-933.ibm.com/eserver/support/fixes/fixcentral/swgquickorder?fixes=8.5.5.5-WS-WAS-IFPI43752&productid=WebSphere%20Application%20Server&brandid=5","DNURL_FTP":null,"DDURL":null},{"DNLabel":"8.5.5.7-WS-WAS-IFPI43752","DNDate":"10-26-2015","DNLang":"US English","DNSize":"299120","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www-933.ibm.com/eserver/support/fixes/fixcentral/swgquickorder?fixes=8.5.5.7-WS-WAS-IFPI43752&productid=WebSphere%20Application%20Server&brandid=5","DNURL_FTP":null,"DDURL":null}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server support web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"},{"code":"PF013","label":"Inspur K-UX"}],"Version":"8.5.5.5;8.5.5.6;8.5.5.7","Edition":"Advanced;Base;Developer;Enterprise;Express;Network Deployment;Single Server","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24041141