Command Line Arguments
Many of the examples use the same basic set of command line arguments, which you can use to change the default settings used by the examples.
For example, you might want to use a different metaspace name so you will not run into conflicts with other users who are running the ActiveSpaces examples on the same network.
When an example does not support certain command line arguments or supports additional command line arguments, those argument differences will be described in the sections relating to that particular example.
The following sections contain detailed information about the basic command line arguments supported by most of the examples.
- Command Line Help
Invoking any example with the following argument displays the list of possible command line arguments for that example: - Metaspace Command Line Arguments
All of the ActiveSpaces examples default to using the same metaspace. - SpaceMemberDef Command Line Arguments
- SpaceDef Command Line Arguments
Most of the ActiveSpaces examples default to using the same SpaceDef. - Default Metaspace Name
The default metaspace name used by all of the examples is ms. Since the default discovery URL is tibpgm, conflicts might occur when multiple users are on the same network and using the default metaspace ms. Therefore, it is recommended that when running the examples, you specify a unique metaspace name on the command line using the -metaspace command line option. - 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. - Default Space Fields
Copyright © Cloud Software Group, Inc. All rights reserved.