|Oracle GlassFish Server Reference Manual
Part Number E24938-01
creates a JMS host
create-jms-host [--help] --mqhost mq-host --mqport mq-port --mquser mq-user --mqpassword mq-password [--target target] jms_host_name
Creates a Java Message Service (JMS) host within the JMS service.
This subcommand is supported in remote mode only. Remote
asadmin subcommands require a running domain administration server (DAS).
Displays the help text for the subcommand.
The host name for the JMS service.
The port number used by the JMS service.
The user name for the JMS service.
The password for the JMS service.
Creates the JMS host only for the specified target. Valid values are as follows:
Creates the JMS host for the default server instance. This is the default value.
Creates the JMS host in the specified configuration.
Creates the JMS host for every server instance in the specified cluster.
Creates the JMS host for the specified server instance.
A unique identifier for the JMS host to be created.
The following command creates a JMS host named
MyNewHost on the system
asadmin> create-jms-host --mqhost pigeon.example.com --mqport 7677 --mquser admin --mqpassword admin MyNewHost Jms Host MyNewHost created. Command create-jms-host executed successfully.
subcommand executed successfully
error in executing the subcommand