geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Schuchardt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-4013) shutdown of a cache server with ServerLauncher causes JVM to exit before completing shutdown
Date Tue, 28 Nov 2017 18:49:00 GMT

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

Bruce Schuchardt commented on GEODE-4013:
-----------------------------------------

We should check to make sure this isn't also the case for CacheServerLauncher.

> 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
>            Reporter: Bruce Schuchardt
>            Assignee: Bruce Schuchardt
>
> 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
(v6.4.14#64029)

Mime
View raw message