Edit application configurations with the wsadmin tool

Overview

  1. Invoke the AdminApp object commands interactively, in a script, or use the wsadmin -c command from an operating system command prompt.

  2. 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}

    [V5.1 and later]Using Jython list:

    AdminApp.edit('app1', ['options'])

    [V5.1 and later]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

    [V5.1 and later]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


  3. Save the configuration changes with the following command:

    Using Jacl:

    $AdminConfig save

    [V5.1 and later]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.