Setting a deployment name

If your i2 Analyze deployment is one of several that your users might connect to, it's convenient for them to see the deployment name in a prominent location. You can provide a display name for your deployment through a setting in the DiscoServerSettingsCommon.properties file.

About this task

To set the deployment name, you configure it in the server settings and then redeploy the server.

Procedure

Complete the following steps to provide a display name for your i2 Analyze deployment:

  1. Come up with a name for your deployment that distinguishes it from others that your users might connect to.

    i2 Analyze places no hard restrictions on the length of the name or the characters it uses, but shorter is generally better for client user interfaces.

  2. Configure i2 Analyze to use the name. In the toolkit/configuration/fragments/opal-services/WEB-INF/classes/DiscoServerSettingsCommon.properties file, set the DeploymentDisplayName property:

    DeploymentDisplayName=<your deployment name>
  3. Run the following commands from the toolkit/scripts directory on your Liberty server to update the application with your changes:

    setup -t stopLiberty
    setup -t deployLiberty
    setup -t startLiberty

Results

The next time that a user logs in to i2 Analyze from the Analyst's Notebook desktop client or the i2 Notebook web client, they see the deployment name in the user interface.

  • Analyst's Notebook displays the deployment name at the top of the application window, next to the user name.

  • i2 Notebook displays the deployment name in the User menu, beneath the user name.