Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.25.0
-
None
-
None
Description
ActiveMQ Artemis 2.25.0 raise the following exception when it load broker properties for connectionRouters:
connectionRouters.autoShard.keyType=CLIENT_ID
connectionRouters.autoShard.localTargetFilter=NULL|${STATEFUL_SET_ORDINAL}|-${STATEFUL_SET_ORDINAL}
connectionRouters.autoShard.policyConfiguration=CONSISTENT_HASH_MODULO
connectionRouters.autoShard.policyConfiguration.properties.MODULO=2
acceptorConfigurations.tcp.params.router=autoShard
addressesSettings."LB.#".defaultAddressRoutingType=ANYCAST
ERROR [org.apache.activemq.artemis.core.server] AMQ224097: Failed to start server: java.lang.IllegalArgumentException: failed to locate add method for collection property addConnectionRouter
at org.apache.activemq.artemis.core.config.impl.ConfigurationImpl$CollectionAutoFillPropertiesUtil.newNamedInstanceForCollection(ConfigurationImpl.java:2998) [artemis-server-2.25.0.jar:2.25.0]
at org.apache.activemq.artemis.core.config.impl.ConfigurationImpl$CollectionAutoFillPropertiesUtil.getProperty(ConfigurationImpl.java:2871) [artemis-server-2.25.0.jar:2.25.0]
at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:896) [commons-beanutils-1.9.4.jar:1.9.4]
at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:823) [commons-beanutils-1.9.4.jar:1.9.4]
at org.apache.activemq.artemis.core.config.impl.ConfigurationImpl.populateWithProperties(ConfigurationImpl.java:587) [artemis-server-2.25.0.jar:2.25.0]
at org.apache.activemq.artemis.core.config.impl.ConfigurationImpl.parsePrefixedProperties(ConfigurationImpl.java:531) [artemis-server-2.25.0.jar:2.25.0]
at org.apache.activemq.artemis.core.config.impl.ConfigurationImpl.parseProperties(ConfigurationImpl.java:501) [artemis-server-2.25.0.jar:2.25.0]
at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:618) [artemis-server-2.25.0.jar:2.25.0]
at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:579) [artemis-server-2.25.0.jar:2.25.0]
at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:64) [artemis-cli-2.25.0.jar:2.25.0]
at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:127) [artemis-cli-2.25.0.jar:2.25.0]
at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:160) [artemis-cli-2.25.0.jar:2.25.0]
at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:108) [artemis-cli-2.25.0.jar:2.25.0]
at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:135) [artemis-cli-2.25.0.jar:2.25.0]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java.base:]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [java.base:]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [java.base:]
at java.base/java.lang.reflect.Method.invoke(Method.java:568) [java.base:]
at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:134) [artemis-boot.jar:2.25.0]
at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:50) [artemis-boot.jar:2.25.0]
Attachments
Issue Links
- is caused by
-
ARTEMIS-3963 Error setting security roles via properties on OpenJ9 JDK 11
- Closed
- links to