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
-custom containWebServices=true|false
-usedefaultbindings -contextroot /context
-MapWebModToVH {{.* .* admin_host}}
-MapModulesToServers {{.* .*.war,.* WebSphere:cell=cellname,node=nodename,server=servername}}}
Notes:
- The values of the -contents and -contenturi options are case sensitive
and should match the war file name that you are ready to deploy.
- Specifying -custom paavalidation=true causes the deployment
to validate the XML descriptors for the console module package before deployment.
This is optional.
- Set the option -custom containWebServices=true only
if the package contains a Web service. This setting invokes more deployment
processing to locate and setup the Web service. The default for this option
is true. If the package does not contain any Web services, be sure to set
this option to false for more efficient deployment.
- Use the -MapModulesToServers option when deploying to an agent profile.
![[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
-custom containWebServices=false
-usedefaultbindings -contextroot /ibm/pagelayout
-MapWebModToVH {{.* .* admin_host}}
-MapModulesToServers {{.* .*.war,.* WebSphere:cell=cell_A,node=node_B,server=server_C}}}
![[iSeries]](../../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
-custom containWebServices=false
-usedefaultbindings -contextroot /ibm/pagelayout
-contextroot /pagelayout
-MapWebModToVH {{.* .* admin_host}}
-MapModulesToServers {{.* .*.war,.* WebSphere:cell=cell_A,node=node_B,server=server_C}}}
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.