Running Cryptshare in headless mode

Running Cryptshare in headless mode

Applies to:

All versions of Cryptshare Server

Symptom:

Cryptshare fails to send/generate emails and reports an error related to the java.awt.Color class.

cryptshare.log

java.lang.NoClassDefFoundError: Could not initialize class java.awt.Color

Cause:

If there is no graphical environment on the operating system Cryptshare may fail to prepare email templates.

Solution:

This can be resolved by running the java process in headless mode. To run java in headless mode, add the following line to the file /opt/cryptshare-3/launcher.ini and replace <number> with the next available number:

launcher.ini

vm.arg.<number>=-Djava.awt.headless=true

    • Related Articles

    • Restart the Cryptshare service during update process

      Applies To All versions of the Cryptshare Server Problem During the Cryptshare update it is unclear whether the update process is still running. Cause This can happen if the database is large and the update process makes changes to the database after ...
    • Cryptshare for Notes Documentation

      Cryptshare for Notes Documentation
    • Providing Cryptshare database backup to Cryptshare Support

      Applies to: Cryptshare Server version 3.12 and higher Purpose: This article describes how to create a Cryptshare database backup and provide it to Cryptshare Support via Cryptshare. Solution: Proceed as follows to create a database backup: 1. Login ...
    • Updating Cryptshare manually

      Applies to: Cryptshare Server from version 4.2.x Purpose: This is an example of the possibilities for updating Cryptshare manually. Note that manual updates should only be done if a regular update is not possible! Please make sure you have a working ...
    • Cryptshare service is not starting on Linux server

      Applies to: Cryptshare Server version 4.0.0.0 to 4.1.3.0 Symptom: The Cryptshare Service doesn't start after updating Cryptshare Server from version 4.0.0.0 to 4.1.x.x . Cause: The upgrade process cannot adjust the custom configuration during the ...