How to Kill the Port 8080 which is already in use by other services
search cancel

How to Kill the Port 8080 which is already in use by other services

book

Article ID: 117177

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

WCC Login page will not be appeared when the respective port is being used by other services

Error : 

INFO   | jvm 1    |  |        3 | INFO: Initializing ProtocolHandler ["http-nio-8080"]
INFO   | jvm 1    |  |        3 | Aug 28, 2018 5:46:11 AM org.apache.coyote.AbstractProtocol init
INFO   | jvm 1    |  |        3 | SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"]
INFO   | jvm 1    |  |        3 | java.net.BindException: Address already in use
INFO   | jvm 1    |  |        3 |     at sun.nio.ch.Net.bind0(Native Method)
INFO   | jvm 1    |  |        3 |     at sun.nio.ch.Net.bind(Net.java:433)
INFO   | jvm 1    |  |        3 |     at sun.nio.ch.Net.bind(Net.java:425)
INFO   | jvm 1    |  |        3 |     at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
INFO   | jvm 1    |  |        3 |     at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
INFO   | jvm 1    |  |        3 |     at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:339)
INFO   | jvm 1    |  |        3 |     at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:737)

Environment

WCC 11.3.5, 11.3.6, 11.4 Versions

Resolution

Please run the below command which lists the PID 

> lsof -i:8080 

Then run the below command by passing <PID> 

> kill -9 <PID> 

Re-start the WCC server.