Upgrade CABI JasperReports to 7.1.1 fails
search cancel

Upgrade CABI JasperReports to 7.1.1 fails

book

Article ID: 218484

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Upgrading CABI JasperReports from 6.4.2 to 7.1.1 fails and the installation aborts.  From the CABusinessIntelligence_install_2021_06_22_15_44_19.log we can see the following errors: 

06-22 15:46:15 INFO  JasperInstaller.conditionCheck():201 -      [java]  ... 50 more
2021-06-22 15:46:15 INFO  JasperInstaller.conditionCheck():201 -      [java] Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'tempFolder' of bean class [com.jaspersoft.jasperserver.war.common.ConfigurationBean]: Bean property 'tempFolder' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
2021-06-22 15:46:15 INFO  JasperInstaller.conditionCheck():201 -      [java]  at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1044)
2021-06-22 15:46:15 INFO  JasperInstaller.conditionCheck():201 -      [java]  at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:907)
2021-06-22 15:46:15 INFO  JasperInstaller.conditionCheck():201 -      [java]  at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
2021-06-22 15:46:15 INFO  JasperInstaller.conditionCheck():201 -      [java]  at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)
2021-06-22 15:46:15 INFO  JasperInstaller.conditionCheck():201 -      [java]  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1452)
2021-06-22 15:46:15 INFO  JasperInstaller.conditionCheck():201 -      [java]  ... 60 more
2021-06-22 15:46:15 INFO  JasperInstaller.conditionCheck():201 - 
2021-06-22 15:46:15 INFO  JasperInstaller.exceptionCheck():205 - BUILD FAILED
2021-06-22 15:46:15 DEBUG ProgressThread.run():88 - Error code from component install is: 1
2021-06-22 15:46:15 DEBUG ProgressThread.run():90 - Getting the error codes list from CABIInstallException object
2021-06-22 15:46:15 INFO  ProgressThread.run():93 - Error code is: 19033
2021-06-22 15:46:15 ERROR CABIUtil.printCABIException():109 - ErrorCode : 19033   ErrorMessage : 
2021-06-22 15:46:15 ERROR CABIUtil.printCABIException():109 - ErrorCode : 19033   ErrorMessage : 
2021-06-22 15:46:15 ERROR CABIUtil.printCABIException():109 - ErrorCode : 19033   ErrorMessage : 
2021-06-22 15:46:15 DEBUG ProgressThread.run():95 - Error key is: ERROR_JASPERSERVER_INSTALL
2021-06-22 15:46:15 DEBUG ProgressThread.run():97 - Error message is: 
2021-06-22 15:46:15 INFO  ProgressThread.run():103 - 1
2021-06-22 15:46:15 DEBUG RollBackInstallation.install():98 - Getting the error codes list from CABIInstallException object
2021-06-22 15:46:15 DEBUG RollBackInstallation.install():104 - Error code occured during the installation is: 19033
2021-06-22 15:46:15 INFO  RollBackInstallation.triggerRollbackForInstallation():141 - Starting rollback operation
2021-06-22 15:46:15 INFO  RollBackInstallation.triggerRollbackForInstallation():143 - error code is: 19033
2021-06-22 15:46:15 ERROR RollBackInstallation.triggerRollbackForInstallation():159 - $INSTALLER_TYPE$ : Upgrade

Environment

Release : 7.1.1 CABI JasperReports Server for CA Performance Management

Cause

Must modify applicationcontext.xml with the correct properties.

Resolution

Edit applicationcontext.xml, search for the following two lines: 
  <property name="tempFolderUri" value="/opt/application/CA/tmp"/>
  <property name="tempFolder" value="/opt/application/CA/tmp"/>


The default values are /temp/ for both.  In this organization the security team does not allow for /temp.  
Make sure the values are correct and the directories already exist.
The ownership of the directories should also match the permissions for the CABI existing directories.

Both values must be modified if /temp is not permitted by the organization.

Additional Information

In this scenario only one value was modified and this resulted in the issue observed here.