org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Error starting embedded Jetty server.

Sonatype JIRA | Benjamin Hanzelmann | 5 years ago
  1. 0

    org.sonatype.nexus.integrationtests.nexus1329.Nexus1329MirrorFailAndRetriesIT.downloadFromMirrorTest (from Nexus1329MirrorFailAndRetriesIT) https://builds.sonatype.org/job/nexus-oss-its/jdk=java-6x,label=linux/212/testReport/org.sonatype.nexus.integrationtests.nexus1329/Nexus1329MirrorFailAndRetriesIT/downloadFromMirrorTest/ {code} Error Message Error starting embedded Jetty server. Stacktrace org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Error starting embedded Jetty server. at org.sonatype.jettytestsuite.ControlledServer.start(ControlledServer.java:135) at org.sonatype.nexus.integrationtests.nexus1329.Nexus1329MirrorFailAndRetriesIT.downloadFromMirrorTest(Nexus1329MirrorFailAndRetriesIT.java:44) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.eclipse.jetty.server.nio.BlockingChannelConnector.open(BlockingChannelConnector.java:122) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.BlockingChannelConnector.doStart(BlockingChannelConnector.java:80) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:274) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.sonatype.jettytestsuite.ControlledServer.start(ControlledServer.java:131) ... 36 more ... Removed 26 stack frames {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Error starting embedded Jetty server.
  2. 0

    can't startup Jenkins

    Google Groups | 3 years ago | 敬錞潘
    java.io.IOException: Failed to start Jetty
  3. 0

    Process doesn't exit if port is already in use

    GitHub | 3 years ago | ssorallen
    java.net.BindException: Address already in use
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Indexer BindException

    GitHub | 2 years ago | capdeploy
    java.net.BindException: Address already in use
  6. 0

    java.net.BindException: Address already in use

    GitHub | 2 years ago | sarxos
    java.net.BindException: Address already in use

  1. davidvanlaatum 2 times, last 3 months ago
  2. mellson 2 times, last 3 months ago
  3. tfr 1 times, last 4 months ago
  4. davidvanlaatum 4 times, last 4 months ago
  5. Handemelindo 6 times, last 4 months ago
40 more registered users
51 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.BindException

    Address already in use

    at sun.nio.ch.Net.bind()
  2. Java RT
    ServerSocketAdaptor.bind
    1. sun.nio.ch.Net.bind(Native Method)
    2. sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
    3. sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    3 frames
  3. Jetty
    AbstractLifeCycle.start
    1. org.eclipse.jetty.server.nio.BlockingChannelConnector.open(BlockingChannelConnector.java:122)
    2. org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
    3. org.eclipse.jetty.server.nio.BlockingChannelConnector.doStart(BlockingChannelConnector.java:80)
    4. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    5. org.eclipse.jetty.server.Server.doStart(Server.java:274)
    6. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    6 frames
  4. Plexus Jetty Testsuite
    ControlledServer.start
    1. org.sonatype.jettytestsuite.ControlledServer.start(ControlledServer.java:131)
    2. org.sonatype.jettytestsuite.ControlledServer.start(ControlledServer.java:135)
    2 frames
  5. org.sonatype.nexus
    Nexus1329MirrorFailAndRetriesIT.downloadFromMirrorTest
    1. org.sonatype.nexus.integrationtests.nexus1329.Nexus1329MirrorFailAndRetriesIT.downloadFromMirrorTest(Nexus1329MirrorFailAndRetriesIT.java:44)
    1 frame
  6. org.apache.maven
    TestNGProvider.invoke
    1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
    2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158)
    3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98)
    4. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
    4 frames
  7. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
    2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
    3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
    4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
    5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
    5 frames