Issues and Questions related to running Apache Tomcat on z/OS
-
jriemer
- Posts: 25
- Joined: Thu Jul 06, 2006 11:15 am
Post
by jriemer »
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.
-
dovetail
- Site Admin
- Posts: 2025
- Joined: Thu Jul 29, 2004 12:12 pm
Post
by dovetail »
Try using the same API from a standalone Java program on z/OS. Does it work there without running under Tomcat?
-
jriemer
- Posts: 25
- Joined: Thu Jul 06, 2006 11:15 am
Post
by jriemer »
Turns out that the home directory / user.home spec was invalid. Thanks.