{"action":"created","issue":{"url":"https://api.github.com/repos/wildfly/wildfly/issues/8091","labels_url":"https://api.github.com/repos/wildfly/wildfly/issues/8091/labels{/name}","comments_url":"https://api.github.com/repos/wildfly/wildfly/issues/8091/comments","events_url":"https://api.github.com/repos/wildfly/wildfly/issues/8091/events","html_url":"https://github.com/wildfly/wildfly/issues/8091","id":105758847,"number":8091,"title":"org.jboss.remoting3.NotOpenException with  java.lang.IllegalStateException while server shutting down","user":{"login":"AlerantAppNGIN","id":10865956,"avatar_url":"https://avatars.githubusercontent.com/u/10865956?v=3","gravatar_id":"","url":"https://api.github.com/users/AlerantAppNGIN","html_url":"https://github.com/AlerantAppNGIN","followers_url":"https://api.github.com/users/AlerantAppNGIN/followers","following_url":"https://api.github.com/users/AlerantAppNGIN/following{/other_user}","gists_url":"https://api.github.com/users/AlerantAppNGIN/gists{/gist_id}","starred_url":"https://api.github.com/users/AlerantAppNGIN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlerantAppNGIN/subscriptions","organizations_url":"https://api.github.com/users/AlerantAppNGIN/orgs","repos_url":"https://api.github.com/users/AlerantAppNGIN/repos","events_url":"https://api.github.com/users/AlerantAppNGIN/events{/privacy}","received_events_url":"https://api.github.com/users/AlerantAppNGIN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-10T08:31:04Z","updated_at":"2015-09-10T09:44:33Z","closed_at":null,"body":"When stopping a Wildfly 8.2.0 server instance, the following line appeared in the log:\r\n\r\n2015-09-04 11:07:39,810 ERROR [org.jboss.remotingjmx.protocol.v2.ServerCommon] org.jboss.remoting3.NotOpenException: Writes closed\r\n\r\nAlso there is an IllegalStateException right before that ERROR line:\r\n\r\n2015-09-04 11:07:39,806 WARN [org.jboss.remotingjmx.protocol.v2.ServerCommon] Unexpected internal error: java.lang.IllegalStateException\r\nat org.jboss.as.patching.installation.InstallationManagerService.getValue(InstallationManagerService.java:87) [wildfly-patching-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.patching.installation.InstallationManagerService.getValue(InstallationManagerService.java:28) [wildfly-patching-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1158) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]\r\nat org.jboss.as.patching.management.PatchResource$ElementProviderResourceProvider.children(PatchResource.java:139) [wildfly-patching-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.patching.management.PatchResource$ElementProviderResourceProvider.hasChildren(PatchResource.java:134) [wildfly-patching-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.controller.registry.AbstractModelResource.hasChildren(AbstractModelResource.java:81) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.controller.registry.AbstractModelResource$DelegateResource.hasChildren(AbstractModelResource.java:279) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.jmx.model.RootResourceIterator.doIterate(RootResourceIterator.java:57) [wildfly-jmx-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.jmx.model.RootResourceIterator.doIterate(RootResourceIterator.java:61) [wildfly-jmx-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.jmx.model.RootResourceIterator.iterate(RootResourceIterator.java:43) [wildfly-jmx-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.jmx.model.ModelControllerMBeanHelper.getMBeanCount(ModelControllerMBeanHelper.java:105) [wildfly-jmx-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.jmx.model.ModelControllerMBeanServerPlugin.getMBeanCount(ModelControllerMBeanServerPlugin.java:157) [wildfly-jmx-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.jmx.PluggableMBeanServerImpl.getMBeanCount(PluggableMBeanServerImpl.java:554) [wildfly-jmx-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.jmx.BlockingNotificationMBeanServer.getMBeanCount(BlockingNotificationMBeanServer.java:143) [wildfly-jmx-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.remotingjmx.protocol.v2.ServerProxy$GetMBeanCountHandler.handle(ServerProxy.java:655)\r\nat org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1$1.run(ServerCommon.java:153)\r\nat org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:75) [wildfly-jmx-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:70) [wildfly-jmx-8.2.0.Final.jar:8.2.0.Final]\r\nat java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_60]\r\nat javax.security.auth.Subject.doAs(Subject.java:422) [rt.jar:1.8.0_60]\r\nat org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.as.jmx.ServerInterceptorFactory$Interceptor.handleEvent(ServerInterceptorFactory.java:70) [wildfly-jmx-8.2.0.Final.jar:8.2.0.Final]\r\nat org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:149)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_60]\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_60]\r\nat java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]\r\n\r\nIt seems as if the server was in the process of shutting down its services when a JMX connection was requested. We were able to confirm this by initiating a JMX connection, then almost at the same time we initiated a graceful stop on the server as well, and the aforementioned ERROR appeared in the log."},"comment":{"url":"https://api.github.com/repos/wildfly/wildfly/issues/comments/139186667","html_url":"https://github.com/wildfly/wildfly/issues/8091#issuecomment-139186667","issue_url":"https://api.github.com/repos/wildfly/wildfly/issues/8091","id":139186667,"user":{"login":"ctomc","id":824084,"avatar_url":"https://avatars.githubusercontent.com/u/824084?v=3","gravatar_id":"","url":"https://api.github.com/users/ctomc","html_url":"https://github.com/ctomc","followers_url":"https://api.github.com/users/ctomc/followers","following_url":"https://api.github.com/users/ctomc/following{/other_user}","gists_url":"https://api.github.com/users/ctomc/gists{/gist_id}","starred_url":"https://api.github.com/users/ctomc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctomc/subscriptions","organizations_url":"https://api.github.com/users/ctomc/orgs","repos_url":"https://api.github.com/users/ctomc/repos","events_url":"https://api.github.com/users/ctomc/events{/privacy}","received_events_url":"https://api.github.com/users/ctomc/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T09:44:33Z","updated_at":"2015-09-10T09:44:33Z","body":"We don't use github issues.\r\nYou should ether use mailing list, user forums or file jira report if you found bug.\r\nsee http://wildfly.org/gethelp/ for details where to get hold of team."}}