This is the documentation for SuperSTAR 9.8

SuperSTAR 9.9 is now available.
View this page in the SuperSTAR 9.9 documentation or visit the SuperSTAR 9.9 documentation home.

Skip to end of metadata
Go to start of metadata

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:

        <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:

    <property name="displayName" value="My Job Queue Manager"/>
        <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.
  • No labels