Child pages
  • Tips & Tricks

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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:

  1. Adding the instance name to the startup command of the Application Server: Locate servoy_server.bat/.sh in the {servoyInstall}/application_server directory and open the file with a text editor. Add the following to the line that starts with "java ":
    Code Block
    -DINSTANCE=MyinstanceName
    
  2. 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" and the name of the instance as value, like below:
    Code Block
    system.property.instance=MyInstanceName
    
Note
titleRestart required

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