|
Problem |
Instructions on how to capture -VV traces,
NCF and NATIVE logs when running HTTP Server or WebSphere® Application
Server for z/OS® |
|
|
|
Solution |
You can activate VV tracing in one of three
ways:
- From OMVS shell enter: httpd -r
/etc/httpd.conf -vv 2> /u/userid/vv.trace
- From your Webserver procedure, code the following
in your jcl:
//*IMWEBRMJ PROC LEPARM=,ICSPARM='-vv -r
/u/userid/etc/httpd.conf',
Note: You will need these DD statements in the PROC to capture the -vv
trace
//*************************************************
//SYSIN DD DUMMY
//OUTDSC OUTPUT DEST=HOLD
//SYSTCPD DD DSN=SYS1.TCPPARMS(TCPDATA@),DISP=SHR
//SYSPRINT DD SYSOUT=*,OUTPUT=(*.OUTDSC)
//SYSERR DD SYSOUT=*,OUTPUT=(*.OUTDSC)
//STDOUT DD SYSOUT=*,OUTPUT=(*.OUTDSC)
//STDERR DD SYSOUT=*,OUTPUT=(*.OUTDSC)
//SYSOUT DD SYSOUT=*,OUTPUT=(*.OUTDSC) <----[trace will be stored here (held output) or use the
next line to store in a dataset.]
//SYSOUT DD DSN=GERRYB.VV,DISP=(NEW,CATLG),SPACE=(TRK,(5,5),RLSE),
// DCB=(DSORG=PS,RECFM=VB,LRECL=133,BLKSIZE=1330)
//CEEDUMP DD SYSOUT=*,OUTPUT=(*.OUTDSC)
//
- From your Webserver procedure you can add
the PARM = statement:
//WEBSRV EXEC PGM=IMWHTTPD,REGION=0K,TIME=NOLIMIT,
// PARM='ENVAR("_CEE_ENVFILE=/etc/httpd.envvars")/
// -r
/u/user126/httpd.conf_89918_was -p 8126 -vv'
You can turn on NCF and native logging in
WebSphere Application Server by coding the following in your was.conf
file:
appserver.loglevel=INFO
appserver.logdirectory=some path
appserver.tracelevel=*=all=enabled
service.plugin.tracelevel=MOST
where some
path is the path where the files are
written. |
|
|
|
|
|
|
|