Installing applications with the wsadmin tool

Why and when to perform this task

Steps for using the AdminApp object commands to install an application into the run time follow:

Steps for this task

  1. Invoke the AdminApp object commands interactively, in a script, or use the wsadmin -c command from an operating system command prompt.
  2. Issue one of the following commands:

    The following command uses the EAR file and the command option information to install the application:

    Using Jacl:

    where:

    $ is a Jacl operator for substituting a variable name with its value
    AdminApp is an object supporting application object management
    install is an AdminApp command
    MyStuff/application1.ear is the name of the application to install
    server is an installation option
    serv2 is the value of the server option


    The following command changes the application information by prompting you through a series of installation tasks:

    Using Jacl:

    where:

    $ is a Jacl operator for substituting a variable name with its value
    AdminApp is an object allowing application objects to be managed
    installInteractive is an AdminApp command
    MyStuff/application1.ear is the name of the application to install


    In a Network Deployment environment only, the following command uses the EAR file and the command option information to install the application on a cluster:

    Using Jacl:

    where:

    $ is a Jacl operator for substituting a variable name with its value
    AdminApp is an object allowing application objects to be managed
    install is an AdminApp command
    MyStuff/application1.ear is the name of the application to install
    cluster is an installation option
    cluster1 is the value of the server option


  3. Save the configuration changes with the following command:

    Using Jacl:

    $AdminConfig save

    Use the reset command of the AdminConfig object to undo changes that you made to your workspace since your last save.

Related reference
Example: Identifying supported tasks and options for an Enterprise Archive file
Example: Obtaining task information while installing applications
Example: Listing the modules in an installed application



Searchable topic ID:   txml_callappinstall
Last updated: Jun 21, 2007 4:12:58 PM CDT    WebSphere Application Server Express, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.exp.doc/info/exp/ae/txml_callappinstall.html

Library | Support | Terms of Use | Feedback