tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christofer Dutz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-1364) When using the tomee-maven-plugins stop goal tomee seems to hang forever
Date Fri, 26 Sep 2014 08:54:34 GMT

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

Christofer Dutz commented on TOMEE-1364:
----------------------------------------

I didn't want to change the logic of the connect method as I saw it was used in other places.
After all we want to check if we can't connect. I I think we need two different implementations.
One that you can use to connect and one to check if a connection is possible.

> When using the tomee-maven-plugins stop goal tomee seems to hang forever
> ------------------------------------------------------------------------
>
>                 Key: TOMEE-1364
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1364
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Maven Plugin
>    Affects Versions: 1.7.0, 2.0.0, 1.7.1
>            Reporter: Christofer Dutz
>             Fix For: 2.0.0, 1.7.2
>
>         Attachments: TOMEE-1364-2.0.0-SNAPSHOT.diff
>
>
> When running Tomee in a setup for UI tests (separate start and stop executions) the stop
seems to hang forever. 
> When looking through the code, it seems Tomee is correctly shut down (At least the ports
it opened closed and the processes are killed), but the maven plugin seems to try to get a
connection to the shutdown port for MAXINT times, waiting a second between each try. As far
as I understood the code, there is no way not to wait for 78 years in order to gracefully
shut down Tomee.
> As I already investigated the problem in detail, I'll whip up a patch and attach that
to this issue later this day (Will create one for 1.7.x and one for HEAD)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message