Invalid License file error when trying to start Jaspersoft service in Clarity Linux enviroment
search cancel

Invalid License file error when trying to start Jaspersoft service in Clarity Linux enviroment

book

Article ID: 194268

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When trying to start Jaspersoft service in a Clarity Linux environment, we're seeing the below error:

2020-07-01 14:29:14,868 ERROR JobRunShell,quartzScheduler_Worker-1:222 [] - Job ReportJobs.job_100889 threw an unhandled Exception:

com.jaspersoft.ji.license.LicenseException: Invalid license. License file /apps/home/<User>/jasperserver.license was not found.

        at com.jaspersoft.ji.report.options.engine.ReportOptionsExecutionJob.execute(ReportOptionsExecutionJob.java:48)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:213)

        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)

Environment

Release : All Supported Releases

Component : CA PPM JASPERSOFT

Cause

This can be due to the licensing files being missing for the environment

Resolution

  1. Ensure Jaspersoft services are stopped
  2. Copy the files below from another working environment to the problem server in the location the error references

(Location example from error above: /apps/home/<User>/

  • jasperserver.license
  • .jrsks
  • .jrsksp
  • .jslic

    3. Restart the Japsersoft Services

Note: If another environment isn't available to copy the files from:

  • An administrator folder may also have the files needed that can be copied over to the user folder listed above
  • Search for the files to see if they are found anywhere else (See: 136740 - Jaspersoft report service on windows throws error during deployment on Tomcat)