Unable to launch webapp after an upgrade
search cancel

Unable to launch webapp after an upgrade

book

Article ID: 232536

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The following configuration files were overwritten on upgrade. The changes we had made were not preserved by the upgrade.

/spectrum/webtomcat/webswing/webswing.config

/spectrum/webtomcat/webswing/webswing.properties /

/spectrum/webtomcat/bin/webswing.properties /

/spectrum/webtomcat/bin/webswing-admin.properties

 

webswing.server.publicUrl = https://<OC_IP>:<port>/spectrum

webswing.server.websocketUrl = wss://<OC_IP>:<port>/spectrum

Environment

Spectrum Release: 21.2.x

Component: SPCOCK - Spectrum OneClick

Cause

The webswing configuration is not preserved during upgrades.

 

Resolution

The upgrade was designed this way, so we will address the design by ER. This ER is being tracked by DE525850.

 

Additional Information

This can happen on any upgrade if customizations were made to the above files.  The most common change is to the webapp port numbers but can also be client memory or the below change for a load balancer configuration.

/spectrum/webtomcat/webswing/webswing.config

"adminConsoleUrl" : "https://<OC_IP>:<port>/admin"

"vmArgs" : increase Xmx1024m to Xmx1884m

"launcherConfig" : { "args" : "-compress 9 -host localhost -port <port> -ssl true ${customArgs}