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

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2
    • None
    • tomcat7
    • None
    • 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

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

            Dates

              Created:
              Updated: