User has installed JasperReports Server 5.5 with password encryption enabled. After the success of the installation and Tomcat starts, JasperReports Server encounters the following error:
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. ....
After some investigating efforts, we were able to find out the root cause of the problem is that the 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. 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.
The issue might relate to this JDK Windows bug.
TTC-20140228
Recommended Comments
There are no comments to display.