The command below creates a non-XA JMS connection factory instead of an XA one
althought it is said XA is default in the documentation.
"asadmin create-jms-resource --host localhost --port 4848 --user admin --restype
Another attempt to create an XA JMS connection factory with the following
command fails to create a connection factory also
create-jms-resource --host localhost --port 4848 --user admin
â€"-transaction-support=XATransaction --restype javax.jms.ConnectionFactory
I couldn't find any additional explanation in the docs and also got no answer
for my question at glassfish forum if I missed something.
So it seems there is no way to create an XA JMS connection factory from CLI
commands instead of Admin GUI.