How to code in Jacl to set JVM automatic restart to "false"
Posted on 2006-04-18
I'm just starting to learn Jacl; so I'm not quite get used to some concept yet. Here is my goal. By default, WebSphere sets each JVM automatic restart as "true". I want to develop a Jacl script to change that setting to "false".
You can see the setting under WAS console---> Application Server ---> (pick a server name) -----> Process Definition ----> Monitoring Policy ----> automatic restart (Checked).
I'm learning Jacl by using interactive mode for now. Here is what I have done:
wsadmin.sh -user xxxxx -password xxxxx
wsadmin> $AdminConfig list MonitoringPolicy
wsadmin>$AdminConfig show (cells/cell_xxx/nodes/node_yyy/servers/server_xxx:sever.xml#MonitoringPolicy_1141073704002)
What may be the next few steps I should do in order to change the attribute, "autoRestart" to false?
Thanks for the tip....