![]() |
Before using the runDeployment utility, you must first edit it with any text editor to provide the location of the Java™ runtime environment on the server. For example, you might specify Interact_home/jre or Platform_home/jre as the path, if either of those directories contains the Java™ runtime you want the utility to use. Alternatively, you could provide the path to any Java™ runtime environment that is supported for use with this release of the IBM® products.
|
1.
|
When you are editing the deployment.properties file for your interactive channel deployment, modify the deploymentURL property to use the secure SSL URL, as in this example:
|
2.
|
Edit the runDeployment.sh or runDeployment.bat script using any text editor to add the following argument to the line beginning with ${JAVA_HOME}:
|
${JAVA_HOME}/bin/java -Djavax.net.ssl.trustStore=<TrustStorePath>
-cp ${CLASSPATH}com.unicacorp.Campaign.interact.deployment.tools.
InvokeDeploymentClient $1
###############################################################################
#
# The following properties feed into the InvokeDeploymentClient program.
# The program will look for a deploymentURL setting. The program will post a
# request against that url; all other settings are posted as parameters in
# that request. The program then checks the status of the deployment and
# returns back when the deployment is at a terminal state (or if the
# specified waitTime has been reached).
#
# the output of the program will be of this format:
# <STATE> : <Misc Detail>
#
# where state can be one of the following:
# ERROR
# RUNNING
# SUCCESS
#
# Misc Detail is data that would normally populate the status message area
# in the deployment gui of the IC summary page. NOTE: HTML tags may exist
# in the Misc Detail
#
###############################################################################
###############################################################################
# deploymentURL: url to the InvokeDeployment servlet that resides in Interact
# Design time. should be in the following format:
# http://dt_host:port/Campaign/interact/InvokeDeploymentServlet
###############################################################################
deploymentURL=http://localhost:7001/Campaign/interact/InvokeDeploymentServlet
###############################################################################
# dtLogin: this is the login that you would use to login to the Design Time if
# you had wanted to deploy the IC via the deployment gui inside the IC summary
# page.
###############################################################################
dtLogin=asm_admin
###############################################################################
# dtPW: this is the PW that goes along with the dtLogin
###############################################################################
dtPW=
###############################################################################
# icName: this is the name of the Interactive Channel that you want to deploy
###############################################################################
icName=ic1
###############################################################################
# partition: this is the name of the partition
###############################################################################
partition=partition1
###############################################################################
# request: this is the type of request that you want this tool to execute
# currently, there two behaviors. If the value is "deploy", then the deployment
# will be executed. All other values would cause the tool to simply return the
# status of the last deployment of the specified IC.
###############################################################################
request=deploy
###############################################################################
# serverGroup: this is the name of the server group that you would like to
# deploy the IC.
###############################################################################
serverGroup=defaultServerGroup
###############################################################################
# serverGroupType: this will indicate whether or not this deployment is going
# against production server group or a test server group. 1 denotes production
# 2 denotes test.
###############################################################################
serverGroupType=1
###############################################################################
# rtLogin: this is the account used to authenticate against the server group
# that you are deploying to.
###############################################################################
rtLogin=asm_admin
###############################################################################
# rtPW: this is the password associated to the rtLogin
###############################################################################
rtPW=
###############################################################################
# waitTime: Once the tool submits the deployment request, the tool will check
# the status of the deployment. If the deployment has not completed (or
# failed), then the tool will continue to poll the system for the status until
# a completed state has been reached, OR until the specified waitTime (in
# seconds) has been reached.
###############################################################################
waitTime=5
###############################################################################
# pollTime: If the status of a deployment is still in running state, then the
# tool will continue to check the status. It will sleep in between status
# checks a number of seconds based on the pollTime setting .
###############################################################################
pollTime=3
###############################################################################
# global: Setting to false will make the tool NOT deploy the global settings.
# Non-availability of the property will still deploy the global settings.
###############################################################################
global=true
Copyright IBM Corporation 2014. All Rights Reserved.
|