+

Search Tips   |   Advanced Search

Application update scripts

The scripting library provides script procedures to automate the application configurations. See the usage information for scripts that update applications. We can run each script individually or combine procedures to create custom automation scripts for the environment.

Each application management script procedure is located in the app_server_root/scriptLibraries/application/V70 directory. Use the following script procedures to update application configurations:

  1. addSingleFileToAnAppWithUpdateCommand
  2. addSingleModuleFileToAnAppWithUpdateCommand
  3. addUpdateSingleModuleFileToAnAppWithUpdateCommand
  4. addPartialAppToAnAppWithUpdateCommand
  5. deleteSingleFileToAnAppWithUpdateCommand
  6. deleteSingleModuleFileToAnAppWithUpdateCommand
  7. deletePartialAppToAnAppWithUpdateCommand
  8. updateApplicationUsingDefaultMerge
  9. updateApplicationWithUpdateIgnoreNewOption
  10. updateApplicationWithUpdateIgnoreOldOption
  11. updateEntireAppToAnAppWithUpdateCommand
  12. updatePartialAppToAnAppWithUpdateCommand
  13. updateSingleFileToAnAppWithUpdateCommand
  14. updateSingleModuleFileToAnAppWithUpdateCommand


addSingleFileToAnAppWithUpdateCommand

Add a single file to a deployed application.

To run the script, specify the application name, file name, and the content uniform resource identifier (URI) argument:

Argument Description
appName Name of the application to update.
fileContent Name of the file to use to update the application.
contentURI The URI of the file content.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


addSingleModuleFileToAnAppWithUpdateCommand

Add a single module file to a deployed application.

To run the script, specify the application name, file name, and content URI arguments:

Argument Description
appName Name of the application to update.
fileContent Name of the file to use to update the application.
contentURI The URI of the file content.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


addUpdateSingleModuleFileToAnAppWithUpdateCommand

Add and update a single module file for a deployed application.

To run the script, specify the application name, file name, content URI, and context root argument:

Argument Description
appName Name of the application to update.
fileContent Name of the file to use to update the application.
contentURI The URI of the file content.
contextRoot The context root for web modules in the application.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


addPartialAppToAnAppWithUpdateCommand

Add a partial application to a deployed application.

To run the script, specify the application name and file content argument:

Argument Description
appName Name of the application to update.
fileContent Name of the file to use to update the application.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


deleteSingleFileToAnAppWithUpdateCommand

Delete a single file from a deployed application.

To run the script, specify the application name, file name, and content URI arguments:

Argument Description
appName Name of the application to update.
fileContent Name of the file to use to update the application.
contentURI The URI of the file content.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


deleteSingleModuleFileToAnAppWithUpdateCommand

Delete a single module file from a deployed application.

To run the script, specify the application name, file name, and content URI arguments:

Argument Description
appName Name of the application to update.
fileContent Name of the file to use to update the application.
contentURI The URI of the file content.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


deletePartialAppToAnAppWithUpdateCommand

Delete a partial application from a deployed application.

To run the script, specify the application name, file name, and the content URI arguments:

Argument Description
appName Name of the application to update.
fileContent Name of the file to use to update the application.
contentURI The URI of the file content.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


updateApplicationUsingDefaultMerge

Update an application using default merging.

To run the script, specify the application name and EAR file arguments, as defined in the following table:

Argument Description
appName Name of the application to update.
earFile Name of the file to use to update the application.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


updateApplicationWithUpdateIgnoreNewOption

Update an application using -update.ignore.new option. The system ignores the bindings from the new version of the application.

To run the script, specify the application name and EAR file arguments:

Argument Description
appName Name of the application to update.
earFile Name of the file to use to update the application.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


updateApplicationWithUpdateIgnoreOldOption

Updates an application using the -update.ignore.old option. The system ignores the bindings from the installed version of the application.

To run the script, specify the application name and EAR file argument:

Argument Description
appName Name of the application to update.
earFile Name of the file to use to update the application.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


updateEntireAppToAnAppWithUpdateCommand

Update an entire deployed application.

To run the script, specify the application name and EAR file arguments:

Argument Description
appName Name of the application to update.
earFile Name of the file to use to update the application.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


updatePartialAppToAnAppWithUpdateCommand

Update a partial application for a deployed application.

To run the script, specify the application name, file name,and the content URI arguments

Argument Description
appName Name of the application to update.
fileContent Name of the file to use to update the application.
contentURI The URI of the file content.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


updateSingleFileToAnAppWithUpdateCommand

Update a single file on a deployed application.

To run the script, specify the application name, file name, and the content URI arguments, as defined in the following table:

Argument Description
appName Name of the application to update.
fileContent Name of the file to use to update the application.
contentURI The URI of the file content.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


updateSingleModuleFileToAnAppWithUpdateCommand

Update a single module file for a deployed application.

To run the script, specify the application name, file name, and the content URI arguments:

Argument Description
appName Name of the application to update.
fileContent Name of the file to use to update the application.
contentURI The URI of the file content.

Syntax

Example usage

(Windows)

(AIX) (Solaris) (Linux) (HPUX) (iSeries) (ZOS)


  • Use the script library to automate the application serving environment
  • Automating application configurations
  • Application administration scripts
  • Application installation and uninstallation scripts
  • Application query scripts
  • Application export scripts
  • Application deployment configuration scripts