After creating a pooled connection factory in JBoss EAP 8.0.2 where the default server element has bee removed (see below)
<subsystem xmlns="urn:jboss:domain:messaging-activemq:13.0"> <remote-connector name="remote-artemis-one" socket-binding="broker-one"/> <remote-connector name="remote-artemis-two" socket-binding="broker-two"/> <pooled-connection-factory name="activemq-ra-remote" entries="java:/RemoteJmsXA java:jboss/DefaultJMSConnectionFactory" connectors="remote-artemis-one remote-artemis-two" transaction="xa" user="quickuser" password="quick123+" enable-amq1-prefix="false"/> </subsystem>
The following exception is thrown at EAP start up
13:35:39,011 INFO [org.wildfly.extension.messaging-activemq] (Thread-1 (ActiveMQ-client-global-threads)) Creating queue jms.queue.java:/jms/amq/queue/inQueue on node UP df67dec1-28b6-11ef-8fac-708bcd50fd38 - {"name":"artemis","factoryClassName":"org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory","params":{"port":"61716","host":"rex"},"extraProps":{}} 13:35:39,032 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0042: Started message driven bean 'RemoteQueueMDB' with 'activemq-ra-remote' resource adapter 13:35:39,042 ERROR [org.wildfly.extension.messaging-activemq] (Thread-1 (ActiveMQ-client-global-threads)) Creating queue jms.queue.java:/jms/amq/queue/inQueue on node UP {"name":"artemis","factoryClassName":"org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory","params":{"port":"61716","host":"rex"},"extraProps":{}} failed: javax.jms.JMSSecurityException: AMQ229031: Unable to validate user from /192.168.0.100:62207. Username: null; SSL certificate subject DN: unavailable at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:545) at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:439) at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:300) at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:249) at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1415) at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:712) at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:318) at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.jms.client.ActiveMQConnection.authorize(ActiveMQConnection.java:684) at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:920) at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:299) at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:294) at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.DestinationConfiguration.createQueueConnection(DestinationConfiguration.java:89) at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.DestinationConfiguration.createQueue(DestinationConfiguration.java:93) at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.ExternalJMSQueueService$1.nodeUP(ExternalJMSQueueService.java:89) at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.client.impl.Topology$3.run(Topology.java:389) at org.apache.activemq.artemis.journal//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) at org.apache.activemq.artemis.journal//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) at org.apache.activemq.artemis.journal//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.journal//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) Caused by: ActiveMQSecurityException[errorType=SECURITY_EXCEPTION message=AMQ229031: Unable to validate user from /192.168.0.100:62207. Username: null; SSL certificate subject DN: unavailable]
- is cloned by
-
WFLY-19418 AMQ229031: Unable to validate user from /192.168.0.100:62207. Username: null; SSL certificate subject DN: unavailable
- Resolved