License Not Found Errors
Normally, the JasperReports Server installer includes an evaluation license file that you replace with a commercial license file, as described in Installing a New License File. If JasperReports Server returns an error after you replace the license file, the most likely causes are:
• | You did not clear your application server’s work directory, as explained in “Installing a New License File”. Delete the work directory, restart the application server, and try logging into JasperReports Server again. |
• | The Djs.license.directory property in your application server startup environment is incorrectly set: |
For example, in Windows the correct setting looks like this:
-Djs.license.directory=<js-install>
In Linux, the correct setting looks like this:
-Djs.license.directory=/opt/jasperreports-server-5.6
The specified directory must contain the license file, named jasperserver.license. The property is typically set for your application server in the environment startup script. It must contain the location of your license file, which is typically in the <js-install> directory:
Tomcat: | <tomcat>/bin/setclasspath.bat/.sh or bin/setenv.bat/.sh |
JBoss: | <jboss>/bin/run.bat or .sh |
License Not Found or License Corrupt Error with Tomcat as a Service
If you have an existing Tomcat running as a service under Windows, the installer attempts to make the proper updates so that the JasperReports Server license file is found at application server startup time. If the installer is unsuccessful, be sure that you took the steps described in License File for Existing Tomcat as Windows Service.
Recommended Comments
There are no comments to display.