Defining environmental parameters
Use the following procedure to specify environmental parameters for the MainView for Java Environments PAS.
- Copy BBPARM member MJEENV00 to UBBPARM.
In the copied MJEENV00 member, define the following parameters:
Parameter
Default value
Description
_BPX_JOBNAME=jobName
No default
Name for the MainView for Java Environments JVM job
_BPX_SHAREAS=[YES | NO]
NO
Whether the spawned child process should run in a separate address space from the shell address space
Valid values are:
- YES, which creates the child process on a subtask in the parent's address space
If the request cannot be honored, the child is created in another address space. - NO (the default), which creates the child process in a new address space
_BPXK_MDUMP=jvmDump directory
No default
Location to which Java dumps are written
COREMJETHREADS=nn
No default
Minimum number of threads in the thread pool
You can calculate this value as follows:
<numberOfMonitoredJMX> * 3HOLDQSIZE= nn
No default
Maximum number of threads that can be held in the queue, awaiting execution while all threads are busy
BMC recommends using the same value for HOLDQSIZE that you used for MAXMJETHREADS.
JAVA_HOME= location
No default
Location of Java 7.1 or later, 64-bit
KEEPALIVESEC= nn
No default
Maximum time in seconds to retain inactive threads in the thread pool
The recommended time is 90 seconds.
MAXMJETHREADS=nn
No default
Maximum number of threads allowed in the thread pool
You can calculate this value as follows:
<valueOfCOREMJETHREADS> * 2MJEPATH= directory
No default
Mount point that you specified for mounting MainView for Java Environments ZFS files
MONINT=nnn
No default
Self-monitoring interval time in seconds
The recommended time is 60 seconds.
OUTPATH=mjejvmnnn
No default
Directory in which to write MainView for Java Environments messages
TCPMJEPORT= portNumber
No default
Port for MainView for Java Environments to communicate with the MJEJVM
WLP_DIR= directory
No default
IBM WebSphere Application Server Liberty profile bin (wlp) directoryThe product uses this directory to locate the clients sub_directory. The sub-directory contains the restConnector.jar file that is used to gather JMX data from Liberty servers.
XMS=initialHeapSize
No default
Initial heap size for the MJEJVM
The recommended value is 2048m.
XMX=maximumHeapSize
No default
Maximum heap size for the MJEJVM
The recommended value is 4096m.
For more information, see the sample MJEENV00 member.
- YES, which creates the child process on a subtask in the parent's address space