Edit application configurations with wsadmin
If an application is running, changing an application setting causes the application to restart.
On stand-alone servers, the application restarts after you save the change. On multiple-server products, the application restarts after you save the change and files synchronize on the node where the application is installed.
To control when synchronization occurs on multiple-server products, deselect Synchronize changes with nodes on the Console preferences page.
- Launch the wsadmin scripting tool.
- Edit the application:
Jacl...
$AdminApp edit appname {options}Jython list:
AdminApp.edit('appname', ['options'])Jython string:
AdminApp.edit('appname', '[options]')For appname, use the module name returned from listModules command.
- Prompt through a series of editing tasks
Jacl...
$AdminApp editInteractive appnameJython...
AdminApp.editInteractive('appname')- Save the configuration changes...
AdminConfig.save()For appname, use the module name returned from listModules command.
- In an ND environment only, synchronize the node.
AdminNodeManagement.syncActiveNodes()...or...
AdminNodeManagement.syncNode("myNode")
Related tasks
Synchronize nodes with wsadmin
Use the script library to automate the application serving environment
Use AdminApp for scripted administration
Related
Commands for the AdminApp object