Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-14089

Netty server port address already in use for Atomix

    XMLWordPrintable

Details

    • build2

    Description

      [0m08:36:34,896 INFO  [io.atomix.catalyst.transport.netty.NettyServer] (copycat-server-/127.0.0.1:1101-copycat) Binding to /127.0.0.1:1101
      [33m08:36:34,900 WARN  [io.netty.bootstrap.ServerBootstrap] (copycat-server-/127.0.0.1:1101-copycat) Unknown channel option 'TCP_NODELAY' for channel '[id: 0x07073c3f]'
      [33m08:36:34,903 WARN  [io.atomix.copycat.server.CopycatServer] (copycat-server-/127.0.0.1:1101-copycat) Failed to start server!
      [0m&amp#27;[31m08:36:34,907 SEVERE [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (pool-140-thread-6) Failed: org.wildfly.camel.test.atomix.AtomixMapIntegrationTest.testPutAndGet: java.util.concurrent.CompletionException: java.net.BindException: Address already in use
      	at java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:326)
      	at java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:338)
      	at java.util.concurrent.CompletableFuture.uniRelay(CompletableFuture.java:911)
      	at java.util.concurrent.CompletableFuture$UniRelay.tryFire(CompletableFuture.java:899)
      	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
      	at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977)
      	at io.atomix.catalyst.transport.netty.NettyServer.lambda$null$1(NettyServer.java:132)
      	at io.atomix.catalyst.concurrent.ThreadContext.lambda$execute$1(ThreadContext.java:151)
      	at io.atomix.catalyst.concurrent.Runnables.lambda$logFailure$0(Runnables.java:20)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

      Is it correct that port 1101 is chosen for the Netty server? Or what causes it to be already in use?

      Attachments

        Issue Links

          Activity

            People

              tdiesler@redhat.com Thomas Diesler
              tdiesler@redhat.com Thomas Diesler
              Zheng Feng Zheng Feng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: