activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arthur Naseef (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4970) Deletion of a queue inaffective across broker restart
Date Sat, 18 Jan 2014 04:19:19 GMT

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

Arthur Naseef commented on AMQ-4970:
------------------------------------

Two starts of the queue.  FIRST STACK is the trace on the first call to {{Queue.start}} and
the SECOND is, well, the second.

{noformat}
2014-01-17 21:15:07,071 ERROR [main] org.apache.activemq.broker.region.Queue - TBD ASN XXX:
first start
java.lang.Exception: FIRST STACK
	at org.apache.activemq.broker.region.Queue.start(Queue.java:1008)
	at org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:140)
	at org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:321)
	at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:167)
	at org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:169)
	at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:167)
	at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:167)
	at org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:172)
	at org.apache.activemq.broker.region.AbstractRegion.start(AbstractRegion.java:98)
	at org.apache.activemq.broker.region.RegionBroker.start(RegionBroker.java:190)
	at org.apache.activemq.broker.jmx.ManagedRegionBroker.start(ManagedRegionBroker.java:120)
	at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:182)
	at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:182)
	at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:120)
	at org.apache.activemq.broker.BrokerService$5.start(BrokerService.java:2150)
	at org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:648)
	at org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:632)
	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:568)
	at org.apache.activemq.AMQ4970Test.setupBroker(AMQ4970Test.java:90)
	at org.apache.activemq.AMQ4970Test.restartBroker(AMQ4970Test.java:221)
	at org.apache.activemq.AMQ4970Test.runOneTestQueueRemoval(AMQ4970Test.java:184)
	at org.apache.activemq.AMQ4970Test.testQueueDeletionViaBrokerViewRemoveQueueInKahaDBStore(AMQ4970Test.java:128)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
2014-01-17 21:15:07,074 ERROR [main] org.apache.activemq.broker.region.Queue - TBD ASN XXX:
second start
java.lang.Exception: SECOND STACK
	at org.apache.activemq.broker.region.Queue.start(Queue.java:1005)
	at org.apache.activemq.broker.region.AbstractRegion.start(AbstractRegion.java:104)
	at org.apache.activemq.broker.region.RegionBroker.start(RegionBroker.java:190)
	at org.apache.activemq.broker.jmx.ManagedRegionBroker.start(ManagedRegionBroker.java:120)
	at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:182)
	at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:182)
	at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:120)
	at org.apache.activemq.broker.BrokerService$5.start(BrokerService.java:2150)
	at org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:648)
	at org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:632)
	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:568)
	at org.apache.activemq.AMQ4970Test.setupBroker(AMQ4970Test.java:90)
	at org.apache.activemq.AMQ4970Test.restartBroker(AMQ4970Test.java:221)
	at org.apache.activemq.AMQ4970Test.runOneTestQueueRemoval(AMQ4970Test.java:184)
	at org.apache.activemq.AMQ4970Test.testQueueDeletionViaBrokerViewRemoveQueueInKahaDBStore(AMQ4970Test.java:128)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
{noformat}

> Deletion of a queue inaffective across broker restart
> -----------------------------------------------------
>
>                 Key: AMQ-4970
>                 URL: https://issues.apache.org/jira/browse/AMQ-4970
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.9.0
>         Environment: mac osx/mavericks
>            Reporter: Arthur Naseef
>         Attachments: AMQ4970Test.zip, AMQ4970Test.zip, AMQ4970Test.zip
>
>
> Deleting a queue, it is revived from persistent store after a broker restart.  The following
steps reproduce the problem:
> * Create a queue (confirmed using the REST client I/F)
> * Shutdown the broker
> * Startup the broker
> * Confirm queue still exists via the hawtio ui (correct operation so far)
> * Delete the queue
> * Confirm queue removed via the hawtio ui
> * Shutdown the broker
> * Startup the broker
> * Confirm queue was not recreated via hawtio ui (failed: queue still exists)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message