Installing stand-alone Java archive and Web archive files with the wsadmin tool

Why and when to perform this task

Use the AdminApp object commands to install Java archive (JAR) and Web archive (WAR) files. The archive file must end in .jar or .war for the wsadmin tool to install. The wsadmin tool uses these extensions to figure out the archive type.

Steps for this task

  1. Invoke the AdminApp object commands interactively, in a script, or use wsadmin -c 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:

    $AdminApp install c:/MyStuff/mymodule1.jar {-server serv2}

    where:

    $ is a Jacl operator for substituting a variable name with its value
    AdminApp is an object supporting application management
    install is an AdminApp command
    c:/MyStuff/mymodule1.jar/MyStuff/mymodule1.jar is the name of the application that will be installed
    server is an installation option
    serv2 is the value of the server option


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

    Using Jacl:

    $AdminApp installInteractive c:/MyStuff/mymodule1.jar

    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
    c:/MyStuff/mymodule1.jar/MyStuff/mymodule1.jar is the name of the application that will be installed


  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.



Searchable topic ID:   txml_standalonejava
Last updated: Jun 21, 2007 4:55:42 PM CDT    WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/txml_standalonejava.html

Library | Support | Terms of Use | Feedback