Details

    • Type: Improvement
    • Status: Closed (View workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 1.4.17
    • Components: Tomcat
    • Labels:
      None

      Description

      When starting Tomcat with Cargo then start fails if in Tomcat server.xml is no AJP-Connector specified. The following error occurs:

      Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.17-SNAPSHOT:run failed: Can not modify XML file .../server.xml: Node //Server/Service/Connector[@protocol='AJP/1.3'] not found in file .../server.xml -> [Help 1]
      

      It isn't possible to deactivate the replacement of the AJP-Connector. AJP is only need when running behind mod_jk and if you don't want to open the AJP-Port with Tomcat this isn't possible with cargo.

      The replacement is specified in Tomcat5xStandaloneLocalConfiguration.java

      I think the error could be ignored if not possible to replace the value.
      XmlReplacementDetails.java has already the option to ignore such errors.

        Attachments

          Activity

            People

            • Assignee:
              wklaus Wolfgang Klaus (Inactive)
              Reporter:
              wklaus Wolfgang Klaus (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: