Use the AdminApp object for scripted administration

 

+

Search Tips   |   Advanced Search

 

Use the AdminApp object to manage applications.

This object communicates with the run time application management object in WAS to make application inquires and changes, for example:

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

 

Overview

With the application already installed, the AdminApp object can...

Use the AdminConfig object for other types of changes, such as...

You 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 you 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 appserver, 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.

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

print AdminApp.help()

deleteUserAndGroupEntries Deletes all the user/group information for all the roles and all the username/password information for RunAs roles for a given application.
edit Edit the properties of an application
editInteractive Edit the properties of an application interactively
export Export application to a file
exportDDL Export DDL from application to a directory
getDeployStatus Returns the combined Deployment status of the application
help Show help information
install Installs an application, given a file name and an option string.
installInteractive Installs an application in interactive mode, given a file name and an option string.
isAppReady Checks whether the application is ready to be run
list List all installed applications
listModules List the modules in a specified application
options Shows the options available, for a given file, application, or in general.
publishWSDL Publish WSDL files for a given application
searchJNDIReferences List application that refer to the given JNDIName on a given node
taskInfo Shows detailed information pertaining to a given install task for a given file
uninstall Uninstalls an application, given an application name and an option string
update Updates an installed application
updateAccessIDs Updates the user/group binding information with accessID from user registry for a given application
updateInteractive Updates an installed application interactively
view View an application or module, given an application or module name



Listing applications with the wsadmin tool
Edit application configurations with the wsadmin tool

 

Related tasks

Pattern matching with the wsadmin tool

 

Related Reference

Commands for the AdminApp object