Update Jaspersoft failed

book

Article ID: 142181

calendar_today

Updated On:

Products

CA eHealth CA Spectrum

Issue/Introduction

After upgrading the JasperSoft from 6.3 to 6.4.3. it does not start.  The tomcat log shows:

ERROR ContextLoader,localhost-startStop-1:307 - Context initialization failed
....
....
Caused by: javax.naming.NamingException: KeystoreManager.init was never called
or there are errors instantiating an instance.
....

Cause

Tomcat was installed as a Windows service, and the service does not have the user.home correctly.

JasperReports Server is looking for keystore and other system files from this user.home location to start the application.

Environment

Release : Spectrum 10.3.2

JasperSoft for Spoectrum: 6.4.3

Component : Spectrum Core / SpectroSERVER

 

Resolution

https://community.jaspersoft.com/wiki/keystoremanagerinit-error-after-starting-newly-installed-jasperreports-server-55



By adding the user.home reference to the service properties Java Options, the above error is gone and JasperReports Server 5.5 starts without any problem.

 go to    …..\apache-tomcat\bin directory, in a cmd box. Type tomcat8w and the screen is there. Fill it out and apply