[#14376] - Update from 8.0.2 to 8.1.0 fails

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

./js-upgrade-samedb-ce.sh fails with:

[java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[java] SLF4J: Defaulting to no-operation (NOP) logger implementation
[java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
[java] at java.base/java.lang.ClassLoader.defineClass1(Native Method)
[java] at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
[java] at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
[java] at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
[java] at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
[java] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
[java] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
[java] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
[java] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
[java] at org.apache.log4j.LogManager.getLogger(LogManager.java:97)
[java] at com.jaspersoft.jasperserver.crypto.EncryptionEngine.<clinit>(EncryptionEngine.java:62)
[java] at com.jaspersoft.jasperserver.api.common.properties.DecryptingPropertyPlaceholderConfigurer.convertPropertyValue(DecryptingPropertyPlaceholderConfigurer.java:65)
[java] at org.springframework.beans.factory.config.PropertyResourceConfigurer.convertProperty(PropertyResourceConfigurer.java:123)
[java] at org.springframework.beans.factory.config.PropertyResourceConfigurer.convertProperties(PropertyResourceConfigurer.java:106)
[java] at com.jaspersoft.jasperserver.api.common.properties.DecryptingPropertyPlaceholderConfigurer.convertProperties(DecryptingPropertyPlaceholderConfigurer.java:39)
[java] at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:83)
[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)
[java] at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43)
[java] Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager
[java] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
[java] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
[java] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
[java] ... 23 more

BUILD FAILED
/opt/jasperreports-server-cp-8.0.0-bin/buildomatic/bin/db-common.xml:1530: The following error occurred while executing this line:
/opt/jasperreports-server-cp-8.0.0-bin/buildomatic/bin/import-export.xml:294: The following error occurred while executing this line:
/opt/jasperreports-server-cp-8.0.0-bin/buildomatic/bin/import-export.xml:168: Java returned: 1

v8.1.0
JasperReports Server
m.rutz's picture
3
Joined: Jan 21 2019 - 11:12pm
Last seen: 1 month 5 days ago
Feedback
randomness