moeller.fabian Posted April 9, 2014 Share Posted April 9, 2014 Hello CommunityWhem im Running the script js-upgrade-newdb-ce.sh i get following Errors[advanced-sql] Executing commands[advanced-sql] 1 of 1 SQL statements executed successfully [echo] Connection OK [java] First resource path:/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-logging.xml [java] Started to load resources [java] Resource name: applicationContext.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-logging.xml [java] Resource name: applicationContext-olap-connection.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] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executionOwnerVoter': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProvider': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProviderTarget' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'userAuthorityService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAuthorityService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'profileAttributeService' while setting bean property 'profileAttributeService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'profileAttributeService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'profileAttributeServiceTarget' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'unsecureRepositoryService' while setting bean property 'repositoryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateRepositoryService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'hibernateRepositoryListeners' while setting bean property 'repositoryListeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateRepositoryListeners' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'schedulingReportDeleteListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulingReportDeleteListener' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportSchedulingService' while setting bean property 'schedulingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportSchedulingService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportScheduler' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'quartzScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'engineService' while setting bean property 'schedulerContextAsMap' with key [TypedStringValue: value [engineService], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'engineService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'engineServiceDataCacheProvider' while setting bean property 'dataCacheProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'engineServiceDataCacheProvider' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-data-snapshots.xml]: Cannot resolve reference to bean 'dataSnapshotService' while setting bean property 'dataSnapshotService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSnapshotService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-data-snapshots.xml]: Cannot resolve reference to bean 'dataSnapshotCachingService' while setting bean property 'cachingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSnapshotCachingService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-data-snapshots.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#28f270bc' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'contentsCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#28f270bc' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-data-snapshots.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: java.io.IOException: Permission denied [java] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:306) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) [java] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) [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.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProvider': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProviderTarget' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'userAuthorityService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAuthorityService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'profileAttributeService' while setting bean property 'profileAttributeService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'profileAttributeService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'profileAttributeServiceTarget' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'unsecureRepositoryService' while setting bean property 'repositoryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateRepositoryService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'hibernateRepositoryListeners' while setting bean property 'repositoryListeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateRepositoryListeners' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'schedulingReportDeleteListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulingReportDeleteListener' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportSchedulingService' while setting bean property 'schedulingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportSchedulingService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportScheduler' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'quartzScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'engineService' while setting bean property 'schedulerContextAsMap' with key [TypedStringValue: value [engineService], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'engineService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'engineServiceDataCacheProvider' while setting bean property 'dataCacheProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'engineServiceDataCacheProvider' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-data-snapshots.xml]: Cannot resolve reference to bean 'dataSnapshotService' while setting bean property 'dataSnapshotService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSnapshotService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-data-snapshots.xml]: Cannot resolve reference to bean 'dataSnapshotCachingService' while setting bean property 'cachingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSnapshotCachingService' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-data-snapshots.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#28f270bc' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'contentsCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#28f270bc' defined in file [/opt/JS_550/buildomatic/conf_source/ieCe/applicationContext-data-snapshots.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: java.io.IOException: Permission denied (and much more) BUILD FAILED/opt/JS_550/buildomatic/bin/db-common.xml:512: The following error occurred while executing this line:/opt/JS_550/buildomatic/bin/import-export.xml:275: The following error occurred while executing this line:/opt/JS_550/buildomatic/bin/import-export.xml:158: Java returned: 255Total time: 16 secondsChecking Ant return code: OK----------------------------------------------------------------------[/code]Can you help me pls ?Best Regards Fabian Link to comment Share on other sites More sharing options...
Solution marianol Posted April 9, 2014 Solution Share Posted April 9, 2014 Fabian,This problem normally happens if the user you are using for the update does not have write acces to the temp folder. Look at this post on how to workareound that issue http://community.jaspersoft.com/wiki/javaioioexception-permission-denied-when-running-js-export-non-root-user Link to comment Share on other sites More sharing options...
moeller.fabian Posted April 10, 2014 Author Share Posted April 10, 2014 Yes you are right. Thank you very much http://community.jaspersoft.com/sites/all/libraries/ckeditor/plugins/smiley/images/thumbs_up.gif Link to comment Share on other sites More sharing options...
rakesh.pandey Posted March 24, 2015 Share Posted March 24, 2015 when running this command js-ant create-load-js-db-ce [java] Resource name: applicationContext-virtual-data-source.xml [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executionOwnerVoter': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 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