Edit application configurations with wsadmin


 

+

Search Tips   |   Advanced Search

 

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.

  1. Launch the wsadmin scripting tool.

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

  3. Prompt through a series of editing tasks

    Jacl...

    $AdminApp editInteractive appname

    Jython...

    AdminApp.editInteractive('appname')

  4. Save the configuration changes...

    AdminConfig.save()

    For appname, use the module name returned from listModules command.

  5. 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