SPC-OCC-10250 "Resource at http://localhost:80 was not found" error when trying to log into Spectrum OneClick
search cancel

SPC-OCC-10250 "Resource at http://localhost:80 was not found" error when trying to log into Spectrum OneClick

book

Article ID: 186582

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

SPC-OCC-10250 "Resource at http://localhost:80 was not found" error when trying to log into Spectrum OneClick

Environment

Release : Any

Component : Spectrum OneClick

Cause

Possible issue is some other application is using the http port specified in the error which is not allowing OneClick to access it.

Check the $SPECROOT/tomcat/logs/stdout.log (Windows) catalina.out (Linux) for an error similar to the following:

INFO: Initializing ProtocolHandler ["http-nio-80"]
mar 05, 2020 11:26:08 PM org.apache.catalina.util.LifecycleBase handleSubClassException
SEVERE: Failed to initialize component [Connector[HTTP/1.1-80]]
.
.
.
Caused by: java.net.BindException: Address already in use: bind

Resolution

You can run the following to find out what application is using http port (port 80 for this example):

1. Log into the OneClick system as the user that owns the Spectrum installation

2. On Windows, start a bash shell by running "bash -login"

3. Enter the following command:

netstat -ano | grep 80

4. In the output, look for a line that is similar to the following:

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 1252

5. In the above output example, 1252 is the process id of the application that is using port 80.

6. Run the Windows Task Manager (Windows) or run "ps -ef | grep 1252" (Linux) to find the application running on process id from you netstat output. Using the above example output, I would look for an application running on process id 1252.

7. Either shutdown that process or configure that process to use a different http port.

8. Restart tomcat

Attachments