When java security manager is enabled, com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore throws the exception below: 16:23:20,930 ERROR [stderr] (ServerService Thread Pool -- 48) java.security.AccessControlException: access denied ("java.io.FilePermission" "/tmp/jboss-eap-6.3.2/standalone/data/tx-object-store/ShadowNoFileLockStore/defaultStore/EISNAME" "read") 16:23:20,931 ERROR [stderr] (ServerService Thread Pool -- 48) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372) 16:23:20,931 ERROR [stderr] (ServerService Thread Pool -- 48) at java.security.AccessController.checkPermission(AccessController.java:559) 16:23:20,932 ERROR [stderr] (ServerService Thread Pool -- 48) at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) 16:23:20,932 ERROR [stderr] (ServerService Thread Pool -- 48) at java.lang.SecurityManager.checkRead(SecurityManager.java:888) 16:23:20,932 ERROR [stderr] (ServerService Thread Pool -- 48) at java.io.File.list(File.java:1111) 16:23:20,932 ERROR [stderr] (ServerService Thread Pool -- 48) at java.io.File.list(File.java:1149) 16:23:20,933 ERROR [stderr] (ServerService Thread Pool -- 48) at com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore.allObjUids(FileSystemStore.java:173)
Hi, I have merged this and it will be in 6.4 - thanks for the PR!
fixed upstream
Verified for EAP 6.4.0.DR11. Verified by AS testsuite - see bz: https://bugzilla.redhat.com/show_bug.cgi?id=1144943