At the wsadmin command prompt, enter the
command syntax. The following example presents the syntax: $AdminApp update isclite modulefile {
-operation add
-contents path_to_war
-contenturi war_filename
-custom paavalidation=true -usedefaultbindings
-contextroot /context
-MapWebModToVH {{.* .* admin_host}}}
Note: The values of the -contents and -contenturi are case sensitive
and should match the war file name that you are ready to deploy. The option
custom paavalidation=true is optional.
![[z/OS]](../../ngzos.gif)
As an
example, if you were to deploy the page layout sample to a Windows machine,
the command would be as follows.
$AdminApp update isclite modulefile {
-operation add
-contents C://WebSphere//AppServer//systemApps//isclite.ear//pagelayout.war
-contenturi pagelayout.war
-custom paavalidation=true -usedefaultbindings
-contextroot /ibm/pagelayout
-MapWebModToVH {{.* .* admin_host}}}
![[i5/OS]](../../iseries.gif)
For example:
$AdminApp update isclite modulefile {
-operation add
-contents app_server_root/systemApps/isclite.ear/pagelayout.war
-contenturi pagelayout.war
-custom paavalidation=true -usedefaultbindings
-contextroot /pagelayout
-MapWebModToVH {{.* .* admin_host}}}
The following
messages are displayed if the deployment is successful.
Update of isclite has started.
ADMA5009I: An application archive is extracted at D:\IBM\WebSphere_63\AppServer\
profiles\AppSrv01\wstemp\wstemp\app_10793d84b8e\ext\pagelayout.war
ADMA5064I: FileMergeTask completed successfully for isclite.
ADMA5005I: The application isclite is configured in the WebSphere Application Se
rver repository.
ADMA5005I: The application isclite is configured in the WebSphere Application Se
rver repository.
ADMA5110I: The application isclite is installed as a hidden application and will
not be exposed via administrative interfaces such as GUI client, wsadmin or MBe
an Java API. In order to perform management operations on this application, the
application name must be known.
CWLAA10001I: The Integrated Solutions Console module was deployed successfully.
ADMA5005I: The application isclite is configured in the WebSphere Application Se
rver repository.
ADMA5011I: The cleanup of the temp directory for application isclite is complete
.
Update of isclite has ended.
Update of isclite has started.
ADMA5009I: An application archive is extracted at profile_root/wstemp/wstemp/app_10793d84b8e/ext/pagelayout.war
ADMA5064I: FileMergeTask completed successfully for isclite.
ADMA5005I: The application isclite is configured in the WebSphere Application Se
rver repository.
ADMA5005I: The application isclite is configured in the WebSphere Application Se
rver repository.
ADMA5110I: The application isclite is installed as a hidden application and will
not be exposed via administrative interfaces such as GUI client, wsadmin or MBe
an Java API. In order to perform management operations on this application, the
application name must be known.
CWLAA10001I: The Integrated Solutions Console module was deployed successfully.
ADMA5005I: The application isclite is configured in the WebSphere Application Se
rver repository.
ADMA5011I: The cleanup of the temp directory for application isclite is complete
.
Update of isclite has ended.