Using the command line to configure the binding file

You can use the command line to configure the binding file.

Before you begin

  1. Open a command window.
  2. Navigate to the /var/mqm/JNDI_DIRECTORY directory or the directory that is identified in the PROVIDER_URL parameter of the JMSAdmin.config file.
Note: You cannot bind the object if the .binding file is already present in the /var/mqm/JNDI_DIRECTORY directory.

About this task

Follow these steps to configure the binding file from the command line.

Procedure

  1. Locate the .binding file in the /var/mqm/JNDI_DIRECTORY directory.
    If necessary, run the ls -la command to list the files.
  2. Copy the .binding file to the $TOP/etc/default/data_explorer directory.
  3. Use the details from the previous MQ configuration steps, found in the .bindings file, to revise the settings in the BigIndexConfig.xml file.
    1. Revise the Queue name to MyQueue
    2. Revise the Queue Connection Factory tomyQcf.
    3. Revise the PROVIDER_URL to file:///home/mdmadmin/JNDI-Directory.