Configures the Message Queue cluster providing JMS services to a Payara Server cluster.
Synopsis
asadmin [asadmin-options] configure-jms-cluster [--help]
[--clustertype={conventional|enhanced}]
[--configstoretype={masterbroker|shareddb}]
[--messagestoretype={file|jdbc}]
[--dbvendor database-vendor]
[--dbuser database-user]
[--dburl database-url]
[--property (name=value)[:name=value]*]
cluster-nameDescription
The configure-jms-cluster configures the Message Queue cluster providing JMS services to a Payara Server cluster.
This subcommand should be used before the Payara Server cluster is started for the first time. Otherwise, follow the instructions in Administering the Java Message Service (JMS) in Payara Server General Administration section.
This subcommand is supported in remote mode only. Remote asadmin subcommands require a running domain administration server (DAS).
Options
- asadmin-options
- 
Options for the asadminutility. For information about these options, see theasadminhelp page.
- --help
- -?
- 
Displays the help text for the subcommand. 
- --clustertype
- 
The type of Message Queue cluster to configure. The value conventionalspecifies a conventional cluster, and the valueenhancedspecifies an enhanced, high-availability cluster.
 The default value isconventional.
 Ifenhancedis specified, theconfigstoretypeandmessagestoretypeoptions are ignored.
- --configstoretype
- 
The type of data store for configuration data in a conventional cluster. The value masterbrokerspecifies the use of a master broker to store and manage the configuration data. The valueshareddbspecifies the use of a shared database to store the configuration data.
 The default value ismasterbroker.
 This option is ignored ifclustertypeis set toenhanced.
- --messagestoretype
- 
The type of data store for message data in brokers in a conventional cluster. The value filespecifies a file store. The valuejdbcspecifies a JDBC store.
 The default value isfile.
 This option is ignored ifclustertypeis set toenhanced.
- --dbvendor
- --dbuser
- --dburl
- 
The database vendor, user, and access url of the JDBC database to use in any of these situations: - 
When clustertypeis set toenhanced
- 
When configstoretypeis set toshareddb
- 
When messagestoretypeis set tojdbc
 
- 
| To specify the password of the JDBC database user, use the --passwordfileutility option of theasadmincommand after adding the
entryAS_ADMIN_JMSDBPASSWORDto the password file. | 
- --property
- 
A list of additional database-vendor-specific properties to configure the JDBC database for use by the Message Queue cluster. Specify properties as a colon ( :) separated list of property names and values in the form:prop1name=prop1value:prop2name=prop2value
Operands
- cluster-name
- 
The name of the Payara Server cluster for which the Message Queue cluster is to provide JMS services. 
 Because Payara Server uses the cluster name to uniquely identify database tables the Message Queue cluster might require, the length of the name is restricted in the following situations:- 
If clustertypeis set toenhanced, the name can be no longer than n–21 characters, where n is the maximum table name length allowed by the database.
- 
If configstoretypeis set toshareddb, the name can be no longer than n–19 characters, where n is the maximum table name length allowed by the database.
 
-