Operating Systems: i5/OS
Personalize the table of contents and search results
Set development mode for server objects using scripting
You can use scripting and the wsadmin tool to configure development
mode for server objects.
Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article
for more information.
Overview
Perform the following steps to set the development mode for a server
object:
Procedure
- Locate the server object. The following example selects the first
server found:
- Enable development mode:
- Using Jacl:
$AdminConfig modify $server "{developmentMode true}"
- Using Jython:
AdminConfig.modify(server, [['developmentMode', 'true']])
- Save the configuration changes. See the Saving configuration changes with the wsadmin tool article for more information.
- In a network deployment environment
only, synchronize the node. See the Synchronizing nodes with the wsadmin tool article for more information.
}
Using the AdminConfig object for scripted administration
Related Reference
Commands for the AdminConfig object
|