Jasper Reports - Repository Import and Export Fails

book

Article ID: 193529

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Jasper server Import and Export functionalities fail after upgrading tomcat.

Cause

Import Error Message: Import failed. The server has encountered an unexpected error.
Import Error Log:
ERROR ImportRunnable,pool-15-thread-6:78 [root|superuser] - Import failed: 
com.jaspersoft.jasperserver.export.service.ImportFailedException: Import failed. Reason: A mapping for class com.jaspersoft.jasperserver.export.modules.repository.beans.ResourceBean already exists
 at com.jaspersoft.jasperserver.export.service.impl.ImportExportServiceImpl.startImport(ImportExportServiceImpl.java:236)
 at com.jaspersoft.ji.logging.audit.export.service.AuditCapableImportExportServiceImpl.startImport(AuditCapableImportExportServiceImpl.java:38)
 at com.jaspersoft.jasperserver.export.service.impl.ImportExportServiceImpl.doImport(ImportExportServiceImpl.java:143)
 at com.jaspersoft.jasperserver.remote.services.async.ImportRunnable.run(ImportRunnable.java:63)
 at com.jaspersoft.jasperserver.remote.services.async.ImportExportTask$1.run(ImportExportTask.java:124)
 at com.jaspersoft.jasperserver.api.logging.util.LoggableExecutorService$1.run(LoggableExecutorService.java:81)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)

Environment

Release : 15.x

Component : CA PPM JASPER SERVER

Resolution

This is caused by an unsupported tomcat version Apache Tomcat 8.5.49.

Downgrade Tomcat to 8.5.38 which is supported version for JasperServer 7.1 and issue is resolved.