Versions Compared

Key

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

Error Message


Highlight

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 Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"]

 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)


Cause

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

Workaround/Fix

Kill the Tomcat process:

Find the ps number using ps –ef|grep username

Kill the ps number

Startup Tomcat


Content by Label
showLabelsfalse
max5
spacesHOME
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("domibus","tomcat") and type = "page" and space = "HOME"
labelsdomibus

Page properties
hiddentrue
Related issues