Products | Versions |
---|---|
TIBCO Rendezvous | - |
Not Applicable | - |
Resolution:
Environment:
=============
Windows platforms
Resolution:
============
On Windows, you can use the C sample program ‘daemonstart.c’ which is shipped with RV and can be found in the subdirectory \TIBCO\TIBRV\src\examples\c\win.
This program will attempt to start an RVRD/RVD daemon using parameters obtained from command line or an entire command string stored in a file. This can be used as a template. Refer to the comments in the ‘daemonstart.c’ file for further details.
Here are the steps
1). First, rename the 'rvd.exe' to say, 'rvd_orig.exe'.
2). You then need to build tibrv\src\examples\c\win\daemonstart.c.
3). You must also create the file 'daemoncmd.txt' and put the command line you want to start in 'daemoncmd.txt' such as "rvd_orig -listen 7500 -logfile c:\rvd7500.log -http 7588". Make sure that the command string stored in 'daemoncmd.txt' does not have new line character at the end.
4). Rename daemonstart.exe that you built to 'rvd.exe'. Put both 'rvd.exe' and 'daemoncmd.txt' in the path.
5). Start “tibrvlisten -service 7777 mytest” and you should see an RVD started with the parameters you specified in daemoncmd.txt. Or by doing this, if the RVD is not running or terminates, the RV/TIBCO applications will start an RVD with the parameters you specified in its place.
You should run tests in your test environment to make sure everything is working as expected before putting it into production.