Hi Christoph,

Which Artemis version are you using ?

I’ve tested/validated Artemis up to 2.6.0. For newer versions, I have to test 
and maybe fix.

FYI, Artemis 2.6.0 is used in Karaf itests: 
https://github.com/apache/karaf/blob/master/itests/test/src/test/java/org/apache/karaf/itests/XATest.java
 
<https://github.com/apache/karaf/blob/master/itests/test/src/test/java/org/apache/karaf/itests/XATest.java>

Regards
JB

> Le 4 févr. 2021 à 14:31, Christoph Läubrich <m...@laeubi-soft.de> a écrit :
> 
> I try to run an embedded server like described in this example [1] but 
> getting the following error, is there anything missing on my side?
> Runtime is maven with java 11, no compile errors...
> 
> java.lang.NoSuchMethodError: 
> org.apache.activemq.artemis.utils.uri.BeanSupport.registerConverter(Lorg/apache/commons/beanutils/Converter;Ljava/lang/Class;)V
>       at 
> org.apache.activemq.artemis.core.server.cluster.impl.MessageLoadBalancingType.<clinit>(MessageLoadBalancingType.java:27)
>       at 
> org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.<init>(BindingsImpl.java:71)
>       at 
> org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.createBindings(PostOfficeImpl.java:1931)
>       at 
> org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addMappingInternal(SimpleAddressManager.java:259)
>       at 
> org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addBinding(SimpleAddressManager.java:98)
>       at 
> org.apache.activemq.artemis.core.postoffice.impl.WildcardAddressManager.addBinding(WildcardAddressManager.java:95)
>       at 
> org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addBinding(PostOfficeImpl.java:873)
>       at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(ActiveMQServerImpl.java:3771)
>       at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(ActiveMQServerImpl.java:3703)
>       at 
> org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.createQueue(ServerSessionImpl.java:739)
>       at 
> org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.slowPacketHandler(ServerSessionPacketHandler.java:371)
>       at 
> org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.onMessagePacket(ServerSessionPacketHandler.java:292)
>       at org.apache.activemq.artemis.utils.actors.Actor.doTask(Actor.java:33)
>       at 
> org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
>       at 
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
>       at 
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
>       at 
> org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>       at 
> org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
> 
> Exception in thread "main" 
> ActiveMQInternalErrorException[errorType=INTERNAL_ERROR message=null]
>       at 
> org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:540)
>       at 
> org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:434)
>       at 
> org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext.createQueue(ActiveMQSessionContext.java:821)
>       at 
> org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.internalCreateQueue(ClientSessionImpl.java:2038)
>       at 
> org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.createQueue(ClientSessionImpl.java:304)
>       at artemis.TestServer.main(TestServer.java:22)
> 
> [1] 
> https://activemq.apache.org/components/artemis/documentation/latest/embedding-activemq.html

Reply via email to