Uploaded image for project: 'JBoss Remoting (3+)'
  1. JBoss Remoting (3+)
  2. REM3-183

If a CloseHandler fails other closing parties may hang

XMLWordPrintable

      17:32:54,150 ERROR [org.jboss.remoting.handler-errors] (main) Close handler threw an exception: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThread")
      	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
      	at java.security.AccessController.checkPermission(AccessController.java:559)
      	at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
      	at java.util.concurrent.ThreadPoolExecutor.checkShutdownAccess(ThreadPoolExecutor.java:733)
      	at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:1390)
      	at org.xnio.XnioWorker.shutDownTaskPool(XnioWorker.java:559)
      	at org.xnio.nio.NioXnioWorker.shutdown(NioXnioWorker.java:615)
      	at org.jboss.remoting3.EndpointImpl.finishPhase1(EndpointImpl.java:173)
      	at org.jboss.remoting3.EndpointImpl.closeTick1(EndpointImpl.java:157)
      	at org.jboss.remoting3.EndpointImpl.access$000(EndpointImpl.java:66)
      	at org.jboss.remoting3.EndpointImpl$7.handleClose(EndpointImpl.java:437)
      	at org.jboss.remoting3.EndpointImpl$7.handleClose(EndpointImpl.java:434)
      	at org.jboss.remoting3.spi.SpiUtils.safeHandleClose(SpiUtils.java:54)
      	at org.jboss.remoting3.spi.AbstractHandleableCloseable$CloseHandlerTask.run(AbstractHandleableCloseable.java:501)
      	at org.jboss.remoting3.spi.AbstractHandleableCloseable.runCloseTask(AbstractHandleableCloseable.java:406)
      	at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeComplete(AbstractHandleableCloseable.java:277)
      	at org.jboss.remoting3.remote.RemoteConnectionProvider.closeAction(RemoteConnectionProvider.java:189)
      	at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:359)
      	at org.jboss.remoting3.EndpointImpl.closeAction(EndpointImpl.java:204)
      	at org.jboss.remoting3.spi.AbstractHandleableCloseable.close(AbstractHandleableCloseable.java:153)
      	at org.xnio.IoUtils.safeClose(IoUtils.java:137)
      	at org.jboss.ejb.client.test.common.DummyServer.stop(DummyServer.java:166)
      
      "main" prio=10 tid=0x00007eff30009000 nid=0x3067 in Object.wait() [0x00007eff34298000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007d8f0abd8> (a java.lang.Object)
      	at java.lang.Object.wait(Object.java:503)
      	at org.jboss.remoting3.spi.AbstractHandleableCloseable.close(AbstractHandleableCloseable.java:177)
      	- locked <0x00000007d8f0abd8> (a java.lang.Object)
      	at org.xnio.IoUtils.safeClose(IoUtils.java:137)
      	at org.jboss.ejb.client.test.common.DummyServer.stop(DummyServer.java:166)
      

              dlloyd@redhat.com David Lloyd
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: