IndexOutOfBoundsException when getting request.getPathInfo() on WebSphere
--------------------------------------------------------------------------
Key: TUSCANY-1732
URL: https://issues.apache.org/jira/browse/TUSCANY-1732
Project: Tuscany
Issue Type: Bug
Components: Java SCA Core Runtime
Affects Versions: Java-SCA-1.0
Reporter: Jean-Sebastien Delfino
Assignee: Jean-Sebastien Delfino
Priority: Critical
Fix For: Java-SCA-1.0
When running on WebSphere, we need to accomodate for a slightly different
behavior than Tomcat or Jetty, with the current servlet filter + servlet
configuration, getServletPath() returns "" on WebSphere and getPathInfo()
returns what getServletPath() usually returns.
This is currently causing an IndexOutOfBoundsException preventing half of the
Tuscany webapp samples to run correctly on WebSphere.
The fix for this is simple and risk-free, 3 lines of code in
WebAppRequestDispatcher.getPathInfo().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]