By default, atomikos creates its own log file and lock file in the home directory of the user starting the JVM.
In the case of Tomcat8, this will be:
/ Usr / shares / tomcat8
You must check permissions for this folder. On mine, it was:
drwxr_xr-x 3 root tomcat 4096 Feb 7 10:28 .
This meant that the tomcat user could not write to it.
I changed it to:
drwxrwxr-x 3 root tomcat 4096 Feb 7 10:28 .
And everything worked perfectly.
Garreth mcdaid
source share