glassfish-3.1.1-windows creates a default domain (domain1), which contains the following line:
<jms-host name="default_JMS_host" host="localhost" port="7676" admin-user-name="admin" admin-password="admin" lazy-init="true"/>
The problem is the word "localhost", as it gets transferred to remote appclients in an unchanged way. As soon as a client program running in ACC tries to start a JMS connection, it will fail as it tries to reach "localhost".
Obviously, the ACC should get provided the JMS server's real hostname by the server instead of "localhost", or even better, the actual IP address to which the JMS port is currently bound.