Example install walkthrough of Jaspersoft 7.8 on CentOS/RHEL

book

Article ID: 212043

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Jaspersoft 7.8 is now available.  The steps in the documentation will guide you through the installation.

This KB provides a sample of some of the commands used in a CentOS Linux environment

Cause

Upgrading from Jaspersoft 7.13 to 7.8

Environment

Clarity 15.9.1

Jaspersoft 7.8

Resolution

Install Chrome - commands below will work on CentOS and RHEL
 wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
 yum localinstall google-chrome-stable_current_x86_64.rpm

Due to a defect, you will not be able to run Chrome as root.  Use a different user to test.
 useradd someuser
 passwd someuser
 echo $DISPLAY
 su - someuser
 export DISPLAY=localhost:11.0
 /opt/google/chrome/chrome

Switch back to root:
 su -
 Start 7.13 Jaspersoft
 cd /opt/apache-tomcat-8.5.43/
 cd bin/
 ./startup.sh  Make sure you get a successful startup:
 tail -f ../logs/catalina.out 

 

Download Jaspersoft 7.8
  https://support.broadcom.com/download-center/product-files.html?sku_code=PPMCCL99000&release=15.9.1&gen_level=0000
  Download:  DVD500000000002045.iso
  Extract iso on your desktop (7zip)

Back to Linux server 
  cd /root/
  mkdir js78
  cd js78/


Copy contents of unzippped ISO file to this folder (FTP or Mobaxterm)
  cd Java/
  cd RHEL/
  tar xvzf OpenJDK11U-jdk_x64_linux_hotspot_11.0.9.1_1.tar.gz 
  mv jdk-11.0.9.1+1 /opt/
  cd ../Tomcat/
  tar xvzf apache-tomcat-9.0.37.tar.gz 
  mv apache-tomcat-9.0.37 /opt/
  cd ..
  unzip clarity_jaspersoft_7.8.0_6.4.0.35.zip 

Shutdown Jaspersoft 7.13 install (if not already shutdown)
  cd apache-tomcat-8.5.43/
  cd webapps/reportservice/
  cd WEB-INF/config/
  pwd
  cd ../../../../bin
  cd ../bin/
  ./shutdown.sh 
  ps -aux | grep -i java
  kill #####

Start Tomcat
  ./startup.sh 
  tail -f ../logs/catalina.out 

Login to Jaspersoft as superuser
Go to Manage Server Settings
Export everything to a zip file as a backup
Backup  file system also:
    cd ../
  tar cvf webappsBackup.tar.gz webapps 
  cp webappsBackup.tar.gz /root/
  ./shutdown.sh 
  ps -aux | grep java
kill PID of java if it shows
  kill #####
  
  cd /root/
  ls /opt
note install location for jdk 11

 

Run the in place upgrade  
  su -
  export JAVA_HOME=/opt/jdk-11.0.9.1+1
  export PATH=$JAVA_HOME/bin:$PATH
  ./install.sh 
Follow steps here for https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/clarity-project-and-portfolio-management-ppm-on-premise/15-9-1/installing-and-upgrading/upgrade-clarity-ppm/Upgrade-to--Jaspersoft-7_8-and-Migrate-Advanced-Reporting-Content.html
 for "Upgrade the Jaspersoft Server: Same Database Option"

Copy keystore files from old jaspersoft to new:
 cd /opt/apache-tomcat-8.5.43/webapps/reportservice/WEB-INF/config/
 cp * /opt/apache-tomcat-9.0.37/webapps/reportservice/WEB-INF/config/
 cd /opt/apache-tomcat-9.0.37/

Restart new Tomcat
 cd bin
 ./shutdown.sh 
 ./startup.sh 

Validate successful startup
 tail -1000f ../logs/catalina.out 

Perform user validation

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/clarity-project-and-portfolio-management-ppm-on-premise/15-9-1/installing-and-upgrading/upgrade-clarity-ppm/Upgrade-to--Jaspersoft-7_8-and-Migrate-Advanced-Reporting-Content.html