Problem
After "successfully" installing the TIBCO JasperReports® Server 7.8.0 using Windows installer (TIB_js-jrs_7.8.0_win_x86_64.exe) with all default out of the box options on a Windows 10 machine, this JasperReports® Server 7.8.0 instance fails to start with the following error:
Could not locate: org.apache.commons.configuration2.io.FileLocator@4ff6da37[fileName=.jrsksp,basePath=C:Users{john_doe}
Cause
This Windows machine had previously installed JasperReports® Server version 7.2 and 7.5 generating keystore files with legacy and new server specific encryption keys. Under these special circumstances, the bitrock Tomcat package used in JasperReports® Server 7.8.0 installer somehow gets a third-party dependency induced error causing the keystore files' access permissions being missing for "Local Service" user. It appears that this installer changes Tomcat service on Windows under a new user called "Local Service'' which is different from all previous versions of JasperReports® Server installers.
Solution
We need to manually set the permission to allow this "Local Service" user to have read access to those keystore files.
Locating ".jrsks" and ".jrsksp" files under Windows C:Users{john_doe} directory;
Right click on ".jrsks" file and select Properties;
Under Security Tab, click Edit;
If you have "LOCAL SERVICE" in the group, go to step 6. Otherwise, click Add;
Enter "Local Service", click OK - continue to step 7;
Select "LOCAL SERVICE", and check Read permission;
- Click OK (twice) to save the change;
Repeat step 2 through step 5 for ".jrsksp" file;
Restart server.
Now JasperReports® Server 7.8.0 instance should be able to start up successfully;
Note
There is a defect report internally referenced as JS-59288 filed to address this problem.
Jaspersoft will provide a permanent fix to prevent this error from happening in the first place to ensure a smooth and trouble free installation process and a positive and effortless user experience.
We sincerely apologize for any trouble and inconvenience this issue has caused.
TTC-20200905
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now