Jump to content
Changes to the Jaspersoft community edition download ×

jasper installation. community version


tiamtienkam

Recommended Posts

Hello,
I want to install jasper server 7.2.0 from the war file for use in production (according to the documentation). but I find myself confronted with the error below. what to do ?

 [java] WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/C:/jasperreports-server-cp-7.2.0-bin/buildomatic/conf_source/ieCe/lib/jaxb-impl-2.1.5.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)     [java] WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1     [java] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations     [java] WARNING: All illegal access operations will be denied in a future release     [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:jasperreports-server-cp-7.2.0-binbuildomaticconf_sourceieCeapplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.component.PojoComponentTuplizer]     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631)     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)     [java]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)     [java]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)     [java]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)     [java]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)     [java]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742)     [java]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)     [java]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)     [java]     at com.jaspersoft.jasperserver.export.BaseExportImportCommand.createSpringContext(BaseExportImportCommand.java:129)     [java]     at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:82)     [java]     at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43)     [java] Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.component.PojoComponentTuplizer]     [java]     at org.hibernate.tuple.component.ComponentTuplizerFactory.constructTuplizer(ComponentTuplizerFactory.java:98)     [java]     at org.hibernate.tuple.component.ComponentTuplizerFactory.constructDefaultTuplizer(ComponentTuplizerFactory.java:119)     [java]     at org.hibernate.tuple.component.ComponentMetamodel.<init>(ComponentMetamodel.java:68)     [java]     at org.hibernate.mapping.Component.getType(Component.java:169)     [java]     at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:422)     [java]     at org.hibernate.mapping.RootClass.validate(RootClass.java:266)     [java]     at org.hibernate.boot.internal.MetadataImpl.validate(MetadataImpl.java:329)     [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:jasperreports-server-cp-7.2.0-binbuildomaticconf_sourceieCeapplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.component.PojoComponentTuplizer]    at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:451)     [java]     [java]     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:710)     [java]     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)     [java]     at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:511)     [java]     at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:495)     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1689)     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1627)     [java]     ... 12 more     [java] Caused by: java.lang.reflect.InvocationTargetException     [java]     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)     [java]     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)     [java]     at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)     [java]     at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)     [java]     at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)     [java]     at org.hibernate.tuple.component.ComponentTuplizerFactory.constructTuplizer(ComponentTuplizerFactory.java:95)     [java]     ... 25 more     [java] Caused by: java.lang.NullPointerException     [java]     at javassist.util.proxy.SecurityActions.setAccessible(SecurityActions.java:103)     [java]     at javassist.util.proxy.DefineClassHelper.toClass3(DefineClassHelper.java:151)     [java]     at javassist.util.proxy.DefineClassHelper.toClass2(DefineClassHelper.java:134)     [java]     at javassist.util.proxy.DefineClassHelper.toClass(DefineClassHelper.java:95)     [java]     at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:131)     [java]     at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:530)     [java]     at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:515)     [java]     at javassist.util.proxy.ProxyFactory.createClass1(ProxyFactory.java:451)     [java]     at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:422)     [java]     at org.hibernate.bytecode.internal.javassist.ProxyFactoryFactoryImpl$BasicProxyFactoryImpl.<init>(ProxyFactoryFactoryImpl.java:70)     [java]     at org.hibernate.bytecode.internal.javassist.ProxyFactoryFactoryImpl.buildBasicProxyFactory(ProxyFactoryFactoryImpl.java:51)     [java]     at org.hibernate.tuple.component.PojoComponentTuplizer$ProxiedInstantiator.<init>(PojoComponentTuplizer.java:164)     [java]     at org.hibernate.tuple.component.PojoComponentTuplizer.buildInstantiator(PojoComponentTuplizer.java:127)     [java]     at org.hibernate.tuple.component.AbstractComponentTuplizer.<init>(AbstractComponentTuplizer.java:55)     [java]     at org.hibernate.tuple.component.PojoComponentTuplizer.<init>(PojoComponentTuplizer.java:41)     [java]     ... 31 moreBUILD FAILEDC:jasperreports-server-cp-7.2.0-binbuildomaticbindb-common.xml:1462: The following error occurred while executing this line:C:jasperreports-server-cp-7.2.0-binbuildomaticbinimport-export.xml:321: The following error occurred while executing this line:C:jasperreports-server-cp-7.2.0-binbuildomaticbinimport-export.xml:199: Java returned: -1Total time: 15 secondsChecking Ant return code: OK[/code]

 

