You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Torsten Mielke (JIRA)" <ji...@apache.org> on 2011/02/22 17:14:38 UTC
[jira] Updated: (AMQ-3187) IllegalMonitorStateException in default
topic consumer of maven-activemq-perf-plugin
[ https://issues.apache.org/jira/browse/AMQ-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Torsten Mielke updated AMQ-3187:
--------------------------------
Description:
Running
{code}
mvn activemq-perf:consumer -Dfactory.brokerURL=tcp://localhost:61616
-Dconsumer.destName=topic://Test -Dconsumer.sessAckMode=autoAck -Dconsumer.recvType=count
{code}
generates
{code}
Exception in thread "JmsConsumer0 Thread" java.lang.IllegalMonitorStateException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.activemq.tool.JmsConsumerClient.receiveAsyncCountBasedMessages(JmsConsumerClient.java:176)
at org.apache.activemq.tool.JmsConsumerClient.receiveMessages(JmsConsumerClient.java:54)
at org.apache.activemq.tool.JmsConsumerClient.receiveMessages(JmsConsumerClient.java:67)
at org.apache.activemq.tool.JmsConsumerClient.receiveMessages(JmsConsumerClient.java:72)
at org.apache.activemq.tool.JmsConsumerSystem.runJmsClient(JmsConsumerSystem.java:62)
at org.apache.activemq.tool.AbstractJmsClientSystem$1.run(AbstractJmsClientSystem.java:85)
at java.lang.Thread.run(Thread.java:619)
{code}
Using -Dconsumer.asyncRecv=false resolves the problem.
was:
Running mvn activemq-perf:consumer -Dfactory.brokerURL=tcp://localhost:61616 -Dconsumer.destName=topic://Test -Dconsumer.sessAckMode=autoAck -Dconsumer.recvType=count
generates
{code}
Exception in thread "JmsConsumer0 Thread" java.lang.IllegalMonitorStateException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.activemq.tool.JmsConsumerClient.receiveAsyncCountBasedMessages(JmsConsumerClient.java:176)
at org.apache.activemq.tool.JmsConsumerClient.receiveMessages(JmsConsumerClient.java:54)
at org.apache.activemq.tool.JmsConsumerClient.receiveMessages(JmsConsumerClient.java:67)
at org.apache.activemq.tool.JmsConsumerClient.receiveMessages(JmsConsumerClient.java:72)
at org.apache.activemq.tool.JmsConsumerSystem.runJmsClient(JmsConsumerSystem.java:62)
at org.apache.activemq.tool.AbstractJmsClientSystem$1.run(AbstractJmsClientSystem.java:85)
at java.lang.Thread.run(Thread.java:619)
{code}
Using -Dconsumer.asyncRecv=false resolves the problem.
> IllegalMonitorStateException in default topic consumer of maven-activemq-perf-plugin
> ------------------------------------------------------------------------------------
>
> Key: AMQ-3187
> URL: https://issues.apache.org/jira/browse/AMQ-3187
> Project: ActiveMQ
> Issue Type: Bug
> Components: Performance Test
> Affects Versions: 5.4.2
> Environment: maven-activemq-perf-plugin
> Reporter: Torsten Mielke
> Labels: mvn, perfomance
>
> Running
> {code}
> mvn activemq-perf:consumer -Dfactory.brokerURL=tcp://localhost:61616
> -Dconsumer.destName=topic://Test -Dconsumer.sessAckMode=autoAck -Dconsumer.recvType=count
> {code}
> generates
> {code}
> Exception in thread "JmsConsumer0 Thread" java.lang.IllegalMonitorStateException
> at java.lang.Object.wait(Native Method)
> at java.lang.Object.wait(Object.java:485)
> at org.apache.activemq.tool.JmsConsumerClient.receiveAsyncCountBasedMessages(JmsConsumerClient.java:176)
> at org.apache.activemq.tool.JmsConsumerClient.receiveMessages(JmsConsumerClient.java:54)
> at org.apache.activemq.tool.JmsConsumerClient.receiveMessages(JmsConsumerClient.java:67)
> at org.apache.activemq.tool.JmsConsumerClient.receiveMessages(JmsConsumerClient.java:72)
> at org.apache.activemq.tool.JmsConsumerSystem.runJmsClient(JmsConsumerSystem.java:62)
> at org.apache.activemq.tool.AbstractJmsClientSystem$1.run(AbstractJmsClientSystem.java:85)
> at java.lang.Thread.run(Thread.java:619)
> {code}
> Using -Dconsumer.asyncRecv=false resolves the problem.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira