3 Replies Latest reply on Nov 7, 2018 2:45 AM by mnovak

    External client connecting to Wildfly14 artemisMQ Queue.

    ninjasftw

      Hi,

       

      I'm looking to port an app that talks to a standalone ArtemisMQ to a Queue within an Wildfly 14 instance.  The test code works fine against a standalone ArtemisMQ instance.

       

      I'm using the golang library @ GitHub - vcabbage/amqp: AMQP 1.0 client library for Go.

       

      and have setup the wildlfy instance

      <jms-queue name="testqueue" entries="java:jboss/exported/testqueue testqueue" durable="true"/>

      ...

      <remote-acceptor name="messaging-amqp" socket-binding="messaging-amqp"/>

      ...

      <socket-binding name="messaging-amqp" interface="public" port="5672"/>

       

      The startup logs show that the acceptor initilizes ok

      2018-11-05 12:06:04,290 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 78) AMQ221020: Started EPOLL Acceptor at XX.XX.XX.XX:5672 for protoco
      ls [CORE,AMQP,HORNETQ,STOMP]

       

       

      When I then try and connect I get the following exception thrown.

       

      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

       

      There isn't a SaslListener class in the jar file at /apps/wildfly14.0/modules/system/layers/base/org/apache/qpid/proton/main

       

      Should there be?