Jasper server will not start

book

Article ID: 5465

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On

Issue/Introduction

When starting the server we are receiving this error:

notice that license has expired

 

This is after double checking this setting

Add this line to Tomcat Java Properties: 

-Djs.license.directory=<Tomcatfolder>\webapps\<webappname>(Replace Tomcatfolder and webappname with the actual values). 

 

Environment

Release: CAIDMB99000-12.6.8-Identity Manager-B to B
Component:

Resolution

http://community.jaspersoft.com/documentation/tibco-jasperreports-server-installation-guide/v61/license-related-errors 

This site stated: 
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 didn't 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-6.1 

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 usually the <js-install> directory: 

Tomcat: 

<tomcat>/bin/setclasspath.bat/.sh or bin/setenv.bat/.sh 

JBoss: 

<jboss>/bin/run.bat or .sh 


We copied in the license that causes the null error, then deleted the work directory, then restarted tomcat.