# Determine the correct directory where the Messenger
# is installed from either the tailored name or existing value of $DLC. for what_dlc in "/usr1/pmccorma/wsrt" "$DLC" do [ ! -f "${what_dlc}/bin/cgiip" ] && continue DLC=$what_dlc export DLC break done # Set PROMSGS (if not set) PROMSGS=${PROMSGS-$DLC/promsgs}; export PROMSGS # Set the user working directory - this is a tailored value WRKDIR=${WRKDIR-"/usr1/pmccorma/wrk"}; export WRKDIR # option 1 using host_name and port_num # $DLC/bin/cgiip pegasus 5001 # option 2 using a service name defined in $DLC/ubroker.properties $DLC/bin/cgiip -i wsbroker1 # option 3 the "defaultService" defined in $DLC/ubroker.properties # $DLC/bin/cgiip # option 4 using a specific properties file name # $DLC/bin/cgiip -i wsbroker1 -f ./mybroker.properties # option 5 using a specific properties file name with the "defaultService" # $DLC/bin/cgiip -f ./mybroker.properties |
Option
|
Description
|
cgiip
|
The Messenger uses the Transaction Server that you defined as the Default Service in the ubroker.properties file.
|
cgiip host-name port-num
|
The Messenger uses the Transaction Server whose host name and port number you specify.
|
cgiip -i WS-service
|
The Messenger uses the Transaction Server service whose name you specify.
|
cgiip -f cnf-file
|
The Messenger uses the configuration file that you specify. This option overrides the ubroker.properties setting.
|
# save CGI environment
env >/tmp/webapp.env # save application output outfile=/tmp/webapp.out /usr/dlc/bin/cgiip -i WSbroker 2>&1 | tee $outfile |