+

Search Tips   |   Advanced Search

Saving changes to the script library

The script library provides Jython script procedures to assist in automating the environment. We can save changes to the master configuration repository, disable the automatic saving of configuration changes, or discard configuration changes.

The scripting library provides a set of procedures to automate the most common application server administration functions. There are three ways to use the Jython script library.

The script library saves configuration changes to the master configuration repository by default when each script procedure completes. We can disable or enable the automatic saving of configuration changes with the AdminUtilities.configureAutoSave() script procedure. We can alternatively save changes to the configuration before leaving the wsadmin process using the AdminConfig.sav() command. We can discard configuration changes with the AdminConfig.reset() command.

CAUTION:

If we disable the autosave procedure, call script procedures, then enable the autosave procedure, automatic saving of script procedures in the same wsadmin process does not occur until you call another script procedure.


Tasks

Depending on the steps completed, we have disabled or enabled the automatic saving of configuration changes, completed the saving of configuration changes using the save command, or discarded the configuration changes.


What to do next

Continue administering the environment using the script library.

  • Automating server administration
  • Automating administrative architecture setup using wsadmin.sh library
  • Automating application configurations
  • Automating business-level application configurations
  • Automating data access resource configuration
  • Automating messaging resource configurations
  • Automating authorization group configurations
  • Automating resource configurations
  • Displaying script library help information using scripting
  • Server settings configuration scripts
  • Server configuration scripts
  • Cluster configuration scripts
  • Cluster administration scripts
  • Node administration scripts
  • Node group configuration scripts
  • Application installation and uninstallation scripts
  • Application query scripts
  • Application update scripts
  • Application export scripts
  • Application deployment configuration scripts
  • Application administration scripts
  • J2C query scripts
  • J2C configuration scripts
  • JMS configuration scripts
  • JMS query scripts
  • JDBC configuration scripts
  • JDBC query scripts
  • Resource configuration scripts
  • Authorization group configuration scripts
  • Business-level application configuration scripts
  • Utility scripts