Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7510

error :"Unknown hostname in connection" when connect to qpid docker image made with qpid for java using AMQP 1.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • qpid-java-6.0.5
    • qpid-java-6.0.5
    • Broker-J
    • None
    • Docker version 1.12.3, build 6b644ec
      jdk1.7.0_79

    • Important

    Description

      Now,we wok with qpid docker image,made with qpid-java-6.0.5. An error occurred,when JMS based client that uses the AMQP v1.0 protocol connected to.

      qpid image dockerfile expose 5672, and use -P flag for port mapping

      the detail error :
      org.apache.qpid.jms.JmsResourceNotFoundException: Unknown hostname in connection open: '10.46.181.220' [condition = amqp:not-found]
      at org.apache.qpid.jms.provider.amqp.AmqpSupport.convertToException(AmqpSupport.java:132)
      at org.apache.qpid.jms.provider.amqp.AmqpSupport.convertToException(AmqpSupport.java:103)
      at org.apache.qpid.jms.provider.amqp.AmqpAbstractResource.remotelyClosed(AmqpAbstractResource.java:147)
      at org.apache.qpid.jms.provider.amqp.AmqpAbstractResource.processRemoteClose(AmqpAbstractResource.java:240)
      at org.apache.qpid.jms.provider.amqp.AmqpProvider.processUpdates(AmqpProvider.java:772)
      at org.apache.qpid.jms.provider.amqp.AmqpProvider.access$1900(AmqpProvider.java:92)
      at org.apache.qpid.jms.provider.amqp.AmqpProvider$17.run(AmqpProvider.java:700)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Caught exception, exiting.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wuxinyu05 wuxinyu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: