• Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: A-MQ 7.0.0.ER7
    • Fix Version/s: A-MQ 7.0.0.GA
    • Component/s: None
    • Labels:
    • Target Release:
    • Sprint:
      AMQ 7.0.2 sprint 1
    • Steps to Reproduce:

      1. Start the broker on linux
      2. Start the Lite self test

      mstest /testcontainer:./Test.Amqp.Net/Test.Amqp.Net.dll /test:TestMethod_DynamicSenderLink
      1. Start the broker on linux 2. Start the Lite self test mstest /testcontainer:./Test.Amqp.Net/Test.Amqp.Net.dll /test:TestMethod_DynamicSenderLink


      In this test the client creates a sender with no target but with the Dynamic flag = true.
      The broker is supposed to generate a name for the endpoint and return it to the client in the corresponding link attach. Then the client can send to the sender link and open a receiver to the name the broker returned to get the messages.

      It looks like the broker is returning the generated name but not associating that name with the sender link the client created.
      I've got traces of AMQ7 hitting an error and of Qpidd doing it correctly.

      The A-MQ7 broker console issues an error:

      16:07:20,292 INFO  [] Couldn't validate user: user name is null
      ActiveMQIllegalStateException[errorType=ILLEGAL_STATE message=AMQ119029: No address configured on the Server''s Session]
      	at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(
      	at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(
      	at org.apache.activemq.artemis.core.protocol.proton.plug.ProtonSessionIntegrationCallback.serverSend(
      	at org.proton.plug.context.server.ProtonServerReceiverContext.onMessage(
      	at org.proton.plug.context.AbstractConnectionContext$LocalListener.onDelivery(
      	at org.proton.plug.handler.Events.dispatch(
      	at org.proton.plug.handler.impl.ProtonHandlerImpl.dispatch(
      	at org.proton.plug.handler.impl.ProtonHandlerImpl.access$000(
      	at org.proton.plug.handler.impl.ProtonHandlerImpl$
      	at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(
      	at java.util.concurrent.ThreadPoolExecutor$
      !!!!! Readable!!!!!!!
      16:08:21,683 WARN  [org.apache.activemq.artemis.core.client] AMQ212037: Connection failure has been detected: AMQ119014: Did not receive data from null. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=CONNECTION_TIMEDOUT]
      16:08:21,683 WARN  [org.apache.activemq.artemis.core.server] AMQ222061: Client connection failed, clearing up resources for session 99ceb8dc-326b-11e6-a6c4-4ceb42c7eda9

        Gliffy Diagrams


            Issue Links



                • Assignee:
                  gaohoward Howard Gao
                  crolke Chuck Rolke
                • Votes:
                  0 Vote for this issue
                  6 Start watching this issue


                  • Created: