tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MTOMCAT-266) The <fork> attribute crashes Tomcat on startup
Date Thu, 17 Apr 2014 05:56:15 GMT

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

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

NOTE: the server doesn't crash but stop because of the fork attribute to true.
So if you want to simply browse just use fork to false.
fork to true is used for integration test as starting a tomcat then running selenium tests
or something else then stop it.
I don't understand what is your goal here?

> 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


Mime
View raw message