when running tomcat as nobody on centos tomcat complains:
Aug 19, 2016 6:33:58 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock System prefs. Unix error code 0.
Aug 19, 2016 6:33:58 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
when running tomcat as
nobody
on centos tomcat complains:need to configure this:
http://stackoverflow.com/questions/23960451/java-system-preferences-under-different-users-in-linux