WAS v8.5 > Script the application serving environment (wsadmin)Administer applications using wsadmin.sh
We can use administrative scripts and wsadmin to install, uninstall, and manage applications.
There are two methods we can use to install, uninstall, and manage applications. We can 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 develop new scripts.
You might need to complete one or more of the following topics to administer the application configurations with wsadmin.
- 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, WAR, servlet archive (SAR), or JAR file.- Install business-level applications.
Use the BLAManagement command group for AdminTask 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 command group for AdminTask or the AdminBLA script library to uninstall business-level applications.- Switch JavaServer Faces implementations.
Use the modifyJSFImplementation command to set the Sun Reference Implementation or the Apache MyFaces project as the JSF implementation for web applications.
Subtopics
- Install enterprise applications using wsadmin.sh
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), WAR file, servlet archive (SAR), or JAR file.- Set up business-level applications using wsadmin.sh
We can 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 using wsadmin.sh
We can use the AdminApp object or the AdminApplication script library to uninstall applications.- Delete business-level applications using wsadmin.sh
We can use wsadmin 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 using wsadmin.sh
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 dmgr console applications using wsadmin.sh
Use the Jython or Jacl scripting languages to deploy or remove portlet-based dmgr console applications.- Manage JavaServer Faces implementations using wsadmin.sh
JavaServer Faces (JSF) is a user interface framework or API that eases the development of Java based web applications. WAS v8.5 supports JSF at a runtime level, which reduces the size of web applications because runtime binaries do not need to be included in the web application. Use wsadmin to set the JSF implementation as the Sun Reference 1.2 implementation or the Apache MyFaces 2.0 project.- BLAManagement command group for AdminTask using wsadmin.sh
We can use the Jython scripting language to configure and administer business-level applications with wsadmin. Use the commands and parameters in the BLAManagement group to create, edit, export, delete, and query business-level applications in your configuration.- JSFCommands command group for AdminTask
We can use the Jython scripting language to display and modify the JavaServer Faces (JSF) implementation.- Application management command group for AdminTask
We can use the Jython or Jacl scripting languages to manage applications with wsadmin. Use the commands and parameters in the AppManagementCommands group can be used to display and process SQL Java (SQLJ) profiles or IBM Optim PureQuery Runtime bind files.- Install enterprise applications using wsadmin.sh
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), WAR file, servlet archive (SAR), or JAR file.- Set up business-level applications using wsadmin.sh
We can 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 using wsadmin.sh
We can use the AdminApp object or the AdminApplication script library to uninstall applications.- Delete business-level applications using wsadmin.sh
We can use wsadmin 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 using wsadmin.sh
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 dmgr console applications using wsadmin.sh
Use the Jython or Jacl scripting languages to deploy or remove portlet-based dmgr console applications.- Manage JavaServer Faces implementations using wsadmin.sh
JavaServer Faces (JSF) is a user interface framework or API that eases the development of Java based web applications. WAS v8.5 supports JSF at a runtime level, which reduces the size of web applications because runtime binaries do not need to be included in the web application. Use wsadmin to set the JSF implementation as the Sun Reference 1.2 implementation or the Apache MyFaces 2.0 project.- BLAManagement command group for AdminTask using wsadmin.sh
We can use the Jython scripting language to configure and administer business-level applications with wsadmin. Use the commands and parameters in the BLAManagement group to create, edit, export, delete, and query business-level applications in your configuration.- JSFCommands command group for AdminTask
We can use the Jython scripting language to display and modify the JavaServer Faces (JSF) implementation.- Application management command group for AdminTask
We can use the Jython or Jacl scripting languages to manage applications with wsadmin. Use the commands and parameters in the AppManagementCommands group can be used to display and process SQL Java (SQLJ) profiles or IBM Optim PureQuery Runtime bind files.
Reference:
Commands for the AdminApp object using wsadmin.sh
Application installation and uninstallation scripts
Application deployment configuration scripts
Application administration scripts