After 21.2.6 or 22.2.x Linux Upgrade OneClick WebApp Not Able to Launch with "Invalid system property webswing.warLocation: Path not specified"
search cancel

After 21.2.6 or 22.2.x Linux Upgrade OneClick WebApp Not Able to Launch with "Invalid system property webswing.warLocation: Path not specified"

book

Article ID: 232097

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

 

Error seen in webswing.log: 

Error injecting constructor, java.lang.IllegalStateException: org.webswing.server.model.exception.WsInitException: Invalid system property webswing.warLocation: Path not specified.
  at org.webswing.server.common.service.startup.impl.DefaultInitializer.<init>(DefaultInitializer.java:18)
  while locating org.webswing.server.common.service.startup.impl.DefaultInitializer
  at org.webswing.server.WebswingServerModule.configure(WebswingServerModule.java:54)
  while locating org.webswing.server.common.service.startup.Initializer

 

Environment

Release : 21.2.1 through 21.2.6 / 22.2.x

 

Cause

Missing entries in the $SPECROOT/webtomcat/conf/catalina.properties file

Resolution

Confirm / add the following lines to the bottom of the catalina.properties file:

webswing.warLocation=../webapps/spectrum.war
webswing.configFile=../webswing/webswing.config
webswing.tempDirBase=../webswing/tmp
 
If these filepath locations are missing, add them to the bottom of the file, save file, and restart both Tomcat and WebTomcat services