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
-
The domain administration server (DAS) is running.
-
Application Server is running.
-
The available port number has already been confirmed.
Intended users
-
System engineers
Procedure
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.
-