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 >

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required

connecting

We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{message.agentProfile.name}} will be helping you today.

    View Profile


  • Transfered to {{message.agentProfile.name}}

    {{message.agentProfile.name}} joined the conversation

    {{message.agentProfile.name}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1].agentProfile.name}} has ended.
    Thank you for your interest in CA.


    Rate Your Chat Experience.

    {{chat.statusMsg}}

agent is typing