WAS v8.5 > Script the application serving environment (wsadmin)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:
- Installing and uninstalling applications
- Listing applications
- Editing applications or modules
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 the application changes so 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. You 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.
To see a list of all available commands for the AdminApp object:
- See the Commands for the AdminApp object topic.
- We can also use the Help command, for example:
Jacl:
$AdminApp help
Jython:
print AdminApp.help()
Subtopics
- List applications using wsadmin.sh
We can list installed applications using wsadmin and scripting.- Edit application configuration
Use wsadmin to configure application settings.- List applications using wsadmin.sh
We can list installed applications using wsadmin and scripting.- Edit application configuration
Use wsadmin to configure application settings.
Related
Pattern matching using wsadmin.sh
Reference:
Commands for the AdminApp object using wsadmin.sh