You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2017/09/01 10:44:00 UTC

[jira] [Commented] (MEECROWAVE-60) do a more graceful shutdown in meecrowave.sh

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

Mark Struberg commented on MEECROWAVE-60:
-----------------------------------------

kill -15 seems to work fine, but somehow we don't see any logging during shutdown :/

Might be that log4j also catches this signal and then removes all the loggers.

> do a more graceful shutdown in meecrowave.sh
> --------------------------------------------
>
>                 Key: MEECROWAVE-60
>                 URL: https://issues.apache.org/jira/browse/MEECROWAVE-60
>             Project: Meecrowave
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.1.0
>
>
> The meecrowave.sh script currently does a kill -9 to stop tomcat.
> This is the same as the catalina.sh script does it, but I find that way pretty rude.
> We should do a kill -2 (or kill -15) and only do a fallback to kill -9 in case the server hangs after a few retries.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)