How to troubleshoot HTTP://400 Bad Request Errors in Clarity.

Document ID : KB000051627
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

When logging into the Clarity application you may receive the following error:

  LifecycleException: 
service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:80

This error indicates that another application is currently using Port 80 and therefore Tomcat is unable to launch.

Solution

Please follow these steps to determine which application is currently using Port 80 on the Clarity Application Server.

  1. Start--> Run--> type cmd to open a command shell window.
  2. Type the following command: netstat -o -n -a | findstr 0.0:80 and press enter.
  3. The results of this command will identify the application that is currently using the port.
  4.   Sample Output:
     
       TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       208
       TCP    0.0.0.0:8009           0.0.0.0:0              LISTENING       208
       TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       2404
    
  5. The last column will indicate the Process ID that is currently using the port.
  6. Make a note of the Process ID.
  7. Press Ctrl-Alt-Del and select Task Manager.
  8. Click on the 'View' tab and click on 'Select Columns'.
  9. Place a check mark in 'PID' (Process Identifier).
  10. Click OK.
  11. Click on the PID column to sort the rows in numerical order.
  12. Search for the PID that you recorded in step 5.
  13. This is the application that is currently using the port.

Please Note the 'netstat -o -n -a | findstr 0.0:80' command can check for applications using SSL by changing the 80 to 443 or the appropriate port number.