Restrictions on the MQQueueManager.begin() method
This method can be used only against an IBM MQ queue manager on UNIX, Linux , or 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.