Uploaded image for project: 'netide'
  1. netide
  2. NETIDE-7

BindException should be caught and sent to karaf.log instead of console

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed
    • Resolution: Unresolved
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 5597

    Description

      to reproduce this first install "odl-vpnservice-openstack" then install
      "odl-netide-rest"

      on the karaf console, you will see the below exception. This issue is
      only to address the fact that we should not be seeing trouble on the
      karaf console, but in the log. The port (6644) in conflict needs to be
      addressed with vpnservice as well, but that is a separate issue:

      Exception in thread "Thread-100" java.net.BindException: Address already in use
      at sun.nio.ch.Net.bind0(Native Method)
      at sun.nio.ch.Net.bind(Net.java:433)
      at sun.nio.ch.Net.bind(Net.java:425)
      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
      at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:125)
      at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:485)
      at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1089)
      at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:440)
      at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:425)
      at io.netty.channel.ChannelDuplexHandler.bind(ChannelDuplexHandler.java:38)
      at io.netty.handler.logging.LoggingHandler.bind(LoggingHandler.java:197)
      at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:440)
      at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:425)
      at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:903)
      at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:198)
      at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:348)
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
      at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
      at java.lang.Thread.run(Thread.java:745)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            jluhrsen Jamo Luhrsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: