]
Miroslav Novak commented on WFLY-11289:
---------------------------------------
[~ehugonnet] [~jmesnil] This one was hit by community member for AMQP protocol. The
question is whether to add proton-j to amqp protocol module.
Artemis AMQP protocol requires proton-j...jar if SASL is used
-------------------------------------------------------------
Key: WFLY-11289
URL:
https://issues.jboss.org/browse/WFLY-11289
Project: WildFly
Issue Type: Bug
Components: JMS
Affects Versions: 14.0.0.Final
Reporter: Miroslav Novak
Assignee: ehsavoie Hugonnet
Priority: Major
If AMQP client uses SASL authentication then connection fails with:
{code}
2018-11-05 12:08:01,636 TRACE [org.jboss.modules] (Thread-1 (activemq-netty-threads))
Class org.apache.qpid.proton.engine.SaslListener not found from Module
"org.apache.activemq.artemis.protocol.amqp" from local module loader @79b4d0f
(finder: local module finder @6b2fad11 (roots:
/apps/wildfly14.0/modules,/apps/wildfly14.0/modules/system/layers/base))
2018-11-05 12:08:01,636 WARN [org.jboss.modules.define] (Thread-1
(activemq-netty-threads)) Failed to define class
org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler in Module
"org.apache.activemq.artemis.protocol.amqp" from local module loader @79b4d0f
(finder: local module finder @6b2fad11 (roots:
/apps/wildfly14.0/modules,/apps/wildfly14.0/modules/system/layers/base)):
java.lang.NoClassDefFoundError: Failed to link
org/apache/activemq/artemis/protocol/amqp/proton/handler/ProtonHandler (Module
"org.apache.activemq.artemis.protocol.amqp" from local module loader @79b4d0f
(finder: local module finder @6b2fad11 (roots:
/apps/wildfly14.0/modules,/apps/wildfly14.0/modules/system/layers/base))):
org/apache/qpid/proton/engine/SaslListener
{code}
It requires proton-j-0.27.3.jar to be added to org.apache.activemq.artemis.protocol.amqp
module. It appears to missing and should be added.
See:
https://developer.jboss.org/message/986253 for more information.
Credit for finding this problem goes to [~ninjasftw]