Link to comment
Share on other sites

  • 2 months later...
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

I've same problem on Debian 64bit Tomcat9 and Postgresql11

root@servis2:/opt/jasper/buildomatic# ./js-install-ce.sh minimalWriting to log file: logs/js-install-ce_2019-10-25_14-51-34673.log----------------------------------------------------------------------Running JasperReports Server install script at 2019-10-25_14-51--------------------------------------------------------------------------------------------------------------------------------------------Using ANT_OPTS: -Dnet.sf.ehcache.disabled=true -Xms512m -Xmx2048m----------------------------------------------------------------------[minimal]Running install-minimal-ce Ant task.----------------------------------------------------------------------Buildfile: /opt/jasper/buildomatic/build.xml     [echo] Filtering properties (cleaning out blank spaces)     [echo] chkIfPackageManagedTomcat: check if package managed tomcat     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set      [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists     [echo] Tomcat DBCP Factory: com.jaspersoft.jasperserver.tomcat.jndi.JSCommonsBasicDataSourceFactory     [exec] Execute failed: java.io.IOException: Cannot run program "git": error=2, No such file or directory     [echo] using artifact version name: ${git.currentBranchName}-SNAPSHOT     [echo] using FAF version name: ${git.currentBranchName}-SNAPSHOT     [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] chkIfPackageManagedTomcat: check if package managed tomcat     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set      [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists     [echo] tomcatPackageManaged IS SET     [echo] Overriding fixedAppServerDir with value from CATALINA_BASE   [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.     [echo] using settings file: /opt/jasper/buildomatic/build_conf/default/maven_settings.xmlset-minimal-mode:gen-config:     [echo] Regen config files if they have already been cleaned:     [echo] currentConf= /opt/jasper/buildomatic/build_conf/default     [echo] chkIfPackageManagedTomcat: check if package managed tomcat     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set      [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists     [echo] Tomcat DBCP Factory: com.jaspersoft.jasperserver.tomcat.jndi.JSCommonsBasicDataSourceFactory     [echo] using artifact version name: ${git.currentBranchName}-SNAPSHOT     [echo] using FAF version name: ${git.currentBranchName}-SNAPSHOT     [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 commandstest-ce-all-props:     [echo] Checking properties:     [echo]   dbType=postgresql     [echo]   dbHost=localhost     [echo]   dbUsername=jasper     [echo]   dbPassword=**********     [echo]   dbPort=5432     [echo]   js.dbName=jasperserver     [echo]   sugarcrm.dbName=sugarcrm     [echo]   foodmart.dbName=foodmart     [echo]   webAppNameCE=jasperservercheck-dbtype-ce:test-appServerType-ce:do-install-upgrade-test:     [echo] Checking DBMS host and port:     [echo] About to validate port: localhost:5432     [echo]   Port 5432 is OK     [echo] Done validating port: localhost:5432     [echo] Validating administrative database connection at jdbc:postgresql://localhost:5432/postgres. Phase: [test]     [echo] For JDBC driver the artifactId and version properties are set:     [echo]   maven.jdbc.artifactId=postgresql     [echo]   maven.jdbc.version=9.4-1210.jdbc41     [echo]   Specified JDBC driver jar existsWARNING: An illegal reflective access operation has occurredWARNING: Illegal reflective access by org.postgresql.jdbc.TimestampUtils (file:/opt/jasper/buildomatic/conf_source/db/postgresql/jdbc/postgresql-9.4-1210.jdbc41.jar) to field java.util.TimeZone.defaultTimeZoneWARNING: Please consider reporting this to the maintainers of org.postgresql.jdbc.TimestampUtilsWARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operationsWARNING: All illegal access operations will be denied in a future release[advanced-sql] Executing commands[advanced-sql] 1 of 1 SQL statements executed successfully     [echo] Connection OK     [echo] Validating JasperServer database connection at jdbc:postgresql://localhost:5432/jasperserver. Phase: [test]     [echo] For JDBC driver the artifactId and version properties are set:     [echo]   maven.jdbc.artifactId=postgresql     [echo]   maven.jdbc.version=9.4-1210.jdbc41     [echo]   Specified JDBC driver jar exists[advanced-sql] Executing commands[advanced-sql] 1 of 1 SQL statements executed successfully     [echo] Connection OKdo-pre-install-test:     [echo] Validating FoodMart database connection at jdbc:postgresql://localhost:5432/foodmart. Phase: [test]     [echo] For JDBC driver the artifactId and version properties are set:     [echo]   maven.jdbc.artifactId=postgresql     [echo]   maven.jdbc.version=9.4-1210.jdbc41     [echo]   Specified JDBC driver jar exists[advanced-sql] Failed to connect: FATAL: database "foodmart" does not exist     [echo] Connection failed:     [echo]   SQLState: 3D000     [echo]   Vendor specific error code: 0     [echo]   Message: [FATAL: database "foodmart" does not exist]     [echo] Database doesn't exist. Treating problem with JDBC connection as noncritical. Proceeding to next step     [echo] Validating SugarCRM database connection at jdbc:postgresql://localhost:5432/sugarcrm. Phase: [test]     [echo] For JDBC driver the artifactId and version properties are set:     [echo]   maven.jdbc.artifactId=postgresql     [echo]   maven.jdbc.version=9.4-1210.jdbc41     [echo]   Specified JDBC driver jar exists[advanced-sql] Failed to connect: FATAL: database "sugarcrm" does not exist     [echo] Connection failed:     [echo]   SQLState: 3D000     [echo]   Vendor specific error code: 0     [echo]   Message: [FATAL: database "sugarcrm" does not exist]     [echo] Database doesn't exist. Treating problem with JDBC connection as noncritical. Proceeding to next steppre-install-test-ce:recreate-js-db:     [echo] Validating JasperServer database connection at jdbc:postgresql://localhost:5432/jasperserver. Phase: [before]     [echo] For JDBC driver the artifactId and version properties are set:     [echo]   maven.jdbc.artifactId=postgresql     [echo]   maven.jdbc.version=9.4-1210.jdbc41     [echo]   Specified JDBC driver jar exists[advanced-sql] Executing commands[advanced-sql] 1 of 1 SQL statements executed successfully     [echo] Connection OK    [input] Database [jasperserver] already exists. Drop it and create new? WARNING: All existing data will be lost! This operation may not be rolled back. Enter 'y' to recreate or 'n' to skip this step. Default is 'n' (y, [n])y     [echo] Filtering properties (cleaning out blank spaces)     [echo] chkIfPackageManagedTomcat: check if package managed tomcat     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set      [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists     [echo] Tomcat DBCP Factory: com.jaspersoft.jasperserver.tomcat.jndi.JSCommonsBasicDataSourceFactory     [echo] using artifact version name: ${git.currentBranchName}-SNAPSHOT     [echo] using FAF version name: ${git.currentBranchName}-SNAPSHOT     [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] chkIfPackageManagedTomcat: check if package managed tomcat     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set      [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists     [echo] tomcatPackageManaged IS SET     [echo] Overriding fixedAppServerDir with value from CATALINA_BASE   [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.     [echo] using settings file: /opt/jasper/buildomatic/build_conf/default/maven_settings.xmldrop-js-db:     [echo] Dropping database. js.dbName = jasperserver     [echo] For JDBC driver the artifactId and version properties are set:     [echo]   maven.jdbc.artifactId=postgresql     [echo]   maven.jdbc.version=9.4-1210.jdbc41     [echo]   Specified JDBC driver jar exists[advanced-sql] Executing commands[advanced-sql] 0 rows affected[advanced-sql] 1 of 1 SQL statements executed successfully     [echo] Filtering properties (cleaning out blank spaces)     [echo] chkIfPackageManagedTomcat: check if package managed tomcat     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set      [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists     [echo] Tomcat DBCP Factory: com.jaspersoft.jasperserver.tomcat.jndi.JSCommonsBasicDataSourceFactory     [echo] using artifact version name: ${git.currentBranchName}-SNAPSHOT     [echo] using FAF version name: ${git.currentBranchName}-SNAPSHOT     [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] chkIfPackageManagedTomcat: check if package managed tomcat     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set      [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists     [echo] tomcatPackageManaged IS SET     [echo] Overriding fixedAppServerDir with value from CATALINA_BASE   [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.     [echo] using settings file: /opt/jasper/buildomatic/build_conf/default/maven_settings.xmlcreate-js-db:     [echo] Creating database, js.dbName = jasperserver, create database "jasperserver" encoding='utf8'     [echo] For JDBC driver the artifactId and version properties are set:     [echo]   maven.jdbc.artifactId=postgresql     [echo]   maven.jdbc.version=9.4-1210.jdbc41     [echo]   Specified JDBC driver jar exists[advanced-sql] Executing commands[advanced-sql] 0 rows affected[advanced-sql] 1 of 1 SQL statements executed successfully     [echo] Validating JasperServer database connection at jdbc:postgresql://localhost:5432/jasperserver. Phase: [after]     [echo] For JDBC driver the artifactId and version properties are set:     [echo]   maven.jdbc.artifactId=postgresql     [echo]   maven.jdbc.version=9.4-1210.jdbc41     [echo]   Specified JDBC driver jar exists[advanced-sql] Executing commands[advanced-sql] 1 of 1 SQL statements executed successfully     [echo] Connection OKfill-js-ce-db-minimal:     [echo] Filtering properties (cleaning out blank spaces)     [echo] chkIfPackageManagedTomcat: check if package managed tomcat     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set      [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists     [echo] Tomcat DBCP Factory: com.jaspersoft.jasperserver.tomcat.jndi.JSCommonsBasicDataSourceFactory     [echo] using artifact version name: ${git.currentBranchName}-SNAPSHOT     [echo] using FAF version name: ${git.currentBranchName}-SNAPSHOT     [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] chkIfPackageManagedTomcat: check if package managed tomcat     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set      [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists     [echo] tomcatPackageManaged IS SET     [echo] Overriding fixedAppServerDir with value from CATALINA_BASE   [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.     [echo] using settings file: /opt/jasper/buildomatic/build_conf/default/maven_settings.xmlinit-js-db-ce:     [echo] For JDBC driver the artifactId and version properties are set:     [echo]   maven.jdbc.artifactId=postgresql     [echo]   maven.jdbc.version=9.4-1210.jdbc41     [echo]   Specified JDBC driver jar exists[advanced-sql] Executing resource: /opt/jasper/buildomatic/install_resources/sql/postgresql/js-create.ddl[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] Executing resource: /opt/jasper/buildomatic/install_resources/sql/postgresql/quartz.ddl[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 0 rows affected[advanced-sql] 213 of 213 SQL statements executed successfully     [echo] Filtering properties (cleaning out blank spaces)     [echo] chkIfPackageManagedTomcat: check if package managed tomcat     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set      [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists     [echo] Tomcat DBCP Factory: com.jaspersoft.jasperserver.tomcat.jndi.JSCommonsBasicDataSourceFactory     [echo] using artifact version name: ${git.currentBranchName}-SNAPSHOT     [echo] using FAF version name: ${git.currentBranchName}-SNAPSHOT     [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] chkIfPackageManagedTomcat: check if package managed tomcat     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set      [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists     [echo] tomcatPackageManaged IS SET     [echo] Overriding fixedAppServerDir with value from CATALINA_BASE   [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.     [echo] using settings file: /opt/jasper/buildomatic/build_conf/default/maven_settings.xmlimport-minimal-ce:     [echo]       [echo] Property values (in install.xml):      [echo]  archiveArg = --input-zip=/opt/jasper/buildomatic/install_resources/export/js-catalog-postgresql-minimal-ce.zip     [echo]  dbType = postgresql     [echo]  jdbcJar = postgresql-9.4-1210.jdbc41.jar     [echo]  currentConf = /opt/jasper/buildomatic/build_conf/default     [echo]  importExportConfig = /opt/jasper/buildomatic/conf_source/ieCe     [echo]       [echo] Validating JasperServer database connection at jdbc:postgresql://localhost: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.4-1210.jdbc41     [echo]   Specified JDBC driver jar exists[advanced-sql] Executing commands[advanced-sql] 1 of 1 SQL statements executed successfully     [echo] Connection OK     [java] First resource path:/opt/jasper/buildomatic/conf_source/ieCe/applicationContext-azure-sql-datasource.xml     [java] Started to load resources     [java] Resource name: applicationContext.xml     [java] Resource name: applicationContext-azure-sql-datasource.xml     [java] Resource name: applicationContext-cascade.xml     [java] Resource name: applicationContext-data-snapshots.xml     [java] Resource name: applicationContext-events-logging.xml     [java] Resource name: applicationContext-export-config.xml     [java] Resource name: applicationContext-export-import.xml     [java] Resource name: applicationContext-jdbc-metadata.xml     [java] Resource name: applicationContext-logging.xml     [java] Resource name: applicationContext-olap-connection.xml     [java] Resource name: applicationContext-propertySettings.xml     [java] Resource name: applicationContext-remote-services.xml     [java] Resource name: applicationContext-report-scheduling.xml     [java] Resource name: applicationContext-search.xml     [java] Resource name: applicationContext-security.xml     [java] Resource name: applicationContext-themes.xml     [java] Resource name: applicationContext-virtual-data-source.xml     [java] Resource name: applicationContext-virtual-data-source-query-service.xml     [java] WARNING: An illegal reflective access operation has occurred     [java] WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/opt/jasper/buildomatic/conf_source/ieCe/lib/jaxb-impl-2.1.5.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)     [java] WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1     [java] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations     [java] WARNING: All illegal access operations will be denied in a future release     [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/opt/jasper/buildomatic/conf_source/ieCe/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.component.PojoComponentTuplizer]     [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/opt/jasper/buildomatic/conf_source/ieCe/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.component.PojoComponentTuplizer]     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631)     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)     [java]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)     [java]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)     [java]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)     [java]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)     [java]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742)     [java]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)     [java]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)     [java]     at com.jaspersoft.jasperserver.export.BaseExportImportCommand.createSpringContext(BaseExportImportCommand.java:129)     [java]     at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:82)     [java]     at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43)     [java] Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.component.PojoComponentTuplizer]     [java]     at org.hibernate.tuple.component.ComponentTuplizerFactory.constructTuplizer(ComponentTuplizerFactory.java:98)     [java]     at org.hibernate.tuple.component.ComponentTuplizerFactory.constructDefaultTuplizer(ComponentTuplizerFactory.java:119)     [java]     at org.hibernate.tuple.component.ComponentMetamodel.<init>(ComponentMetamodel.java:68)     [java]     at org.hibernate.mapping.Component.getType(Component.java:169)     [java]     at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:422)     [java]     at org.hibernate.mapping.RootClass.validate(RootClass.java:266)     [java]     at org.hibernate.boot.internal.MetadataImpl.validate(MetadataImpl.java:329)     [java]     at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:451)     [java]     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:710)     [java]     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)     [java]     at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:511)     [java]     at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:495)     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1689)     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1627)     [java]     ... 12 more     [java] Caused by: java.lang.reflect.InvocationTargetException     [java]     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)     [java]     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)     [java]     at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)     [java]     at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)     [java]     at org.hibernate.tuple.component.ComponentTuplizerFactory.constructTuplizer(ComponentTuplizerFactory.java:95)     [java]     ... 25 more     [java] Caused by: java.lang.NullPointerException     [java]     at javassist.util.proxy.SecurityActions.setAccessible(SecurityActions.java:103)     [java]     at javassist.util.proxy.DefineClassHelper.toClass3(DefineClassHelper.java:151)     [java]     at javassist.util.proxy.DefineClassHelper.toClass2(DefineClassHelper.java:134)     [java]     at javassist.util.proxy.DefineClassHelper.toClass(DefineClassHelper.java:95)     [java]     at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:131)     [java]     at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:530)     [java]     at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:515)     [java]     at javassist.util.proxy.ProxyFactory.createClass1(ProxyFactory.java:451)     [java]     at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:422)     [java]     at org.hibernate.bytecode.internal.javassist.ProxyFactoryFactoryImpl$BasicProxyFactoryImpl.<init>(ProxyFactoryFactoryImpl.java:70)     [java]     at org.hibernate.bytecode.internal.javassist.ProxyFactoryFactoryImpl.buildBasicProxyFactory(ProxyFactoryFactoryImpl.java:51)     [java]     at org.hibernate.tuple.component.PojoComponentTuplizer$ProxiedInstantiator.<init>(PojoComponentTuplizer.java:164)     [java]     at org.hibernate.tuple.component.PojoComponentTuplizer.buildInstantiator(PojoComponentTuplizer.java:127)     [java]     at org.hibernate.tuple.component.AbstractComponentTuplizer.<init>(AbstractComponentTuplizer.java:55)     [java]     at org.hibernate.tuple.component.PojoComponentTuplizer.<init>(PojoComponentTuplizer.java:41)     [java]     ... 30 moreBUILD FAILED/opt/jasper/buildomatic/bin/db-common.xml:1462: The following error occurred while executing this line:/opt/jasper/buildomatic/bin/import-export.xml:321: The following error occurred while executing this line:/opt/jasper/buildomatic/bin/import-export.xml:199: Java returned: 255Total time: 20 secondsChecking Ant return code: OK[/code]


 

Link to comment
Share on other sites

  • 7 months later...
  • 2 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...