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
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 |
Using Jacl:
$AdminConfig save