Example install walkthrough of Jaspersoft 7.8 on CentOS/RHEL
search cancel

Example install walkthrough of Jaspersoft 7.8 on CentOS/RHEL


Article ID: 212043


Updated On:


Clarity PPM On Premise


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


Clarity 15.9.1

Jaspersoft 7.8


Upgrading from Jaspersoft 7.13 to 7.8


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 %user%
 passwd %password%
 echo $DISPLAY
 su - someuser
 export DISPLAY=localhost:11.0

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
  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- /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/
  cd ../../../../bin
  cd ../bin/
  ps -aux | grep -i java
  kill #####

Start Tomcat
  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/
  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-
  export PATH=$JAVA_HOME/bin:$PATH
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

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

Perform user validation

Additional Information