This is regarding glassfish IMQ JMS enhanced broker cluster.
The official documentation says that a enhanced broker cluster can be made by running the below command.
asadmin --passwordfile password-file configure-jms-cluster --clustertype=enhanced --configstoretype=shareddb --messagestoretype=jdbc --dbvendor database-vendor-name --dbuser database-user-name --dburl database-url
--property list-of-database-specific-properties glassfish-cluster-name
But it throws this error while running. "remote failure: configstoretype option is not configurable for Enhanced clusters."
Creating an enhanced broker cluster without starting glassfish at all is working fine. But then am doing that with imq commands. But i want my glassfish cluster to use this imq brokers.
The official documentation also says to start the imqbroker for the first time so that it creates the file glassfish/domains/domain1/imq/instances/imqbroker/props/config.properties. I have modified that config.properties file with the below stuff for db and broker id details.
But after starting glassfish and trying to do a imqcmd list bkr, am getting the following.
Error while connecting to the broker on host 'localhost' and port '7676'.
com.sun.messaging.jms.JMSException: [C4098]: Unknown broker service: admin
Please verify that there is a broker running on the specified host and port or
use the '-b' option to specify the correct broker host and port.
Please help me out in getting a glassfish IMQ enhanced broker cluster (where brokers are on different hosts) running. Please let me know if am doing something wrong here.