How do I configure non-default RV transport parameters for the BC internal repository server?
book
Article ID: KB0086010
calendar_today
Updated On:
Products
Versions
TIBCO BusinessConnect
-
Not Applicable
-
Description
Resolution: ------------------------------------------------------- 1. Repository server configuration parameters to change -------------------------------------------------------
Add or modify the following properties in your <BC>/resource/reposerver.ini file
---------------------------------------------------------- 2. BC server and configuration server parameters to change ----------------------------------------------------------
Modify the following three properties and variables to include the appropriate RV transport parameters.
In <BC>/bin/BCMiscProperties.cfg: Config.Repo.Subject: tibcr://BusinessConnect:subject=com.tibco.repo.instance_discovery.request.BC-TIBCO-AX-OTIC:discoveryTime=60:timeout=180:service=8012:network=;239.192.16.3:daemon=tcp:8022
In <BC>/bin/runENV.bat: IF "%BC_REPO_URL%"=="" SET BC_REPO_URL=tibcr://BusinessConnect:subject=com.tibco.repo.instance_discovery.request.BC-TIBCO-AX-OTIC:discoveryTime=60:timeout=180:service=8012:network=;239.192.16.3:daemon=tcp:8022
In <BC>/bin/runENV.sh: if [ "$BC_REPO_URL" = "" ]; then BC_REPO_URL="tibcr://BusinessConnect:subject=com.tibco.repo.instance_discovery.request.BC-TIBCO-AX-OTIC:discoveryTime=60:timeout=180:service=8012:network=;239.192.16.3:daemon=tcp:8022" fi
Note1. The daemon parameter must be of at least two tokens seperated by a colon sign (i.e. tcp:8022) Note2. The double-quotes were added in runENV.sh to prevent issues with the semi-colon sign in the multicast address on UNIX Note3. On windows, you will have to un-install and re-install the BC NT services.
----------------------------------- 3. using the stopRepoServer scripts -----------------------------------
Note: stopRepoServer script on Windows does not allow the passing of a multicast address as the network parameter of the repository connection transport as it is currently provided (BC 3.5.0). To do so, you will have to modify the script so that it allows the passing of double-quote signs.
Windows:
a. correct the stopRepoServer script to test against a null value by using single quotes (instead of double-quotes). if not '%2'=='' SET URL=%URL%:network=%2 b. pass the multicast address argument between double-quotes (quotes won't work) (if it is not a multicast address, you don't need the double quotes) c. issue the following command line to stop the repository server stoprepoServer 8012 ";239.192.16.3" tcp:8022 NB: The issue seems to be with passing the semi-colon sign in DOS as an argument
Unix:
b. no need to modify the shell script a. pass the multicast address argument between either quotes or double-quotes (if it is not a multicast address, you don't need the double quotes) c. issue the following command line to stop the repository server ./stopRepoServer.sh 8012 ";239.192.16.3" tcp:8022
Issue/Introduction
How do I configure non-default RV transport parameters for the BC internal repository server?