+

Search Tips   |   Advanced Search

Use the wsadmin scripting AdminApp object for scripted administration

Use the AdminApp object to manage applications.

This object communicates with the runtime application management object in the product to make application inquires and changes, for example:

Because applications are part of configuration data, any changes that we make to an application are kept in the configuration session, similar to other configuration data. Be sure to save the application changes so that the data transfers from the configuration session to the master repository.

With the application already installed, the AdminApp object can update application metadata, map virtual hosts to web modules, and map servers to modules. We must perform any other changes, such as specifying a library for the application to use or setting session management configuration properties, using the AdminConfig object.

We can run the commands for the AdminApp object in local mode. If a server is running, it is not recommended that you run the scripting client in local mode because any configuration changes that are made in local mode will not be reflected in the running server configuration and vice versa. If we save a conflicting configuration, you could corrupt the configuration.

In a deployment manager environment, configuration updates are available only if a scripting client is connected to a deployment manager. When connected to a node agent or a managed application server, you will not be able to update the configuration because the configuration for these server processes are copies of the master configuration which resides in the deployment manager. The copies are created on a node machine when a configuration synchronization occurs between the deployment manager and the node agent. Make configuration changes to the server processes by connecting a scripting client to a deployment manager. For this reason, to change a configuration, do not run a scripting client in local mode on a node machine. It is not a supported configuration.

To see a list of all available commands for the AdminApp object:


Subtopics


Related tasks

  • Pattern matching using wsdmin.sh

  • Commands for the AdminApp object