You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2017/09/01 17:39:00 UTC

[jira] [Commented] (GEODE-3088) Failed to properly release resources held by the HTTP service: !STOPPED

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

Kirk Lund commented on GEODE-3088:
----------------------------------

Here's the commit with the fix:
{noformat}
commit 31b650742d7552d12495bc10f7d7a8a88b78370d
Author: Patrick Rhomberg <pr...@pivotal.io>
Date:   Wed Mar 22 13:27:34 2017 -0700

    GEODE-1274: Migration from PulseLogWriter to Log4j standard and removal of associated classes.
    
    * To avoid dependency on geode-core, the pulse loggers are instantiated directly from LogManager, rather than canonical LogService (which itself extends LogManager).
    * Significant reduction of logging level state checks, relying on Log4j handling.
    * Significant reduction of string concatenation, relying on Log4j2 string substitutions.
    * Reduction of logging using an exception e.getMessage, favoring instead passing the exception itself for the stacktrace.
    * Multiple identical exception blocks collapsed.
    * this closes #446
{noformat}

> Failed to properly release resources held by the HTTP service: !STOPPED
> -----------------------------------------------------------------------
>
>                 Key: GEODE-3088
>                 URL: https://issues.apache.org/jira/browse/GEODE-3088
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh, pulse
>    Affects Versions: 1.2.0
>            Reporter: Zachary Hansen
>
> Failed to properly release resources held by the HTTP service: !STOPPED
> java.lang.IllegalStateException: !STOPPED
>     at org.eclipse.jetty.server.handler.HandlerWrapper.destroy(HandlerWrapper.java:134)
>     at org.apache.geode.management.internal.ManagementAgent.stopHttpService(ManagementAgent.java:339)
>     at org.apache.geode.management.internal.ManagementAgent.stopAgent(ManagementAgent.java:157)
>     at org.apache.geode.management.internal.SystemManagementService.close(SystemManagementService.java:265)
>     at org.apache.geode.management.internal.beans.ManagementAdapter.handleCacheRemoval(ManagementAdapter.java:735)
>     at org.apache.geode.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:117)
>     at org.apache.geode.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2162)
>     at org.apache.geode.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:535)
>     at org.apache.geode.internal.cache.GemFireCacheImpl.close(GemFireCacheImpl.java:2145)
>     at org.apache.geode.distributed.internal.InternalDistributedSystem.disconnect(InternalDistributedSystem.java:1323)
>     at org.apache.geode.distributed.internal.InternalDistributedSystem.disconnect(InternalDistributedSystem.java:973)
>     at org.apache.geode.management.internal.cli.functions.ShutDownFunction.lambda$disconnectInNonDaemonThread$0(ShutDownFunction.java:72)
>     at org.apache.geode.management.internal.cli.functions.ShutDownFunction$$Lambda$32/939474416.run(Unknown Source)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>     at java.lang.Thread.run(Thread.java:745)
> Getting this error when running embedded pulse on GemFire 9.0.4. When pulse is accessed via browser and left running, this error occurs when issuing a shutdown command via gfsh. Locator hangs and does not gracefully shutdown. 



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