Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8327641

Test applications/jetty/Jetty.java failed: address already in use

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3
    • None
    • 23
    • infrastructure
    • aarch64
    • os_x

    Description

      [stress.process.err] JettyStressModule got uncaught exception in init at Thu Mar 07 20:53:58 GMT 2024 (1709844838410)
      [stress.process.err] java.lang.reflect.InvocationTargetException
      [stress.process.err] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
      [stress.process.err] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      [stress.process.err] at applications.kitchensink.process.stress.modules.JettyStressModule.init(JettyStressModule.java:31)
      [stress.process.err] at applications.kitchensink.process.stress.modules.StressModule.run(StressModule.java:82)
      [stress.process.err] at java.base/java.lang.Thread.run(Thread.java:1575)
      [stress.process.err] Caused by: java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8081
      [stress.process.err] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346)
      [stress.process.err] at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:307)
      [stress.process.err] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
      [stress.process.err] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:231)
      [stress.process.err] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
      [stress.process.err] at org.eclipse.jetty.server.Server.doStart(Server.java:385)
      [stress.process.err] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
      [stress.process.err] at applications.jetty.demo.Main.main(Main.java:190)
      [stress.process.err] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      [stress.process.err] ... 4 more
      [stress.process.err] Caused by: java.net.BindException: Address already in use
      [stress.process.err] at java.base/sun.nio.ch.Net.bind0(Native Method)
      [stress.process.err] at java.base/sun.nio.ch.Net.bind(Net.java:565)
      [stress.process.err] at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:344)
      [stress.process.err] at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:301)
      [stress.process.err] at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:89)
      [stress.process.err] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:342)
      [stress.process.err] ... 12 more

      Attachments

        Activity

          People

            mseledtsov Mikhailo Seledtsov
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: