Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Start the HTTP server instance with the -vv option.

          STRTCPSVR SERVER (*HTTP) HTTPSVR (JSMAPACHE '-vv')


Look for the completion message CPCA984 in the server job log for confirmation that the trace option you specified has been accepted.

    User Trace option changed for job
534123/QTMHHTTP/JSMAPACHE.
This is the manager job for HTTP Server instance JSMAPACHE.


Run the HTTP client program that is causing the error to occur in the HTTP instance.

End the HTTP server instance:

    ENDTCPSVR SERVER (*HTTP) HTTPSVR (JSMAPACHE)

...

Use the WRKSPLF SELECT (QTMHHTTP) again to view the created trace spool files:


QZSRHTTPTR  QTMHHTTP   PRT01   QSRV534123  HLD  16
QZSRHTTPTR  QTMHHTTP   PRT01   QSRV534124  HLD  1
QZSRHTTPTR  QTMHHTTP   PRT01   QSRV534125  HLD  30
QZSRHTTPTR  QTMHHTTP   PRT01   QSRV534126  HLD  21

...

Also you can start tracing any time (without stopping and starting the instance) by using the following commands:

    TRCTCPAPP APP(*HTTP) HTTPSVR(JSMAPACHE) TRCLVL(*VERBOSE)
TRCTCPAPP APP(*HTTP) SET(*OFF)

...