Jump to content
We've recently updated our Privacy Statement, available here ×
  • “KeystoreManager.init“ Error after Starting a Newly Installed JasperReports Server 5.5


    Tom C
    • Version: v5.5 Product: JasperReports® Server

    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.

    1(38).png.c8923b7577db1d338c33f6f6fbb8c53f.png2(34).png.f332eaab08c6b5d8d8d6e0996272b462.png

    The issue might relate to this JDK Windows bug.


    TTC-20140228


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...