You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Thomas Dudziak (JIRA)" <ji...@apache.org> on 2011/05/07 01:27:03 UTC

[jira] [Created] (AMQ-3307) Message scheduled via cron to a broker with persistence enabled, is only delivered once

Message scheduled via cron to a broker with persistence enabled, is only delivered once
---------------------------------------------------------------------------------------

                 Key: AMQ-3307
                 URL: https://issues.apache.org/jira/browse/AMQ-3307
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.5.0
            Reporter: Thomas Dudziak
            Priority: Critical


A message that is scheduled via a cron expression via a persistent producer, will only be sent once, and after that there are these warnings in the log:

ConcurrentQueueStoreAndDispatch org.apache.activemq.store.kahadb.MessageDatabase Duplicate message add attempt rejected. Destination: jobs, Message id: ID:nobby-35912-1304723825775-4:2:1:1:1

It doesn't seem to make a difference whether the message producer has deliver mode PERSISTENT or not.

The attached sample program should exhibit the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (AMQ-3307) Message scheduled via cron to a broker with persistence enabled, is only delivered once

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish reassigned AMQ-3307:
---------------------------------

    Assignee: Timothy Bish

> Message scheduled via cron to a broker with persistence enabled, is only delivered once
> ---------------------------------------------------------------------------------------
>
>                 Key: AMQ-3307
>                 URL: https://issues.apache.org/jira/browse/AMQ-3307
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.5.0
>            Reporter: Thomas Dudziak
>            Assignee: Timothy Bish
>            Priority: Critical
>             Fix For: 5.6.0
>
>         Attachments: TestAMQ3307.java
>
>
> A message that is scheduled via a cron expression via a persistent producer, will only be sent once, and after that there are these warnings in the log:
> ConcurrentQueueStoreAndDispatch org.apache.activemq.store.kahadb.MessageDatabase Duplicate message add attempt rejected. Destination: jobs, Message id: ID:nobby-35912-1304723825775-4:2:1:1:1
> It doesn't seem to make a difference whether the message producer has deliver mode PERSISTENT or not.
> The attached sample program should exhibit the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (AMQ-3307) Message scheduled via cron to a broker with persistence enabled, is only delivered once

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQ-3307.
-------------------------------

       Resolution: Duplicate
    Fix Version/s: 5.6.0

Fixed by AMQ-3278

Try the latest SNAPSHOT build to get the fix.

> Message scheduled via cron to a broker with persistence enabled, is only delivered once
> ---------------------------------------------------------------------------------------
>
>                 Key: AMQ-3307
>                 URL: https://issues.apache.org/jira/browse/AMQ-3307
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.5.0
>            Reporter: Thomas Dudziak
>            Priority: Critical
>             Fix For: 5.6.0
>
>         Attachments: TestAMQ3307.java
>
>
> A message that is scheduled via a cron expression via a persistent producer, will only be sent once, and after that there are these warnings in the log:
> ConcurrentQueueStoreAndDispatch org.apache.activemq.store.kahadb.MessageDatabase Duplicate message add attempt rejected. Destination: jobs, Message id: ID:nobby-35912-1304723825775-4:2:1:1:1
> It doesn't seem to make a difference whether the message producer has deliver mode PERSISTENT or not.
> The attached sample program should exhibit the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (AMQ-3307) Message scheduled via cron to a broker with persistence enabled, is only delivered once

Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030193#comment-13030193 ] 

Thomas Dudziak commented on AMQ-3307:
-------------------------------------

Disabling persistence in the broker makes the warning go away, but the message is still not scheduled every minute.

> Message scheduled via cron to a broker with persistence enabled, is only delivered once
> ---------------------------------------------------------------------------------------
>
>                 Key: AMQ-3307
>                 URL: https://issues.apache.org/jira/browse/AMQ-3307
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.5.0
>            Reporter: Thomas Dudziak
>            Priority: Critical
>         Attachments: TestAMQ3307.java
>
>
> A message that is scheduled via a cron expression via a persistent producer, will only be sent once, and after that there are these warnings in the log:
> ConcurrentQueueStoreAndDispatch org.apache.activemq.store.kahadb.MessageDatabase Duplicate message add attempt rejected. Destination: jobs, Message id: ID:nobby-35912-1304723825775-4:2:1:1:1
> It doesn't seem to make a difference whether the message producer has deliver mode PERSISTENT or not.
> The attached sample program should exhibit the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (AMQ-3307) Message scheduled via cron to a broker with persistence enabled, is only delivered once

Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Dudziak updated AMQ-3307:
--------------------------------

    Attachment: TestAMQ3307.java

> Message scheduled via cron to a broker with persistence enabled, is only delivered once
> ---------------------------------------------------------------------------------------
>
>                 Key: AMQ-3307
>                 URL: https://issues.apache.org/jira/browse/AMQ-3307
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.5.0
>            Reporter: Thomas Dudziak
>            Priority: Critical
>         Attachments: TestAMQ3307.java
>
>
> A message that is scheduled via a cron expression via a persistent producer, will only be sent once, and after that there are these warnings in the log:
> ConcurrentQueueStoreAndDispatch org.apache.activemq.store.kahadb.MessageDatabase Duplicate message add attempt rejected. Destination: jobs, Message id: ID:nobby-35912-1304723825775-4:2:1:1:1
> It doesn't seem to make a difference whether the message producer has deliver mode PERSISTENT or not.
> The attached sample program should exhibit the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira