Configuring the Java virtual machine using scripting
Use the wsadmin tool to configure settings for a Java™ virtual machine (JVM). As part of configuring an application server, you might define settings that enhance the way your operating system uses of the Java virtual machine.
About this task
There are three ways to perform this task. Use the steps
in this topic to use the setJVMDebugMode command for the AdminTask
object or the AdminConfig object to modify your JVM configuration.
Alternatively, you can use the configureJavaVirtualMachine Jython
script in the AdminServerManagement script library to enable, disable,
or configure the debug mode for the JVM. The wsadmin tool automatically
loads the script when the tool starts. Use the following syntax to
configure JVM settings using the configureJavaVirtualMachine script:
AdminServerManagement.configureJavaVirtualMachine(nodeName, serverName, debugMode, debugArgs, otherAttributeList)
For
additional information and argument definitions, see the documentation
for the AdminServerMananagment script library.The Java virtual machine (JVM) is an interpretive computing engine responsible for running the byte codes in a compiled Java program. The JVM translates the Java byte codes into the native instructions of the host machine. The application server, being a Java process, requires a JVM in order to run, and to support the Java applications running on it. JVM settings are part of an application server configuration.