Unable to create system preferences directory

Unable to create system preferences directory

Condition

The Apache Tomcat server log returns the following error on start-up:

Could not create system preferences directory. System preferences are unusable


Solution

Cause

This error occurs if the server is started using a user or service account that does not have the appropriate write permissions on the .systemPrefs directory.

Remedy

1. Locate the Java system preferences location. The directory is typically found at the following locations: /etc/.java/ or /jre/. It may also have been specified using the following Java command-line argument: 
-Djava.util.prefs.systemRoot

2. Check the user/service account the Tomcat server runs as and set the appropriate write permissions on the preferences directory (e.g.: chmod 700 /jre/).

    • Related Articles

    • Unable to start 360Suite when tomcat uses slf4j

      Symptom tomcat root page is available /360suite url returns 404 error in tomcat/logs/localhost-{date}.log an error appears on 360Suite startup 03-May-2021 07:51:22.858 SEVERE [localhost-startStop-1] ...
    • Probe Service - "System cannot find the path specified" error prevents service from starting

      Symptom When launching the 360Probe service Installer.bat, some line shows the message : System cannot find the path specified. Environment Product : 360Live Environment : OS : Windows 360Probe is deployed Reproducing the issue (if applicable) There ...
    • How to create a Webi Destination List

      Environment Product : 360Suite Other relevant information: Client wants to use a Dynamically updating Excel file as Destination List for Cast tasks Resolution Add the Excel Destination file to CMC Then create a WEBI document based on the Excel ...
    • How to create the 360eyes script to run the jobs

      To create the 360Eyes batch file to run the jobs, please follow the steps below: 1-First step is to create the .bat files containing the scripts for the 360eyes jobs. Each file must contain a command line enabling a 360eyes job to be run, with the ...
    • 360Suite database configuration is not set when restarting Tomcat server

      Symptoms On application startup, a warning popup appears In the Administration console, the database configuration is empty even though is was setup previously Environment 360Suite Web Platform Linux server (all) Additional symptoms : tomcat logs In ...