Steps to restart WAOP

Document ID : KB000117080
Last Modified Date : 08/10/2018
Show Technical Document Details
Question:
I'd like to know how to stop and start my Web Agent Option Pack which
runs on Tomcat 6 on RedHat 6 ? And where could I configure the Web
Agent Option Pack FWStrace.log ?
Environment:
Web Agent Option Pack 12.52SP1CR09 on Tomcat 6 on RedHat 6
Answer:
In command line, you'll stop and start the Web Agent Option Pack like :

# source ca-wa-opack-env.sh
# service tomcat6 stop
# service tomcat6 start

You'll find the configuration file for the FWSTrace.log here in the
file affwebservices/WEB-INF/classes/LoggerConfig.properties from your
Web Agent Option Pack installation.

In the file LoggerConfig.properties, make sure you set 

  TracingOn=N
  to 
  TracingOn=Y

and you have these set :

  TraceFileName=/opt/CA/webagent/log/FWSTrace.log
  TraceConfig=/opt/CA/webagent/config/FWSTrace.conf

FWSTrace.conf should have at least these lines :

  components: Fed_Client
  data: Date, Time, Pid, Tid, TransactionID, SrcFile, Function, Message

To get the traces modified and running, you need a restart of the
application server.