Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Error Message

...

25-Sep-2017 14:26:43.238 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]

25-Sep-2017 14:26:43.288 SEVERE [main] org.apache.coyote.AbstractProtocol.init

Highlight

Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"]

 java.net.BindException: Address already in useuse              

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)

Cause

Tomcat has not stopped properly (usually through shutdown.sh in Linux) or another process is already using Tomcat port.

...