private void createCache(boolean copyOnRead) throws CacheException {
    Properties p = new Properties();
    p.setProperty(MCAST_PORT, "0"); // loner
    cache = CacheFactory.create(DistributedSystem.connect(p));

    AttributesFactory af = new AttributesFactory();
    af.setScope(Scope.LOCAL);
    af.setIgnoreJTA(true);
    nonTxRegion = cache.createRegion("JtaNoninvolvementJUnitTest", af.create());
    af.setIgnoreJTA(false);
    txRegion = cache.createRegion("JtaInvolvementTest", af.create());
  }
Ensure that the ignoreJTA Region setting works

@since GemFire 4.1.1
geode-core/src/integrationTest/java/org/apache/geode/JtaNoninvolvementJUnitTest.java