WebSwing Console - Session Pool WebSocket Connection Failure
search cancel

WebSwing Console - Session Pool WebSocket Connection Failure

book

Article ID: 449480

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

  • You are unable to access Webswing console.

  • The Webswing catalina logs located at <smarts>/CONSOLE/smarts/tomcat/webswing-console/logs report an "Address already in use" error.

  • When you run netstat -anp | grep <webswing_port>, you see that the webswing port is already occupied by a process (e.g., a stale sm_tomcat process).

Environment

Smarts 25.4.7

Cause

A stale process is occupying port webswing port, which prevents the Webswing console from binding to its configured port.

Resolution

To resolve this issue, you must identify and terminate the stale process before restarting the service:

  1. Identify the process ID (PID) occupying the port by running the following command: netstat -anp | grep <webswing_port>
  2. Kill the stale process using the identified PID: kill -9 #### (Note: Replace #### with the actual PID found in the previous step.)
  3. Restart the Webswing console service.
  4. Verify that the service is now listening on webswing port.