Use wsadmin to turn traces on and off for your application server

To turn traces on and off in your application server, follow these steps:

  1. On the CL command line, run the STRQSH (Start Qshell) command.

  2. Run the cd command to change to the directory that contains the wsadmin tool:

    cd /QIBM/ProdData/WebASE51/ASE/bin
  3. Start wsadmin.

  4. At the wsadmin prompt, run this command to identify the object name for the TraceService MBean running in the process:

    $AdminControl completeObjectName type=Server,name=server,*
  5. Run this command to obtain the name of the object and set it to a variable:

    set ts [$AdminControl completeObjectName type=TraceService,process=myAppSvr,*]

    where myAppSvr is the name of the application server for which you want to enable or disable traces.

  6. Turn traces on or off for the application server.

  7. Run this command to save your changes:

    $AdminConfig save