You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Olivier Lamy (*$^¨%`£ JIRA)" <ji...@apache.org> on 2014/04/09 14:23:17 UTC

[jira] [Commented] (MTOMCAT-266) The attribute crashes Tomcat on startup

    [ https://issues.apache.org/jira/browse/MTOMCAT-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13964081#comment-13964081 ] 

Olivier Lamy (*$^¨%`£) commented on MTOMCAT-266:
------------------------------------------------

Are you using maven 3.1+ ?
If yes it's an issue with maven when running shutdownhook. BTW your build is success


> The <fork> attribute crashes Tomcat on startup
> ----------------------------------------------
>
>                 Key: MTOMCAT-266
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-266
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.2
>         Environment: Windows 8.1, Java 1.7.0_51 and Maven 3.2.1
>            Reporter: M. R.
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>         Attachments: tomcat-plugin-crash.txt
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org