Java preferences
Posted: Tue Jul 12, 2011 2:04 pm
Attempting to use the Java preferences API from a servlet, receiving:
java.util.prefs.FileSystemPreferences$2 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
I've created the following under both JAVA_HOME and CATALINA_HOME:
.systemPrefs/.system.lock
.systemPrefs/.systemRootModFile
and restarted Tomcat, but to no avail. Any enlightenment appreciated.
java.util.prefs.FileSystemPreferences$2 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
I've created the following under both JAVA_HOME and CATALINA_HOME:
.systemPrefs/.system.lock
.systemPrefs/.systemRootModFile
and restarted Tomcat, but to no avail. Any enlightenment appreciated.