How to configure the Spectrum OneClick WebApp to automatically start
search cancel

How to configure the Spectrum OneClick WebApp to automatically start

book

Article ID: 134999

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

How to configure the Spectrum OneClick WebApp to automatically start

Environment

Release : 10.3.x 10.4.x

Component : Spectrum OneClick WebApp

Resolution

For Windows, the SpectrumWebTomcat runs as a service. The Startup Type is set to Manual by default. This can be changed to Automatic. Reference the "Steps to run OneClick WebApp on Windows" section in the documentation. 


For Linux if you create a <SPECROOT>/lib/SDPM/partslist/WEBTOMCAT.idb file with the following (note: you may need to change the TICKETUSER to the install user name if its not spectrum):

# Processd Install Ticket for WebTomcat Server.
PARTNAME;WEBTOMCAT;
APPNAME;WebTomcat;
WORKPATH;$SPECROOT/webtomcat/bin;
LOGNAMEPATH;$WORKPATH/../logs/startup.out;
ADMINPRIVS;y;
AUTORESTART;n;
AUTOBOOTSTART;y;
#STATEBASED;N;
NUMPROCS;1; // one per host
RETRYTIMEOUT;600; // 10 minutes
TICKETUSER;spectrum;
RETRYMAX;0;     // 5 retries allowed
STARTPRIORITY;10;
SERVERPROCESS;Y;
#ENV;<var>=<value>;
ARGV;$WORKPATH/startWebTomcat.sh; //


The webtomcat process will start successfully when the entire machine is rebooted. If you run a simple processd stop/start without rebooting the whole machine then it will not start properly. In this case, you need to manually stop and start the webtomcat process.

This is a known issue that will require a code change in a future release.