You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org> on 2007/09/18 07:19:43 UTC

[jira] Resolved: (TUSCANY-1732) IndexOutOfBoundsException when getting request.getPathInfo() on WebSphere

     [ https://issues.apache.org/jira/browse/TUSCANY-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Sebastien Delfino resolved TUSCANY-1732.
---------------------------------------------

    Resolution: Fixed

Fixed, the webapp samples are not running into this exception anymore.

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org