Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5211

Broker logs spurious "No valid transition from state CLOSED to state CLOSING" on shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.25
    • 0.26
    • None
    • None

    Description

      On trunk, if I gracefully shutdown the Broker, I see the following spurious exception logged to the logs:

      2013-10-07 11:14:19,978 ERROR [Broker-Configuration-Thread] (virtualhost.AbstractVirtualHost) - Failed to close message store
      java.lang.IllegalStateException: No valid transition from state CLOSED to state CLOSING
              at org.apache.qpid.server.store.StateManager.attainState(StateManager.java:127)
              at org.apache.qpid.server.store.AbstractJDBCMessageStore.close(AbstractJDBCMessageStore.java:674)
              at org.apache.qpid.server.virtualhost.AbstractVirtualHost.closeStorage(AbstractVirtualHost.java:674)
              at org.apache.qpid.server.virtualhost.AbstractVirtualHost.close(AbstractVirtualHost.java:643)
              at org.apache.qpid.server.model.adapter.VirtualHostAdapter.setState(VirtualHostAdapter.java:1088)
              at org.apache.qpid.server.model.adapter.AbstractAdapter.setDesiredState(AbstractAdapter.java:122)
              at org.apache.qpid.server.model.adapter.BrokerAdapter.changeState(BrokerAdapter.java:919)
              at org.apache.qpid.server.model.adapter.BrokerAdapter.setState(BrokerAdapter.java:894)
              at org.apache.qpid.server.model.adapter.AbstractAdapter.setDesiredState(AbstractAdapter.java:122)
              at org.apache.qpid.server.configuration.updater.ChangeStateTask.call(ChangeStateTask.java:59)
              at org.apache.qpid.server.configuration.updater.ChangeStateTask.call(ChangeStateTask.java:28)
              at org.apache.qpid.server.configuration.updater.TaskExecutor.executeTask(TaskExecutor.java:213)
              at org.apache.qpid.server.configuration.updater.TaskExecutor.access$200(TaskExecutor.java:46)
              at org.apache.qpid.server.configuration.updater.TaskExecutor$CallableWrapper$1.run(TaskExecutor.java:252)
              at java.security.AccessController.doPrivileged(Native Method)
              at javax.security.auth.Subject.doAs(Subject.java:396)
              at org.apache.qpid.server.configuration.updater.TaskExecutor$CallableWrapper.call(TaskExecutor.java:247)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:662)
      

      Attachments

        Activity

          People

            orudyy Alex Rudyy
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: