Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-266

The <fork> attribute crashes Tomcat on startup

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: tomcat7
    • Labels:
      None
    • Environment:
      Windows 8.1, Java 1.7.0_51 and Maven 3.2.1

      Description

      The plugin works perfectly running Tomcat with my project web application.
      I do "mvn tomcat7:run" and the server is started, the webapp is deployed and I can browse to it.

      If I add the <fork /> attribute, though, the server crashes.

      Here's (a portion of) my pom:

      <plugin>
      <groupId>org.apache.tomcat.maven</groupId>
      <artifactId>tomcat7-maven-plugin</artifactId>
      <version>2.2</version>

      <configuration>
      <address>localhost</address>
      <port>8080</port>
      <path>/</path>
      <uriEncoding>UTF-8</uriEncoding>
      </configuration>
      </plugin>

      (I'll add the stacktrace later)

        Attachments

          Activity

            People

            • Assignee:
              olamy Olivier Lamy
              Reporter:
              watery M. R.
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: