You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2022/09/14 18:04:00 UTC

[jira] [Closed] (ARTEMIS-3901) artemis perf client --durable fails on exception

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

Justin Bertram closed ARTEMIS-3901.
-----------------------------------

> artemis perf client --durable fails on exception
> ------------------------------------------------
>
>                 Key: ARTEMIS-3901
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3901
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.24.0
>            Reporter: Jan Å mucr
>            Priority: Major
>             Fix For: 2.25.0
>
>         Attachments: CliPerfClientTest.java
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> The cli command
> {noformat}
> bin/artemis perf client --durable{noformat}
> fails with an exception:
> {noformat}
> java.lang.ClassCastException: class org.apache.activemq.artemis.jms.client.ActiveMQQueue cannot be cast to class javax.jms.Topic (org.apache.activemq.artemis.jms.client.ActiveMQQueue and javax.jms.Topic are in unnamed module of loader 'app')
> 	at org.apache.activemq.artemis.cli.commands.messages.perf.MessageListenerBenchmark.start(MessageListenerBenchmark.java:213)
> 	at org.apache.activemq.artemis.cli.commands.messages.perf.PerfClientCommand.onExecuteBenchmark(PerfClientCommand.java:167)
> 	at org.apache.activemq.cli.test.CliPerfClientTest$1.onExecuteBenchmark(CliPerfClientTest.java:66)
> 	at org.apache.activemq.artemis.cli.commands.messages.perf.PerfCommand.execute(PerfCommand.java:79)
> 	at org.apache.activemq.cli.test.CliPerfClientTest.start(CliPerfClientTest.java:69)
> 	at org.apache.activemq.cli.test.CliPerfClientTest.testDurableStarts(CliPerfClientTest.java:79){noformat}
> Non-durable method works fine.
> See the attached test file or https://github.com/jsmucr/activemq-artemis/tree/perf-client-durable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)