Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1732

IndexOutOfBoundsException when getting request.getPathInfo() on WebSphere

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Java-SCA-1.0
    • Java-SCA-1.0
    • SCA Java Runtime
    • None

    Description

      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().

      Attachments

        Activity

          People

            jsdelfino Jean-Sebastien Delfino
            jsdelfino Jean-Sebastien Delfino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: