How to set a default license when using Rendezvous in auto start mode
In BusinessWorks 5.X contexts and in BusinessWorks 6.X contexts where Hawk is used this is common to not do anything about the configuration of the needed Rendezvous daemons and to rely on the auto start mechanism of Rendezvous.
By default when an application using Rendezvous is started it tries to connect to the Rendezvous daemon defined by the daemon parameter of the configuration and if there is no daemon available to connect, a daemon listening on the configured port is automatically started.
While since release 8.8 of Rendezvous a connection to an activation server or a reference to a local license file is needed to check the license there is need to do something to allow Rendezvous daemons that would be automatically started to know which license to use.
This article is to present some of the available solutions to do this.
Recommended solution
The most simple solution is to create a TIBRV_LICENSE environment variable and to set-it to the needed value, for example:
TIBRV_LICENSE =
https://server1:7070/?fp=4ce2bc095713d4512cff9fdd298e0ebf
Or
TIBRV_LICENSE = C:\tibco\license\7c1e5288b386.bin
With this the Rendezvous daemon started automatically at application start-up will use the license defined by the property.
Alternative approach
If the use of an environment variable is not possible in your context you can consider the approach to use a wrapper script.
This can be done with the following:
. Go to the Rendezvous bin directory
. Rename the rvd executable (for example to rvd.real)
. Create a script called ‘rvd’ starting the Rendezvous daemon with the -license option, an example of such script is the following:
#!/bin/sh
cd /opt/tibco/esb/tibrv/8.8/bin
./rvd.real $1 $2 $3 -license https://server1:7070/?fp=4ce2bc095713d4512cff9fdd298e0ebf
Reference elements
More details are available in the Rendezvous Administration guide :