jan2ary Posted November 25, 2016 Share Posted November 25, 2016 HelloI'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 --everythingBuildfile: /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 SUCCESSFULTotal time: 0 seconds!!!!!!!!!!!!!!!!!!!!!!!!!!!!1Using CE setupUsing Bundled version of JavaJava HotSpot 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0First resource path:/opt/jasperreports-server-cp-6.3.0/buildomatic/conf_source/ieCe/applicationContext-azure-sql-datasource.xmlStarted to load resourcesResource name: applicationContext.xmlResource name: applicationContext-azure-sql-datasource.xmlResource name: applicationContext-cascade.xmlResource name: applicationContext-data-snapshots.xmlResource name: applicationContext-events-logging.xmlResource name: applicationContext-export-config.xmlResource name: applicationContext-export-import.xmlResource name: applicationContext-logging.xmlResource name: applicationContext-olap-connection.xmlResource name: applicationContext-propertySettings.xmlResource name: applicationContext-remote-services.xmlResource name: applicationContext-report-scheduling.xmlResource name: applicationContext-search.xmlResource name: applicationContext-security.xmlResource name: applicationContext-themes.xmlResource name: applicationContext-virtual-data-source.xmlResource name: applicationContext-virtual-data-source-query-service.xmlExporting tenant organizations (/)Exporting user jasperadminExporting user anonymousUserExporting user joeuserExporting role ROLE_ADMINISTRATORExporting role ROLE_USERExporting role ROLE_ANONYMOUSExporting repository folder /Exporting repository folder /analysisExporting repository folder /analysis/connectionsExporting repository resource /analysis/connections/FoodmartExporting repository resource /analysis/connections/FoodmartXmlaConnectionExporting repository resource /analysis/connections/SugarCRMExporting repository resource /analysis/connections/SugarCRMXmlaConnectionExporting 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. Link to comment Share on other sites More sharing options...
elizam Posted November 25, 2016 Share Posted November 25, 2016 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. Link to comment Share on other sites More sharing options...
jan2ary Posted November 29, 2016 Author Share Posted November 29, 2016 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 Link to comment Share on other sites More sharing options...
jan2ary Posted November 29, 2016 Author Share Posted November 29, 2016 Broken installation, fixed by reinstalling from scratch. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now