Symantec Identity Manager - JasperReport java.lang.RuntimeException: Keystore initialization failed.
search cancel

Symantec Identity Manager - JasperReport java.lang.RuntimeException: Keystore initialization failed.

book

Article ID: 261375

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

When trying to access Jasper URL it is throwing a 404 error.

In the Catalina log file, there are a few errors.

java.lang.RuntimeException: Keystore initialization failed. Keystore properties couldn't be loaded using file:/C:/tomcat/webapps/jasperserver-pro/WEB-INF/lib/js-crypto-3.1.1.jar!/keystore-configuration.xml
        at com.jaspersoft.jasperserver.crypto.KeystoreManager.<init>

Caused by: org.apache.commons.configuration2.ex.ConfigurationException: Could not locate: org.apache.commons.configuration2.io.FileLocator

Environment

Release : 14.4

Jasper 8.X

Cause

This can be caused when the Windows Service account doesn't have the ability to access the Keystore in the home directory, due to a server restriction

Resolution

Ensure that the Windows Service account has permission to access the home directory specified (C:/tomcat/). As an alternative, the Windows service can be configured to start with a particular user who has rights, but you need to ensure the account's password will not expire, otherwise, it will fail to work after a password change.

Steps:

Navigate to the Services Panel
Right click on your service (Tomcat9)
Click Properties
Navigate to the logon tab and set services accordingly.

You should test with "Local System" prior to using any specific users.