Alex Rudyy created QPID-7261:
--------------------------------

             Summary: [Java Broker] Deletion of virtual host/virtual host node 
does not closes active connections
                 Key: QPID-7261
                 URL: https://issues.apache.org/jira/browse/QPID-7261
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: qpid-java-6.1
            Reporter: Alex Rudyy


Deletion of virtual host/virtual host node does not closes active connections. 
If not closed connection is attempted to be closed from client side Broker 
crushes with exception like the one below:

{noformat}
########################################################################
#
# Unhandled Exception java.lang.IllegalStateException: Task executor 
VirtualHostNode-test-Config is not in ACTIVE state in Thread IO-/127.0.0.1:52792
#
# Exiting
#
########################################################################
java.lang.IllegalStateException: Task executor VirtualHostNode-test-Config is 
not in ACTIVE state
        at 
org.apache.qpid.server.configuration.updater.TaskExecutorImpl.checkState(TaskExecutorImpl.java:225)
        at 
org.apache.qpid.server.configuration.updater.TaskExecutorImpl.submitWrappedTask(TaskExecutorImpl.java:147)
        at 
org.apache.qpid.server.configuration.updater.TaskExecutorImpl.submit(TaskExecutorImpl.java:142)
        at 
org.apache.qpid.server.model.AbstractConfiguredObject.doOnConfigThread(AbstractConfiguredObject.java:554)
        at 
org.apache.qpid.server.virtualhost.AbstractVirtualHost.deregisterConnectionAsync(AbstractVirtualHost.java:1808)
        at 
org.apache.qpid.server.virtualhost.AbstractVirtualHost.deregisterConnection(AbstractVirtualHost.java:1803)
        at 
org.apache.qpid.server.protocol.v0_8.AMQPConnection_0_8.closed(AMQPConnection_0_8.java:716)
        at 
org.apache.qpid.server.transport.MultiVersionProtocolEngine.closed(MultiVersionProtocolEngine.java:114)
        at 
org.apache.qpid.server.transport.NonBlockingConnection.shutdown(NonBlockingConnection.java:405)
        at 
org.apache.qpid.server.transport.NonBlockingConnection.doWork(NonBlockingConnection.java:328)
        at 
org.apache.qpid.server.transport.NetworkConnectionScheduler.processConnection(NetworkConnectionScheduler.java:124)
        at 
org.apache.qpid.server.transport.SelectorThread$ConnectionProcessor.processConnection(SelectorThread.java:504)
        at 
org.apache.qpid.server.transport.SelectorThread$SelectionTask.performSelect(SelectorThread.java:337)
        at 
org.apache.qpid.server.transport.SelectorThread$SelectionTask.run(SelectorThread.java:87)
        at 
org.apache.qpid.server.transport.SelectorThread.run(SelectorThread.java:462)
        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)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to