Skip to main content
Skip table of contents

Display Name - Job Queue Manager

If you have multiple Job Queue Manager instances running against the same database, you may wish to set the display name. This name is displayed in the database, and will allow you to tell which jobs belong to which Job Queue Manager instance.

If you do not set the display name, it will automatically be set to: <hostname>[<ip>]/queuedJobService (where <hostname> is the local host name, and <ip> is the server IP address).

For example: server01[10.12.1.253]/queuedJobService

Set the Display Name

To set the display name:

  1. Go to the Tomcat instance that is running Job Queue Manager and open <tomcat_home>\webapps\queuedjobservice\WEB-INF\config\common\service-config.xml in a text editor.

    Make a backup copy of this file before making any changes.

  2. Locate the following section:

    XML
        <bean id="jobQueueManager" class="au.com.str.jobqueue.server.springImpl.queue.SpringJobQueueManager" scope="singleton">
            <property name="jobLocator" ref="jobLocator"/>
            <property name="jobExecutorList">
                <list>
                    <ref bean="xtabWorker1" />
                </list>
            </property>
            <property name="platformHealthMonitor" ref="platformHealthMonitor"/>
            <property name="platformReconnectFrequency" value="10000"/>
        </bean>
  3. Add the displayName property and set the value to your preferred name. For example:

    XML
    <property name="displayName" value="My Job Queue Manager"/>
    XML
        <bean id="jobQueueManager" class="au.com.str.jobqueue.server.springImpl.queue.SpringJobQueueManager" scope="singleton">
            <property name="jobLocator" ref="jobLocator"/>
            <property name="jobExecutorList">
                <list>
                    <ref bean="xtabWorker1" />
                </list>
            </property>
            <property name="platformHealthMonitor" ref="platformHealthMonitor"/>
            <property name="platformReconnectFrequency" value="10000"/>
            <property name="displayName" value="My Job Queue Manager"/>
        </bean>
  4. Save your changes.
  5. Restart the Tomcat server that is running Job Queue Manager.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.