Export everything problem

0

Hello

I've just installed JasperServer Community Edition 6.3.0 to Linux CentOS 7.2 with existent PostgreSQL and trying to practice with its backup and restore procedures. I'm getting the following error:

[root@somehost]# cd /opt/jasperreports-server-cp-6.3.0/buildomatic; ./js-export.sh --output-zip /tmp/bme-backup/jasperserver-repo.`date +%Y%m%d`.zip --everything
Buildfile: /opt/jasperreports-server-cp-6.3.0/buildomatic/build.xml
     [echo] Filtering properties (cleaning out blank spaces)
     [echo] chkAndSetLocaleDbSettings: dbType is postgresql
     [echo] chkAndSetLocaleDbSettings: db.set.lc_collate and db.set.lc_ctype are NOT both set
     [echo] chkAndSetLocaleDbSettings: parse: scripts.properties for db commands
     [echo] using settings file: /opt/jasperreports-server-cp-6.3.0/buildomatic/build_conf/default/maven_settings.xml
 
validate-database:
     [echo] Validating JasperServer database connection at jdbc:postgresql://127.0.0.1:5432/jasperserver. Phase: [import-export-test]
     [echo] For JDBC driver the artifactId and version properties are set:
     [echo]   maven.jdbc.artifactId=postgresql
     [echo]   maven.jdbc.version=9.2-1002.jdbc4
     [echo]   Specified JDBC driver jar exists
[advanced-sql] Executing commands
[advanced-sql] 1 of 1 SQL statements executed successfully
     [echo] Connection OK
 
BUILD SUCCESSFUL
Total time: 0 seconds
!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
Using CE setup
Using Bundled version of Java
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0
First resource path:/opt/jasperreports-server-cp-6.3.0/buildomatic/conf_source/ieCe/applicationContext-azure-sql-datasource.xml
Started to load resources
Resource name: applicationContext.xml
Resource name: applicationContext-azure-sql-datasource.xml
Resource name: applicationContext-cascade.xml
Resource name: applicationContext-data-snapshots.xml
Resource name: applicationContext-events-logging.xml
Resource name: applicationContext-export-config.xml
Resource name: applicationContext-export-import.xml
Resource name: applicationContext-logging.xml
Resource name: applicationContext-olap-connection.xml
Resource name: applicationContext-propertySettings.xml
Resource name: applicationContext-remote-services.xml
Resource name: applicationContext-report-scheduling.xml
Resource name: applicationContext-search.xml
Resource name: applicationContext-security.xml
Resource name: applicationContext-themes.xml
Resource name: applicationContext-virtual-data-source.xml
Resource name: applicationContext-virtual-data-source-query-service.xml
Exporting tenant organizations (/)
Exporting user jasperadmin
Exporting user anonymousUser
Exporting user joeuser
Exporting role ROLE_ADMINISTRATOR
Exporting role ROLE_USER
Exporting role ROLE_ANONYMOUS
Exporting repository folder /
Exporting repository folder /analysis
Exporting repository folder /analysis/connections
Exporting repository resource /analysis/connections/Foodmart
Exporting repository resource /analysis/connections/FoodmartXmlaConnection
Exporting repository resource /analysis/connections/SugarCRM
Exporting repository resource /analysis/connections/SugarCRMXmlaConnection
Exporting repository folder /analysis/datasources
 -- JasperServer:  ProfileAttributeCacheImpl shutdown called.  This normal shutdown operation.
com.jaspersoft.jasperserver.api.JSExceptionWrapper: For input string: "ja"
Arguments:
com.jaspersoft.jasperserver.api.JSExceptionWrapper: org.springframework.dao.DataAccessResourceFailureException: For input string: "ja"
        at com.jaspersoft.jasperserver.api.common.crypto.PasswordCipherer.decodePassword(PasswordCipherer.java:128)
        at com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.impl.datasource.RepoJdbcDataSource.copyTo(RepoJdbcDataSource.java:114)
        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.persistent.RepoResource.toClient(Unknown Source)
        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryServiceImpl.loadResource(HibernateRepositoryServiceImpl.java:397)
        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryServiceImpl.loadResource(HibernateRepositoryServiceImpl.java:378)
        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryServiceImpl$2.execute(HibernateRepositoryServiceImpl.java:268)
        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.HibernateDaoImpl.executeCallback(HibernateDaoImpl.java:65)
        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryServiceImpl.getResourceUnsecure(HibernateRepositoryServiceImpl.java:266)
        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryServiceImpl.getResource(HibernateRepositoryServiceImpl.java:261)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy14.getResource(Unknown Source)
        at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.exportResource(ResourceExporter.java:423)
        at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.exportResources(ResourceExporter.java:408)
        at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.exportFolder(ResourceExporter.java:282)
        at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.exportFolders(ResourceExporter.java:398)
        at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.exportFolder(ResourceExporter.java:281)
        at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.exportFolders(ResourceExporter.java:398)
        at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.exportFolder(ResourceExporter.java:281)
        at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.processUri(ResourceExporter.java:225)
        at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.process(ResourceExporter.java:151)
        at com.jaspersoft.jasperserver.export.ExporterImpl.invokeModules(ExporterImpl.java:203)
        at com.jaspersoft.jasperserver.export.ExporterImpl.process(ExporterImpl.java:152)
        at com.jaspersoft.jasperserver.export.ExporterImpl.performExport(ExporterImpl.java:127)
        at com.jaspersoft.jasperserver.export.ExportCommandImpl.process(ExportCommandImpl.java:68)
        at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:94)
        at com.jaspersoft.jasperserver.export.ExportCommand.main(ExportCommand.java:43)
 
I did some googling but no results here.
Thanks.
 
Andriy.

 

jan2ary's picture
Joined: Nov 25 2016 - 2:29am
Last seen: 2 years 11 months ago

Not sure if this is related, but I see you are using JRS on Java 8. That is not currently suported, although I think it will be supported soon.

elizam - 3 years 4 months ago

elizam, thanks for your response.

I already fixed the issue, it was due broken installation package. Just reinstalled from scratch and it worked great.

Thanks.

Andriy

jan2ary - 3 years 4 months ago

1 Answer:

0

Broken installation, fixed by reinstalling from scratch.

jan2ary's picture
Joined: Nov 25 2016 - 2:29am
Last seen: 2 years 11 months ago
Feedback
randomness