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

    • How to Create a Batch Script to Run 360Eyes Jobs

      This article explains how to create a batch script (.bat) to run 360Eyes jobs. The procedure below applies to a single job; repeat the steps if you need to run multiple jobs. Steps to Create and Configure the Batch Script Create the Batch File Open a ...
    • SLA Unable to Connect to CMS (FWM 01009)

      Overview When using 360Suite Semantic Layer Agent (SLA), the task fails with a RemoteException indicating a communication error with the CMS. This issue typically occurs after installing SLA on a Windows host and configuring RMI settings, even when ...
    • 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] ...
    • How to enable AD authentication on the Web Platform

      Context You want 360Suite Web Platform to use AD authentication the same way Business Objects does. Procedure As part of the AD authentication configuration on the Business Objects server, two files will have been created and saved on “C:\Windows\” ...
    • 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 ...