Hitachi

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


4.6.14 Closing the port of a JMS host

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

Prerequisites

Intended users

Procedure

  1. Run the list-jms-hosts subcommand of the asadmin utility command to confirm the JMS host whose port you want to close.

    asadmin list-jms-hosts --target server_instance_name_or_cluster_name
    • In a configuration where only one Java EE server is deployed, specify the server instance name for server_instance_name_or_cluster_name.

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

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

    Command list-jms-hosts executed successfully.
  2. Run the delete-jms-host subcommand of the asadmin utility command to delete the JMS host and close the port.

    asadmin delete-jms-host 
    --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 delete-jms-host executed successfully.