Upgrade Error: Jaspersoft 7.8 to 8.1 Fails With Error Invalid Bean Definition
search cancel

Upgrade Error: Jaspersoft 7.8 to 8.1 Fails With Error Invalid Bean Definition

book

Article ID: 268435

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

BUILD FAILED
     [java]     at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:230)
/fs0/clarity1/install_cd/8.1.1_6.5/buildomatic/bin/db-common.xml:1544: The following error occurred while executing this line:
/fs0/clarity1/install_cd/8.1.1_6.5/buildomatic/bin/import-export.xml:387: The following error occurred while executing this line:     [java]     at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:211)
/fs0/clarity1/install_cd/8.1.1_6.5/buildomatic/bin/import-export.xml:245: Java returned: 255


     [java]     at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)
     [java]     at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:291)
     [java]     at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:167)
     [java]     at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:707)
     [java]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:533)
     [java]     at com.jaspersoft.jasperserver.export.BaseExportImportCommand.createSpringContext(BaseExportImportCommand.java:154)
     [java]     at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:90)Total time: 10 seconds
     [java]     at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43)
     [java] Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'audit.dbHost' in value "jdbc:postgresql://${audit.dbHost}:5432/example_server

 

Environment

Release : 16.1.2

Resolution

1.Go to the file:

default_master_YYYYMMDD_HHMMSS.properties

located in the folder:
TEMP_JASPUPGRADE\buildomatic\

2.Add the following variable:
audit.dbhost=<serverhost>

3. Save the file and rerun the upgrade install script.