Apache Tomcat Maven Plugin
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-45

using run mojo with path / doesn't work if application use request.contextPath

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None

      Description

      I don't know if this can be fix in the mojo (need more investigations)

        Activity

        Olivier Lamy (*$^¨%`£) created issue -
        Hide
        Mark Thomas added a comment -

        What kind of error message do you get?

        Usually Tomcat uses a value path="" for the default webapp that is accessible from the URL http://localhost:8080/. Can you try that?

        Show
        Mark Thomas added a comment - What kind of error message do you get? Usually Tomcat uses a value path="" for the default webapp that is accessible from the URL http://localhost:8080/ . Can you try that?
        Hide
        Mark Thomas added a comment -

        It is impossible to pass "" as the path as then maven assumes it is empty and sets it to the default which is .

        The patch provided in MTOMCAT-54 is still needed.

        Show
        Mark Thomas added a comment - It is impossible to pass "" as the path as then maven assumes it is empty and sets it to the default which is . The patch provided in MTOMCAT-54 is still needed.
        Mark Thomas made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Duplicate [ 3 ]

          People

          • Assignee:
            Olivier Lamy (*$^¨%`£)
            Reporter:
            Olivier Lamy (*$^¨%`£)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development