Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11289

Artemis AMQP protocol requires proton-j...jar if SASL is used

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 14.0.0.Final
    • Fix Version/s: None
    • Component/s: JMS
    • Labels:
      None

      Description

      If AMQP client uses SASL authentication then connection fails with:

      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
      

      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 Karl Sorensen

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ehugonnet Emmanuel Hugonnet
                  Reporter:
                  mnovak Miroslav Novak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: