After upgrading Spectrum OneClick tomcat hangs on WSSSERVLET12: JAX-WS context listener initializing.
search cancel

After upgrading Spectrum OneClick tomcat hangs on WSSSERVLET12: JAX-WS context listener initializing.

book

Article ID: 392031

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

After upgrading Spectrum OneClick tomcat hangs on startup.

RHEL (SPECROOT/tomcat/logs - catalina.out) WINDOWS (SPECROOT/tomcat/logs - stdout.log) 

WSSERVLET14:  JAX-WS servlet initalizing.

WSSSERVLET12:  JAX-WS context listener initializing.

Until one of the following is printed in the log, tomcat is not fully started and the OneClick UI will not available:

Starting ProtocolHandler ["http-nio-8080"]

OR

Starting ProtocolHandler ["https-jsse-nio-8443"]

 

Environment

Spectrum 23.3.x, 24.3.x

Cause

SPECROOT/tomcat/conf/web.xml is malformed\corrupted

Resolution

1.  Manually fix SPECROOT/tomcat/conf/web.xml

OR

2. locate the backup file taken during the upgrade

SPECROOT/tomcat/webapps/spectrum/WEB-INF/web.xml.bak.<date>

OR

3. Copy from another working OneClick system running the same version.

Additional Information

on RHEL one way to identify xml issues is trying to pass it to xmllint --format - 

cat web.xml | xmllint --format  -

If there are structural (not logical) errors that will usually error out which gives an indication there is a problem with the file.