You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Hiram Chirino (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/04 17:09:28 UTC

[jira] [Resolved] (APLO-182) "java.lang.AssertionError: Dispatch queue 'hawtdispatch' was not executing" when sending messages to many different queues from a single connection.

     [ https://issues.apache.org/jira/browse/APLO-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino resolved APLO-182.
--------------------------------

    Resolution: Fixed

Fix will be included in the next nightly SNAPSHOT.
                
> "java.lang.AssertionError: Dispatch queue 'hawtdispatch' was not executing" when sending messages to many different queues from a single connection.
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: APLO-182
>                 URL: https://issues.apache.org/jira/browse/APLO-182
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-stomp
>    Affects Versions: 1.1
>         Environment: Debian Wheezy
>            Reporter: Dominik Liebler
>            Assignee: Hiram Chirino
>             Fix For: 1.2
>
>
> I get an error when sending 20 messages to the broker, each message in it's own queue. It works for the first 10, but then I get an exception in the apollo.log: "java.lang.AssertionError: Dispatch queue 'hawtdispatch' was not executing". There are then 20 queues, but only Test0-Test9 contain messages, the debug log says this:
> 2012-04-04 14:19:30,441 | DEBUG | created queue: Test10 | org.apache.activemq.apollo.broker.Queue | hawtdispatch-DEFAULT-1
> 2012-04-04 14:19:30,457 | DEBUG | producer route attaching to conusmer. | org.apache.activemq.apollo.broker.DeliveryProducerRoute | hawtdispatch-DEFAULT-1
> 2012-04-04 14:19:30,458 | WARN  | java.lang.AssertionError: Dispatch queue 'hawtdispatch' was not executing, (currently executing: 'connection 2 to /127.0.0.1:36633') | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
> 2012-04-04 14:19:30,462 | DEBUG | java.lang.AssertionError: Dispatch queue 'hawtdispatch' was not executing, (currently executing: 'connection 2 to /127.0.0.1:36633') | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
> java.lang.AssertionError: Dispatch queue 'hawtdispatch' was not executing, (currently executing: 'connection 2 to /127.0.0.1:36633')
> 	at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.assertExecuting(SerialDispatchQueue.java:129)
> 	at org.apache.activemq.apollo.broker.LocalRouter.disconnect(LocalRouter.scala:1095)
> 	at org.apache.activemq.apollo.stomp.StompProtocolHandler$$anon$1.onCacheEviction(StompProtocolHandler.scala:558)
> 	at org.apache.activemq.apollo.util.LRUCache.removeEldestEntry(LRUCache.java:83)
> 	at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:410)
> 	at java.util.HashMap.put(HashMap.java:385)
> 	at org.apache.activemq.apollo.stomp.StompProtocolHandler$$anonfun$perform_send$1$$anonfun$apply$mcV$sp$2.apply$mcV$sp(StompProtocolHandler.scala:1043)
> 	at org.fusesource.hawtdispatch.package$$anon$4.run(hawtdispatch.scala:349)
> 	at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:84)
> 	at org.fusesource.hawtdispatch.internal.pool.SimpleThread.run(SimpleThread.java:77)

--
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