Hitachi

Hitachi Application Server V10 User's Guide (For Windows® Systems)


4.6.11 Opening the port of a JMS host

To open the port of a JMS host, run the create-jms-host subcommand of the asadmin utility command to create a JMS host.

Prerequisites

Intended users

Procedure

  1. Run the create-jms-host subcommand of the asadmin utility command to create a JMS host and open the port.

    asadmin create-jms-host --mqhost host_name_of_JMS_service 
    --mqport port_number_of_JMS_service --mquser user_name_of_JMS_service 
    --mqpassword password_of_JMS_service 
    --target server_instance_name_or_cluster_name JMS_host_name
    • In a configuration where only one Java EE server is deployed, specify the server instance name for the --target option.

    • In a cluster configuration where more than one Java EE server is deployed, specify the cluster name for the --target option.

    When this command is run, the result is displayed as follows:

    Command create-jms-host executed successfully.