java.net.SocketException: Address already in use: 8000

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Can't bind to specific IP

    Oracle Community | 1 decade ago | 807581
    java.net.SocketException: Address already in use: 8000

    Root Cause Analysis

    1. java.net.SocketException

      Address already in use: 8000

      at com.sun.enterprise.web.connector.grizzly.SelectorThread.initEndpoint()
    2. Glassfish Core
      GrizzlyHttpProtocol.init
      1. com.sun.enterprise.web.connector.grizzly.SelectorThread.initEndpoint(SelectorThread.java:538)
      2. com.sun.enterprise.web.connector.grizzly.GrizzlyHttpProtocol.init(GrizzlyHttpProtocol.java:188)
      2 frames
    3. org.apache.coyote
      CoyoteConnector.initialize
      1. org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1446)
      1 frame
    4. Glassfish Core
      Embedded.start
      1. org.apache.catalina.startup.Embedded.start(Embedded.java:899)
      1 frame
    5. Glassfish
      PEWebContainerLifecycle.onStartup
      1. com.sun.enterprise.web.WebContainer.start(WebContainer.java:707)
      2. com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:507)
      3. com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:54)
      3 frames
    6. com.sun.enterprise
      PEMain.main
      1. com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
      2. com.sun.enterprise.server.PEMain.run(PEMain.java:294)
      3. com.sun.enterprise.server.PEMain.main(PEMain.java:220)
      3 frames