On the z/OS® platform,
you can modify the Liberty profile by using MVS™ operator commands. The MODIFY operator command
can be used to request various dumps.
Transaction dumps
The following example
shows the
MODIFY command to request a transaction
dump from the specified Liberty server:
MODIFY [jobname.]identifier,tdump
SVC dumps
To start an SVC dump, the server
must be authorized with read access to the BBG.AUTHMOD.BBGZSAFM.ZOSDUMP
resource profile in the SERVER class. The following example shows
sample RACF® commands for authorizing
the server, where <
userid> is the user ID assigned
to the server:
rdef server bbg.authmod.bbgzsafm.zosdump uacc(none)
permit bbg.authmod.bbgzsafm.zosdump class(server) access(read) id(<userid>)
setr raclist(server) generic(server) refr
The following
example shows the
MODIFY command to request an
SVC dump from the specified Liberty server:
MODIFY [jobname.]identifier,svcdump
Java heap dumps
The following example shows the
MODIFY command to request a Java™ virtual machine (JVM) heap dump from the specified Liberty
server:
MODIFY [jobname.]identifier,HEAPDUMP
Java core dumps
The following example shows the
MODIFY command to request a JVM core dump from the specified
Liberty server:
MODIFY [jobname.]identifier,JAVACORE
Server dumps
The following
example shows the
MODIFY command to request a server
dump from the specified Liberty server:
MODIFY [jobname.]identifier,DUMP[,INCLUDE=<JAVA_DUMP_1>,<JAVA_DUMP_2>,...]
The
INCLUDE parameter is optional.
If the
INCLUDE parameter is specified, any Java dumps that are listed on the
INCLUDE parameter are requested and included in the server
dump package. The following Java dump types are valid:
- THREAD for a Java core dump
- HEAP for a Java heap dump