You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Lionel Cons (Created) (JIRA)" <ji...@apache.org> on 2012/04/05 07:37:28 UTC

[jira] [Created] (APLO-184) Incorrect handling of default full_drop_policy

Incorrect handling of default full_drop_policy
----------------------------------------------

                 Key: APLO-184
                 URL: https://issues.apache.org/jira/browse/APLO-184
             Project: ActiveMQ Apollo
          Issue Type: Bug
         Environment: apollo-99-trunk-20120404.190241-13
            Reporter: Lionel Cons


I've tried the latest snapshot with a config file that does not specify any full_drop_policy. The config file however does include some destination settings:

    <!-- destinations only get deleted after one week, topics do not block -->
    <queue auto_delete_after="604800"/>
    <topic auto_delete_after="604800" slow_consumer_policy="queue"/>
    <dsub  auto_delete_after="604800"/>

Apollo complains with:

2012-04-05 07:35:42,781 | WARN  | Invalid 'full_drop_policy' configured for queue 'xxx': 'null' | org.apache.activemq.apollo.broker.Queue | hawtdispatch-DEFAULT-2


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (APLO-184) Incorrect handling of default full_drop_policy

Posted by "Lionel Cons (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/APLO-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247043#comment-13247043 ] 

Lionel Cons commented on APLO-184:
----------------------------------

Setting the full_drop_policy brings another error...

I have in my config:

    <queue auto_delete_after="604800" full_drop_policy="block"/>

And Apollo complains with:

2012-04-05 07:37:51,438 | INFO  | fatal error at (47:65): cvc-complex-type.3.2.2: Attribute 'full_drop_policy' is not allowed to appear in element 'queue'.  | console | hawtdispatch-DEFAULT-1

Note also the mismatch between the log level (INFO) and the text (fatal error)...
                
> Incorrect handling of default full_drop_policy
> ----------------------------------------------
>
>                 Key: APLO-184
>                 URL: https://issues.apache.org/jira/browse/APLO-184
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>         Environment: apollo-99-trunk-20120404.190241-13
>            Reporter: Lionel Cons
>
> I've tried the latest snapshot with a config file that does not specify any full_drop_policy. The config file however does include some destination settings:
>     <!-- destinations only get deleted after one week, topics do not block -->
>     <queue auto_delete_after="604800"/>
>     <topic auto_delete_after="604800" slow_consumer_policy="queue"/>
>     <dsub  auto_delete_after="604800"/>
> Apollo complains with:
> 2012-04-05 07:35:42,781 | WARN  | Invalid 'full_drop_policy' configured for queue 'xxx': 'null' | org.apache.activemq.apollo.broker.Queue | hawtdispatch-DEFAULT-2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (APLO-184) Incorrect handling of default full_drop_policy

Posted by "Hiram Chirino (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/APLO-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino resolved APLO-184.
--------------------------------

    Resolution: Fixed
      Assignee: Hiram Chirino

Fixed.
BTW correct config should have been: drop_policy="block"
Error messages also corrected.
                
> Incorrect handling of default full_drop_policy
> ----------------------------------------------
>
>                 Key: APLO-184
>                 URL: https://issues.apache.org/jira/browse/APLO-184
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>         Environment: apollo-99-trunk-20120404.190241-13
>            Reporter: Lionel Cons
>            Assignee: Hiram Chirino
>
> I've tried the latest snapshot with a config file that does not specify any full_drop_policy. The config file however does include some destination settings:
>     <!-- destinations only get deleted after one week, topics do not block -->
>     <queue auto_delete_after="604800"/>
>     <topic auto_delete_after="604800" slow_consumer_policy="queue"/>
>     <dsub  auto_delete_after="604800"/>
> Apollo complains with:
> 2012-04-05 07:35:42,781 | WARN  | Invalid 'full_drop_policy' configured for queue 'xxx': 'null' | org.apache.activemq.apollo.broker.Queue | hawtdispatch-DEFAULT-2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (APLO-184) Incorrect handling of default full_drop_policy

Posted by "Lionel Cons (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/APLO-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250468#comment-13250468 ] 

Lionel Cons commented on APLO-184:
----------------------------------

Hmmm... the user manual mentions a "full_policy". Is the manual correct or not?
                
> Incorrect handling of default full_drop_policy
> ----------------------------------------------
>
>                 Key: APLO-184
>                 URL: https://issues.apache.org/jira/browse/APLO-184
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>         Environment: apollo-99-trunk-20120404.190241-13
>            Reporter: Lionel Cons
>            Assignee: Hiram Chirino
>
> I've tried the latest snapshot with a config file that does not specify any full_drop_policy. The config file however does include some destination settings:
>     <!-- destinations only get deleted after one week, topics do not block -->
>     <queue auto_delete_after="604800"/>
>     <topic auto_delete_after="604800" slow_consumer_policy="queue"/>
>     <dsub  auto_delete_after="604800"/>
> Apollo complains with:
> 2012-04-05 07:35:42,781 | WARN  | Invalid 'full_drop_policy' configured for queue 'xxx': 'null' | org.apache.activemq.apollo.broker.Queue | hawtdispatch-DEFAULT-2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (APLO-184) Incorrect handling of default full_drop_policy

Posted by "Hiram Chirino (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/APLO-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250639#comment-13250639 ] 

Hiram Chirino commented on APLO-184:
------------------------------------

Doh.. Yes manual is correct.  I should have wrote 'full_policy="block" ' in my comment.
                
> Incorrect handling of default full_drop_policy
> ----------------------------------------------
>
>                 Key: APLO-184
>                 URL: https://issues.apache.org/jira/browse/APLO-184
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>         Environment: apollo-99-trunk-20120404.190241-13
>            Reporter: Lionel Cons
>            Assignee: Hiram Chirino
>
> I've tried the latest snapshot with a config file that does not specify any full_drop_policy. The config file however does include some destination settings:
>     <!-- destinations only get deleted after one week, topics do not block -->
>     <queue auto_delete_after="604800"/>
>     <topic auto_delete_after="604800" slow_consumer_policy="queue"/>
>     <dsub  auto_delete_after="604800"/>
> Apollo complains with:
> 2012-04-05 07:35:42,781 | WARN  | Invalid 'full_drop_policy' configured for queue 'xxx': 'null' | org.apache.activemq.apollo.broker.Queue | hawtdispatch-DEFAULT-2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira