Multiple Instances and Instance Names  Locate

If you want to run more than one server or client instance that share the same database.xml, each one must have a unique instance name. This is so the database server can separate the stored data for each instance. The suggested approach is to set this name in the wasp.instance.name property, as described in System Properties. This property overrides the default value set in the defaultInstanceName element in serverconf.xml or clientconf.xml.

For example, if you want to run a server and one client, the default configuration is sufficient. But if you want to run two clients, the second client must have a unique name. This can be done by adding -Dwasp.instance.name=clientB to the command starting the second client. Any additional clients or servers sharing the same database.xml must also be given a unique name when launched.

[Important]Important

When reinstantiating a server or client which has been given a unique name, the same name must again be specified with the wasp.instance.name property.