Wildfly: AMQ214016: Failed to create netty connect ion java.nio.channels.UnresolvedAddressException from client on natted network

I have a wildfly 10 instance installed in a docker container (Container-A). If I try to look up queues from other containers of the same engine (Server-B, the engine) everything works fine.

I have issues (see trace below), instead, when trying to lookup queues from a virtual machine that is on the same network of the engine (Server-C) using the server-B’s IP address on port 7080 that is mapped on the container’s 8080 port.

  • Docker error link folder Read-only file system
  • Proper way to monitor PostgreSQL running inside a docker container
  • Run Hadoop with Docker (for both DEV and PROD environments)
  • change selenium hub default port docker-compose
  • How can enable udev sync successfully in docker?
  • How do I install Docker on an NVIDIA Tegra Jetson TK1 with a 32 bit ARM processor running Ubuntu 14.04?
  • I tryed to open a telnet connection from Server-C to Container-A (using the Server-B ip address and 7080 port) and the connection looks OK.

    Can anyone help me??

    C:\App>java -jar my-jar.jar
    log4j:WARN No appenders could be found for logger (com.myApp.S
    etUpBowcaster).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more in
    fo.
    2017-05-30 18:44:01 INFO  SetUpBowcaster:? - PROCESSORS BUSES INITIALIZATION
    2017-05-30 18:44:01 INFO  xnio:93 - XNIO version 3.3.4.Final
    2017-05-30 18:44:01 INFO  nio:55 - XNIO NIO Implementation Version 3.3.4.Final
    2017-05-30 18:44:01 INFO  remoting:73 - JBoss Remoting version 4.0.18.Final
    2017-05-30 18:44:01 INFO  remoting:103 - EJBCLIENT000017: Received server versio
    n 2 and marshalling strategies [river]
    2017-05-30 18:44:01 INFO  remoting:219 - EJBCLIENT000013: Successful version han
    dshake completed for receiver context EJBReceiverContext{clientContext=org.jboss
    .ejb.client.EJBClientContext@15b3e5b, receiver=Remoting connection EJB receiver
    [connection=Remoting connection <56467971>,channel=jboss.ejb,nodename=my-jms-master]} on channel Channel ID b9880cf2 (outbound) of Remoting connec
    tion 71d15f18 to /10.0.0.247:7080
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further detail
    s.
    2017-05-30 18:44:02 INFO  client:45 - JBoss EJB Client version 2.1.4.Final
    2017-05-30 18:44:03 ERROR client:686 - AMQ214016: Failed to create netty connect
    ion
    java.nio.channels.UnresolvedAddressException
            at sun.nio.ch.Net.checkAddress(Net.java:123)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622)
            at io.netty.channel.socket.nio.NioSocketChannel.doConnect(NioSocketChann
    el.java:209)
            at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.connect(Abs
    tractNioChannel.java:207)
            at io.netty.channel.DefaultChannelPipeline$HeadContext.connect(DefaultCh
    annelPipeline.java:1097)
            at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(Abstract
    ChannelHandlerContext.java:471)
            at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChanne
    lHandlerContext.java:456)
            at io.netty.channel.ChannelOutboundHandlerAdapter.connect(ChannelOutboun
    dHandlerAdapter.java:47)
            at io.netty.channel.CombinedChannelDuplexHandler.connect(CombinedChannel
    DuplexHandler.java:167)
            at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(Abstract
    ChannelHandlerContext.java:471)
            at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChanne
    lHandlerContext.java:456)
            at io.netty.channel.ChannelDuplexHandler.connect(ChannelDuplexHandler.ja
    va:50)
            at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(Abstract
    ChannelHandlerContext.java:471)
            at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChanne
    lHandlerContext.java:456)
            at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChanne
    lHandlerContext.java:438)
            at io.netty.channel.DefaultChannelPipeline.connect(DefaultChannelPipelin
    e.java:908)
            at io.netty.channel.AbstractChannel.connect(AbstractChannel.java:203)
            at io.netty.bootstrap.Bootstrap$2.run(Bootstrap.java:166)
            at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(Single
    ThreadEventExecutor.java:358)
            at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
            at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThread
    EventExecutor.java:112)
            at java.lang.Thread.run(Thread.java:745)
    Exception in thread "main" com.myApp.exceptions.ProcessorStart
    upException: javax.jms.JMSException: Failed to create session factory
            at com.myApp.SetUpBowcaster.main(Unknown Source)
    Caused by: javax.jms.JMSException: Failed to create session factory
            at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.crea
    teConnectionInternal(ActiveMQConnectionFactory.java:727)
            at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.crea
    teQueueConnection(ActiveMQConnectionFactory.java:284)
            at com.myApp.applicationLayer.jms.BowcasterProcessorsH
    andlersManager.setUpJmsConnection(Unknown Source)
            at com.myApp.applicationLayer.jms.BowcasterProcessorsH
    andlersManager.<init>(Unknown Source)
            at com.myApp.applicationLayer.jms.BowcasterProcessorsH
    andlersManager.getInstance(Unknown Source)
            ... 1 more
    Caused by: ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ1190
    07: Cannot connect to server(s). Tried with all available servers.]
            at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.create
    SessionFactory(ServerLocatorImpl.java:777)
            at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.crea
    teConnectionInternal(ActiveMQConnectionFactory.java:724)
            ... 5 more
    2017-05-30 18:44:03 INFO  remoting:482 - EJBCLIENT000016: Channel Channel ID b98
    80cf2 (outbound) of Remoting connection 71d15f18 to /10.0.0.247:7080 can no long
    er process messages
    

  • External access to Node.JS app, within Docker container
  • Docker compose, link file outside container
  • Running rust on Docker: Empty reply from server
  • seafile docker - how to persist config/make container disposable
  • Dockerrun.aws.json structure for ECR Repo
  • Docker pull mysql stuck
  • One Solution collect form web for “Wildfly: AMQ214016: Failed to create netty connect ion java.nio.channels.UnresolvedAddressException from client on natted network”

    The address:port may need to be fully qualified. I fixed this by changing the following property in my code:

    artemis.nodes=machine-artemis-01:port
    

    to:

    artemis.nodes=machine-artemis-01.place.company.com:port
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.