Editing application configurations with the wsadmin tool

Use the wsadmin tool to configure an application's settings.

Before you begin

Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.

About this task

Attention: 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.

Procedure

  1. Edit the entire application or a single application module. Use 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 appname {options}
      • Using Jython list:
        AdminApp.edit('appname', ['options'])
      • Using Jython string:
        AdminApp.edit('appname', '[options]')
      where:
      $ is a Jacl operator for substituting a variable name with its value
      AdminApp is an object that supports application object management
      edit is an AdminApp command
      appname is the name of application or application module to edit. For the application module name, use the module name returned from listModules command as the value.
      {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 appname
      • Using Jython:
        AdminApp.editInteractive('appname')
      where:
      $ is a Jacl operator for substituting a variable name with its value
      AdminApp is an object that supports application object management
      editInteractive is an AdminApp command
      appname is the name of application or application module to edit. For the application module name, use the module name returned from listModules command as the value.
  2. Save the configuration changes. See the Saving configuration changes with the wsadmin tool article for more information.
  3. In a network deployment environment only, synchronize the node. See the Synchronizing nodes with the wsadmin tool article for more information.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 12:02:36 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-zos&topic=txml_editapp
File name: txml_editapp.html