deployContentBox command
Use the deployContentBox command to deploy a custom WAR that was created using ContentBoxTemplate.war and has been renamed using the namespaceContentBox command.
Syntax
This command has the following syntax:


deployContentBox.sh -username WAS_admin_user_ID -password WAS_admin_user_password -war path_to_war_location -dashHome DASH_home_dir -contextRoot context_root_path -overwrite true|false
deployContentBox.bat -username WAS_admin_user_ID -password WAS_admin_user_password -war path_to_war_location -dashHome DASH_home_dir -contextRoot context_root_path -overwrite true|false
Note: The WebSphere Application Server must be in
stopped mode before you run the command.
Example

For example,
in a UNIX or Linux environment, use the following command:
/tmp/ContentBox/bin/deployContentBox.sh -username wsadmin_username -password wsadmin_password -war
/tmp/ContentBox/MyCompany_MyProduct.war -dashHome /opt/JazzSM/ui -contextRoot
/MyCompany_MyProduct -overwrite trueWhere:
- wsadmin_username is the WebSphere Application Server administrator user ID.
- wsadmin_password is the WebSphere Application Server administrator user password.
- /tmp/ContentBox/MyCompany_MyProduct.war is the file path to the customized WAR that is to be deployed.
- /opt/JazzSM/ui is the path to the Dashboard Application Services Hub home directory.
- /MyCompany_MyProduct is the context root
for the customized WAR. The context root value must be based on the
name of the WAR. For example, if you named the WAR as
NameSpacedContentBox.war, then the context root value is /NameSpacedContentBox. - true indicates that you want to overwrite settings for an existing WAR. Use the false option to ensure that existing settings are not overwritten.