Default Discovery URL

The default discovery URL used by all of the examples is tibpgm. This means that the PGM transport is used by ActiveSpaces applications (peers) to “discover” each other. If multiple versions of ActiveSpaces are being used on the same network, message deserialization errors can occur, because the message formats are typically not compatible between the various versions of ActiveSpaces.

When tibpgm is specified as the discovery URL, the default destination port used is 7888. To prevent conflicts when multiple versions of ActiveSpaces are being used with PGM as the discovery transport, it is recommended that a unique discovery URL be specified on the command line using the -discovery command line option.

For example,

-discovery tibpgm://7900

This discovery URL indicates that the destination port used by the PGM transport will be port 7900. As long as no other version of ActiveSpaces is run using the same port, you will not get discovery message deserialization errors.