6.1 Creating the Connection Factories

  1. Start the Sentinel server by entering the following at a command prompt:

    • Linux: /etc/init.d/sentinel start

    • Windows: Net start sentinel

  2. Launch the Sonic Management Console by entering:

    • Linux: $ESEC_HOME/3rdparty/SonicMQ/MQ7.0/bin/startmc.sh

    • Windows: %ESEC_HOME%\3rdparty\SonicMQ\MQ7.0\bin\startmc.bat

  3. Log in to Sonic Management Console by using the following information:

    • Connection Name: By default, the value is Connection1. Any value is valid.

    • Domain Name: esecDomain

    • Connection URL: tcp://localhost:10012

      The default Message Bus port is 10012. If you specified a different port during the installation of Sentinel, use that port.

    • User Name: Specify the administrator for Sentinel. For example, esecadm.

    • Password: Specify the password of the administrator.

  4. From the Sonic Management Console toolbar, click Tools > JMS Administered Objects.

  5. Click JNDI Naming Service, then use the following information to create the JNDI naming service:

    • Sonic Storage: Select the Sonic Storage check box.

    • Domain: Specify esecDomain for the domain name.

    • Context Factory: This field is prepopulated and the value cannot be changed.

    • Provider URL: Specify tcp://localhost:10012 for the provider URL. If you are not using the default port, specify the port you are using.

  6. Click Connect.

  7. Select the localhost:10012 entry in the tree on the left, then select the Connection Factories tab.

  8. Click New.

  9. Specify TopicConnectionFactory in the Lookup Name field.

    The connection factory name must be the specified name.

  10. Specify ConnectionFactory in the Factory Type field.

  11. Specify tcp://ipaddress:10012 in the Connection URL field.

    The ipaddress is the IP address of your Sentinel server.

  12. Click Update to save the information.

  13. Repeat Step 8 through Step 12, but use QueueConnectionFactory as the Lookup Name.

  14. Close the JMS Administered Objects dialog box.

  15. Continue with Section 6.2, Creating Queues.