WebSphere Application Server
Create a Jacl descriptor (for example, fmsetup.jacl) with the following content:
# $AdminApp install WAR-file-location {-contextroot
deployment-URI -usedefaultbindings -nopreCompileJSPs -distributeApp
-nouseMetaDataFromBinary -node WebSphereAS-node
-cell WebSphereAS-cell -server WebSphereAS-instance
-nodeployejb -appname deployment-URI -createMBeansForResources
-noreloadEnabled -reloadInterval 0 -nodeployws}
|
where:
|
WAR-file-location |
Defines the full path to the WAR file being deployed. |
|
deployment-URI |
Defines the Federation Manager URI. This is generally the name of the WAR file without the .WAR suffix. |
|
WebSphereAS-node |
Defines the node under which the Application Server instance is configured. |
|
WebSphereAS-cell |
Defines the cell under which the Application Server node is configured. |
|
WebSphereAS-instance |
Defines the instance of the Application Server to which Federation Manager will be deployed. |
Save the configuration with the following command:
# $AdminConfig save |
After editing the Jacl descriptor, run the following command to deploy the WAR:
# WebSphereAS-base/bin/wsadmin.sh -f Jacl-descriptor-file |
where:
|
Jacl-descriptor-file |
Defines the full path to the Jacl descriptor previously created. |