When using a UserTransaction from a remote client (i.e.
standalone Tomcat) in which JBoss is not on the same
server results in an exception when begin() is called.
This happens specifically when new
InitialContext(Properties) is used to connect to the
JBoss server. Traced the issue to
In this method new
is called. Since there are no jndi.properties, the
InitialContext defaults to 127.0.0.1 which fails.