Set development mode for server objects
We can use scripting and wsadmin.sh to configure development mode for server objects.
Before starting this task, wsadmin.sh must be running. See the topic about starting the wsadmin scripting client for more information.
To set the development mode for a server object:
- Locate the server object. The following example selects the first server found:
Jacl:
set server [$AdminConfig getid /Server:server1/]
Jython:
server = AdminConfig.getid('/Server:server1/')
- Enable development mode:
Jacl:
$AdminConfig modify $server "{developmentMode true}"
Jython:
AdminConfig.modify(server, [['developmentMode', 'true']])
- Save the configuration changes. See the topic about saving configuration changes with wsadmin.sh for more information.
- In a network deployment environment only, synchronize the node. See the topic about synchronizing nodes using wsdmin.sh for more information.
Related tasks
Use the wsadmin scripting AdminConfig object for scripted administration Start the wsadmin scripting client Saving configuration changes with wsadmin.sh Synchronize nodes using wsdmin.sh
Commands for the AdminConfig object