Administering applications using wsadmin scripting

You can use administrative scripts and the wsadmin tool to install, uninstall, and manage applications.

About this task

There are two methods you can use to install, uninstall, and manage applications. You can use the commands for the AdminApp and AdminControl objects to invoke operations on your application configuration.

Alternatively, you 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. You can run each script procedure individually, or combine several procedures to quickly develop new scripts.

You might need to complete one or more of the following topics to administer your application configurations with the wsadmin tool.

Procedure

  • Install enterprise applications.
    Use the AdminApp object or the AdminApplication script library to install an application to the application server runtime. You can install an enterprise archive (EAR), web application archive (WAR), servlet archive (SAR), or Java™ archive (JAR) file.
  • Install business-level applications.
    Use the BLAManagement command group for the AdminTask object 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 the AdminTask object 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.