ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Jaspersoft upgrade failing with "invalid tomcat directory"

book

Article ID: 213276

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When upgrading to Jaspersoft 7.8, it is failing with the message "invalid tomcat directory"

Environment

Release : 15.9.1

Jaspersoft 7.8

Resolution

Some options you can try to help the installer:

  1. Ensure that the Tomcat directory specified is valid (it should be the root Tomcat directory)

  2. Create a system variable "%CATALINA_HOME%" and point the variable to the Tomcat directory. Place this variable in the system PATH as well.

  3. Ensure that the Tomcat is not having an issue due to a configuration issue with the JDK path. One way to do this:
    1. Open a command prompt on the server
    2. Browse into the CATALINA_HOME\bin directory
    3. Run the command "version.bat".
    4. If this command fails with a Java-related error:
      1. Create a JRE_HOME system variable
      2. Point to the JDK root directory

Additional Information

Best practice is to leave out the reference to the bin folder when creating the environment variable.
The %JRE_HOME%\bin can then added/referenced in the PATH variable. This is to prevent the Jaspersoft script from failing.