Restrictions on the MQQueueManager.begin() method

This method can be used only against an IBM® MQ queue manager on AIX®, Linux®, and Windows systems in bindings mode. Otherwise, it fails with MQRC_ENVIRONMENT_ERROR.

See JTA/JDBC coordination using IBM MQ classes for Java for more details.