Administer applications using wsadmin.sh
Use administrative scripts and the wsadmin tool to install, uninstall, and manage applications.
There are two methods we can use to install, uninstall, and manage applications. Use the commands for the AdminApp and AdminControl objects to invoke operations on the application configuration.
Alternatively, we can use the AdminApplication and BLAManagement Jython script libraries to perform specific operations to configure your enterprise and business-level applications.
The scripting library provides a set of procedures to automate the most common administration functions. We can run each script procedure individually, or combine several procedures to quickly develop new scripts.
We might need to complete one or more of the following topics to administer the application configurations with the wsadmin tool.
Tasks
- Install enterprise applications. Use the AdminApp object or the AdminApplication script library to install an application to the application server runtime. We can install an EAR, web application archive (WAR), servlet archive (SAR), or JAR file.
- Install business-level applications. Use the BLAManagement .or the AdminBLA script library to install business-level applications.
- Manage enterprise applications using pattern matching. Use the AdminApp object or the AdminApplication script library to implement pattern matching when installing, updating, or editing an application. Pattern matching simplifies the task of supplying required values for certain complex options by allowing you to pass in asterisk (*) to all of the required values that cannot be edited.
- Manage Integrated Solutions Console applications. Use the AdminApp object to deploy or remove portlet-based Integration Solutions Console applications.
- Uninstall enterprise applications. Use the AdminApp object or the AdminApplication script library to uninstall applications.
- Uninstall business-level applications. Use the BLAManagement .or the AdminBLA script library to uninstall business-level applications.
- Switch JavaServer Faces implementations. Use the modifyJSFImplementation command to set the Apache MyFaces project as the JSF implementation for web applications.
Subtopics
- Install enterprise applications
Use the AdminApp object or the AdminApplication script library to install an application to the application server run time. We can install an enterprise archive file (EAR), web application archive (WAR) file, servlet archive (SAR), or Java archive (JAR) file.- Set up business-level applications
Create an empty business-level application, and then add assets, shared libraries, or business-level applications as composition units to the empty business-level application.- Uninstall enterprise applications
Use the AdminApp object or the AdminApplication script library to uninstall applications.- Delete business-level applications
Use the wsadmin tool to remove business-level applications from the environment. Deleting a business-level application removes the application from the product configuration repository and it deletes the application binaries from the file system of all nodes where the application files are installed.- Pattern matching
Use the Jython or Jacl scripting language to implement pattern matching when installing, updating, or editing an application. Pattern matching simplifies the task of supplying required values for certain complex options by allowing you to pass in asterisk (*) to all of the required values that cannot be edited.- Manage administrative console applications
Use the Jython or Jacl scripting languages to deploy or remove portlet-based administrative console applications.- Manage JavaServer Faces implementations
JavaServer Faces (JSF) is a user interface framework, or API, that eases the development of Java-based web applications. The product supports JSF at a runtime level, which reduces the size of applications because runtime binaries are not included in the web application. Use the wsadmin tool to set the JSF implementation as the Apache MyFaces 2.2 project.- BLAManagement .
Use the Jython scripting language to administer business-level applications with the wsadmin tool. Use the commands in the BLAManagement group to create, edit, export, delete, and query business-level applications in the configuration.- JSFCommands
Use the Jython scripting language to display and modify the JavaServer Faces (JSF) implementation.- Application management
Use the Jython or Jacl scripting languages to manage applications with the wsadmin tool. Use the commands in the AppManagementCommands group can be used to display and process SQL Java (SQLJ) profiles or IBM Optim PureQuery Runtime bind files.
Commands for the AdminApp object Application installation and uninstallation scripts Application deployment configuration scripts Application administration scripts