Edit application configurations with the wsadmin tool
Overview
- Invoke the AdminApp object commands interactively, in a script, or use the wsadmin -c command from an operating system command prompt.
- Issue one of the following commands:
The following command uses the installed application and the command option information to edit the application:
Using Jacl:
$AdminApp edit app1 {options}
Using Jython list:
AdminApp.edit('app1', ['options'])
Using Jython string:
AdminApp.edit('app1', '[options]')
where:
$ is a Jacl operator for substituting a variable name with its value AdminApp is an object allowing application objects management edit is an AdminApp command app1 is the name of the application to edit {options} is a list of edit options and tasks similar to the ones for the install command
The following command changes the application information by prompting you through a series of editing tasks:
Using Jacl:
$AdminApp editInteractive app1
Using Jython:
AdminApp.editInteractive('app1')
where:
$ is a Jacl operator for substituting a variable name with its value AdminApp is an object allowing application objects management editInteractive is an AdminApp command app1 is the name of the application to edit
- Save the configuration changes with the following command:
Using Jacl:
$AdminConfig save
Using Jython:
AdminConfig.save()Use the reset command of the AdminConfig object to undo changes that you made to your workspace since your last save.