Page History
Specifying an
...
Instance Name
When working with multiple Application Server instances, it can come in handy to "'name" ' each instance. When an instance is named, the name will appear on the main page of the Admin pages.
Naming an instance can be done in two ways:
Adding the instance name to the startup command of the Application Server: Locate servoy_server.
barbat/.sh in the
..{servoyInstall}/application_server
directoryand open the file with a text editor. Add the following to the line that starts with
"'java
"':
Code Block -DINSTANCE=MyinstanceName
Specifying the instance name using a System Property: System properties can be managed thorugh the Admin pages, see Servoy Settings. Add a property with the name
"'system.property.
instance"INSTANCE' and the name of the instance as value, like below:
Code Block system.property.instanceINSTANCE=MyInstanceName
Note | ||
---|---|---|
| ||
After adding the property, the change needs to be saved. After saving, the Application Server needs to be restarted for the instance name to appear |