You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "lostincomputer (JIRA)" <ji...@apache.org> on 2012/10/31 07:53:11 UTC
[jira] [Created] (AMQ-4149) Removal of inactive durable subscribers
not working after broker restart
lostincomputer created AMQ-4149:
-----------------------------------
Summary: Removal of inactive durable subscribers not working after broker restart
Key: AMQ-4149
URL: https://issues.apache.org/jira/browse/AMQ-4149
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.6.0
Reporter: lostincomputer
ActiveMQ can automatically unsubscribe durable subscribers that are not active for some period of time http://activemq.apache.org/manage-durable-subscribers.html.
It however, doesn't remove inactive subscriptions created before it is restarted.
Steps to reproduce:
1) Configure ActiveMQ to remove inactive durable subscriptions
2) Create a durable subscription
3) Restart broker
the inactive durable subscription is never removed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4149) Removal of inactive durable
subscribers not working after broker restart
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487744#comment-13487744 ]
Timothy Bish commented on AMQ-4149:
-----------------------------------
Added test to DurableSubscriptionRemoveOfflineTest with broker restart, inactive subscription was cleaned up as expected. Perhaps you can look and modify to reflect your configuration and reproduce what you are seeing.
> Removal of inactive durable subscribers not working after broker restart
> ------------------------------------------------------------------------
>
> Key: AMQ-4149
> URL: https://issues.apache.org/jira/browse/AMQ-4149
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0, 5.7.0
> Reporter: lostincomputer
>
> ActiveMQ can automatically unsubscribe durable subscribers that are not active for some period of time http://activemq.apache.org/manage-durable-subscribers.html.
> It however, doesn't remove inactive subscriptions created before it is restarted.
> Steps to reproduce:
> 1) Configure ActiveMQ to remove inactive durable subscriptions
> 2) Create a durable subscription
> 3) Restart broker
> the inactive durable subscription is never removed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (AMQ-4149) Removal of inactive durable
subscribers not working after broker restart
Posted by "lostincomputer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488398#comment-13488398 ]
lostincomputer edited comment on AMQ-4149 at 11/1/12 1:11 AM:
--------------------------------------------------------------
Attached is the activemq.xml I use for manual testing. The unit test steps is the same as my manual testing. I will try to debug why the unit test fails to reproduce.
was (Author: lostincomputer):
activemq.xml
> Removal of inactive durable subscribers not working after broker restart
> ------------------------------------------------------------------------
>
> Key: AMQ-4149
> URL: https://issues.apache.org/jira/browse/AMQ-4149
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0, 5.7.0
> Reporter: lostincomputer
> Assignee: Timothy Bish
> Attachments: activemq.xml
>
>
> ActiveMQ can automatically unsubscribe durable subscribers that are not active for some period of time http://activemq.apache.org/manage-durable-subscribers.html.
> It however, doesn't remove inactive subscriptions created before it is restarted.
> Steps to reproduce:
> 1) Configure ActiveMQ to remove inactive durable subscriptions
> 2) Create a durable subscription
> 3) Restart broker
> the inactive durable subscription is never removed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4149) Removal of inactive durable
subscribers not working after broker restart
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488957#comment-13488957 ]
Timothy Bish commented on AMQ-4149:
-----------------------------------
Thanks for the fix, not sure what I was thinking there. Will looking into the issue.
> Removal of inactive durable subscribers not working after broker restart
> ------------------------------------------------------------------------
>
> Key: AMQ-4149
> URL: https://issues.apache.org/jira/browse/AMQ-4149
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0, 5.7.0
> Reporter: lostincomputer
> Assignee: Timothy Bish
> Attachments: activemq.xml, DurableSubscriptionRemoveOfflineTest.java
>
>
> ActiveMQ can automatically unsubscribe durable subscribers that are not active for some period of time http://activemq.apache.org/manage-durable-subscribers.html.
> It however, doesn't remove inactive subscriptions created before it is restarted.
> Steps to reproduce:
> 1) Configure ActiveMQ to remove inactive durable subscriptions
> 2) Create a durable subscription
> 3) Restart broker
> the inactive durable subscription is never removed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMQ-4149) Removal of inactive durable subscribers
not working after broker restart
Posted by "lostincomputer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lostincomputer updated AMQ-4149:
--------------------------------
Affects Version/s: 5.7.0
> Removal of inactive durable subscribers not working after broker restart
> ------------------------------------------------------------------------
>
> Key: AMQ-4149
> URL: https://issues.apache.org/jira/browse/AMQ-4149
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0, 5.7.0
> Reporter: lostincomputer
>
> ActiveMQ can automatically unsubscribe durable subscribers that are not active for some period of time http://activemq.apache.org/manage-durable-subscribers.html.
> It however, doesn't remove inactive subscriptions created before it is restarted.
> Steps to reproduce:
> 1) Configure ActiveMQ to remove inactive durable subscriptions
> 2) Create a durable subscription
> 3) Restart broker
> the inactive durable subscription is never removed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (AMQ-4149) Removal of inactive durable
subscribers not working after broker restart
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-4149.
-------------------------------
Resolution: Fixed
Fix Version/s: 5.8.0
Fixed now, offline timestamp on restart wasn't getting reset.
> Removal of inactive durable subscribers not working after broker restart
> ------------------------------------------------------------------------
>
> Key: AMQ-4149
> URL: https://issues.apache.org/jira/browse/AMQ-4149
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0, 5.7.0
> Reporter: lostincomputer
> Assignee: Timothy Bish
> Fix For: 5.8.0
>
> Attachments: activemq.xml, DurableSubscriptionRemoveOfflineTest.java
>
>
> ActiveMQ can automatically unsubscribe durable subscribers that are not active for some period of time http://activemq.apache.org/manage-durable-subscribers.html.
> It however, doesn't remove inactive subscriptions created before it is restarted.
> Steps to reproduce:
> 1) Configure ActiveMQ to remove inactive durable subscriptions
> 2) Create a durable subscription
> 3) Restart broker
> the inactive durable subscription is never removed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMQ-4149) Removal of inactive durable subscribers
not working after broker restart
Posted by "lostincomputer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lostincomputer updated AMQ-4149:
--------------------------------
Attachment: activemq.xml
activemq.xml
> Removal of inactive durable subscribers not working after broker restart
> ------------------------------------------------------------------------
>
> Key: AMQ-4149
> URL: https://issues.apache.org/jira/browse/AMQ-4149
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0, 5.7.0
> Reporter: lostincomputer
> Assignee: Timothy Bish
> Attachments: activemq.xml
>
>
> ActiveMQ can automatically unsubscribe durable subscribers that are not active for some period of time http://activemq.apache.org/manage-durable-subscribers.html.
> It however, doesn't remove inactive subscriptions created before it is restarted.
> Steps to reproduce:
> 1) Configure ActiveMQ to remove inactive durable subscriptions
> 2) Create a durable subscription
> 3) Restart broker
> the inactive durable subscription is never removed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-4149) Removal of inactive durable
subscribers not working after broker restart
Posted by "lostincomputer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489118#comment-13489118 ]
lostincomputer commented on AMQ-4149:
-------------------------------------
Thanks for the quick fix! The Wait.waitFor() must also be asserted in the testRemove() test case.
> Removal of inactive durable subscribers not working after broker restart
> ------------------------------------------------------------------------
>
> Key: AMQ-4149
> URL: https://issues.apache.org/jira/browse/AMQ-4149
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0, 5.7.0
> Reporter: lostincomputer
> Assignee: Timothy Bish
> Fix For: 5.8.0
>
> Attachments: activemq.xml, DurableSubscriptionRemoveOfflineTest.java
>
>
> ActiveMQ can automatically unsubscribe durable subscribers that are not active for some period of time http://activemq.apache.org/manage-durable-subscribers.html.
> It however, doesn't remove inactive subscriptions created before it is restarted.
> Steps to reproduce:
> 1) Configure ActiveMQ to remove inactive durable subscriptions
> 2) Create a durable subscription
> 3) Restart broker
> the inactive durable subscription is never removed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (AMQ-4149) Removal of inactive durable
subscribers not working after broker restart
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish reassigned AMQ-4149:
---------------------------------
Assignee: Timothy Bish
> Removal of inactive durable subscribers not working after broker restart
> ------------------------------------------------------------------------
>
> Key: AMQ-4149
> URL: https://issues.apache.org/jira/browse/AMQ-4149
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0, 5.7.0
> Reporter: lostincomputer
> Assignee: Timothy Bish
>
> ActiveMQ can automatically unsubscribe durable subscribers that are not active for some period of time http://activemq.apache.org/manage-durable-subscribers.html.
> It however, doesn't remove inactive subscriptions created before it is restarted.
> Steps to reproduce:
> 1) Configure ActiveMQ to remove inactive durable subscriptions
> 2) Create a durable subscription
> 3) Restart broker
> the inactive durable subscription is never removed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMQ-4149) Removal of inactive durable subscribers
not working after broker restart
Posted by "lostincomputer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lostincomputer updated AMQ-4149:
--------------------------------
Attachment: DurableSubscriptionRemoveOfflineTest.java
Fixed unit test. Assert should be done in the return of Wait.waitFor()
> Removal of inactive durable subscribers not working after broker restart
> ------------------------------------------------------------------------
>
> Key: AMQ-4149
> URL: https://issues.apache.org/jira/browse/AMQ-4149
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0, 5.7.0
> Reporter: lostincomputer
> Assignee: Timothy Bish
> Attachments: activemq.xml, DurableSubscriptionRemoveOfflineTest.java
>
>
> ActiveMQ can automatically unsubscribe durable subscribers that are not active for some period of time http://activemq.apache.org/manage-durable-subscribers.html.
> It however, doesn't remove inactive subscriptions created before it is restarted.
> Steps to reproduce:
> 1) Configure ActiveMQ to remove inactive durable subscriptions
> 2) Create a durable subscription
> 3) Restart broker
> the inactive durable subscription is never removed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira