We are using JBoss 6, the jna tmp files are created but not deleted.
path:
jboss.server.home.dir/tmp
files:
-rw-r--r-- 1 root root 182908 Mar 5 14:43 jna1000075621423330119.tmp
-rw-r--r-- 1 root root 182908 Mar 13 21:21 jna1000448379897914340.tmp
-rw-r--r-- 1 root root 182908 Mar 8 00:53 jna100087558889160466.tmp
-rw-r--r-- 1 root root 182908 Mar 5 17:53 jna1001389809425363375.tmp
-rw-r--r-- 1 root root 182908 Mar 6 23:14 jna1001847722792022649.tmp
-rw-r--r-- 1 root root 182908 Mar 9 09:19 jna1002218205957676424.tmp
...
It appears than some app or library uses JNA to call native code.
Those jna*.tmp
files are actually some lib*.so
native libraries unpacked to current temp dir.
JBoss itself doesn't use native code.
You can try to identify who actually uses JNA. But the easiest approach would be just to add tmp dir cleanup to jboss startup script.