Error: "HTTP 404 - /jasperserver-pro" After Starting Apache Service for JasperSoft When Configuring with LDAP Authentication

Document ID:  TEC1512496
Last Modified Date:  07/11/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Service Desk Manager

Releases

  • CA Service Desk Manager:Release:14.1

Components

  • Svc Desk Integration:SDINTE
  • JASPERSOFT REPORTS FOR SERVICE MANAGEMENT:SMJSPR
Issue:

The following error appears in jasperserver.log after configuring LDAP authentication in JasperReports and starting Apache Tomcat for JasperServer:

ERROR ContextLoader,localhost-startStop-1:331 - Context initialization failed
java.lang.RuntimeException: KeystoreManager.init was never called or there are errors instantiating an instance.
at com.jaspersoft.jasperserver.crypto.KeystoreManager.getInstance(KeystoreManager.java:186)
at com.jaspersoft.jasperserver.api.common.properties.DecryptingPropertyPlaceholderConfigurer.convertPropertyValue(DecryptingPropertyPlaceholderConfigurer.java:65)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.convertProperty(PropertyResourceConfigurer.java:121)

Environment:
JasperReports 6.2 JasperReports 6.3
Cause:

The application is not finding the key files (jrsks and .jrsksp) causing the issue to occur.

Resolution:

1) Stop Apache Tomcat Services for JasperReports

2) Go to Configure Tomcat (All Program > Apache Tomcat > Configure Tomcat) > Java tab

3) Add the following at the end:

-Duser.home=<home path of the user who run the js-ant gen-config command>

Example :
-Duser.home=C:\Users\Administrator

This is because the application is searching for the .jrsks and .jrsksp files located in Users\<Username>

4) Start Apache Tomcat Services and log into JasperReports using LDAP credentials

Additional Information:

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >