Example: Configuring the Java virtual machine using wsadmin
An example modifying the Java virtual machine (JVM) of a server to turn
on debug follows:
- Identify the server and assign it to the server1 variable.
Using Jacl:
set server1 [$AdminConfig getid /Cell:mycell/Node:mynode/Server:server1/]
Example output:
server1(cells/mycell/nodes/mynode/servers/server1:server.xml#Server_1)
- Identify the JVM belonging to this server and assign it to the jvm variable.
Using
Jacl:
set jvm [$AdminConfig list JavaVirtualMachine $server1]
Example output:
- Save the changes with the following command:
Using Jacl:
$AdminConfig save
Searchable topic ID:
rxml_jvm
Last updated: Jun 21, 2007 4:12:58 PM CDT
WebSphere Application Server Express, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.exp.doc/info/exp/ae/rxml_jvm.html