You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/02/01 14:18:00 UTC

[jira] [Commented] (GEODE-4013) shutdown of a cache server with ServerLauncher causes JVM to exit before completing shutdown

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

ASF subversion and git services commented on GEODE-4013:
--------------------------------------------------------

Commit 503d622f6dd5082df18cc0a55e9719ea144ef8a7 in geode's branch refs/heads/develop from [~jens.deppe]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=503d622 ]

GEODE-4013: Ensure that non-daemon thread is used during shutdown of … (#1368)



> shutdown of a cache server with ServerLauncher causes JVM to exit before completing shutdown
> --------------------------------------------------------------------------------------------
>
>                 Key: GEODE-4013
>                 URL: https://issues.apache.org/jira/browse/GEODE-4013
>             Project: Geode
>          Issue Type: Bug
>          Components: management
>    Affects Versions: 1.3.0
>            Reporter: Bruce Schuchardt
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Also see GEODE-1236, concerning the same behavior with GFSH.
> A server launched via ServerLauncher is kept alive by its AcceptorImpl thread.  That is the only non-daemon thread in the JVM.  If you shutdown that server with ServerLauncher it will invoke cache.close() which midway through closing will terminate the AcceptorImpl thread and cause the JVM to exit.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)