squash-tm 1.13.2 ne démarre pas (Bean Creation Exception)

jcr83
Messages : 31
Inscription : mar. janv. 07, 2014 7:32 am

squash-tm 1.13.2 ne démarre pas (Bean Creation Exception)

Message par jcr83 »

Bonjour,

Je viens d'effectuer une mise à jour de squash-tm 1.12.0 vers la version 1.13.2, sur CentOS 6.4.
J'ai effectué toutes les mises à jours de la base MySQL pour passer de la 1.12.0 à la 1.13.2.
J'ai corrigé l'erreur dans le script /etc/init.d/squash-tm.

Mais lorsque je relance squash-tm, j'obtiens des exceptions (voir log ci-dessous).
Avez-vous une idée de la cause de ce problème ?

Merci d'avance.
[code]
[16-03-03 15:52:49.871] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'ehCache' of type [class org.springframework.cache.ehcache.EhCacheFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:51.861] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'ehCache' of type [class net.sf.ehcache.Cache] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.142] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'grantingStrategy' of type [class org.springframework.security.acls.domain.DefaultPermissionGrantingStrategy] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.157] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'aclAdminAuthority' of type [class org.springframework.security.core.authority.SimpleGrantedAuthority] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.202] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'aclAuthorizationStrategy' of type [class org.springframework.security.acls.domain.AclAuthorizationStrategyImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.221] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'aclCache' of type [class org.springframework.security.acls.domain.EhCacheBasedAclCache] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.269] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'lookupStrategy' of type [class org.springframework.security.acls.jdbc.BasicLookupStrategy] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.348] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'derivedPermissionsManager' of type [class org.squashtest.tm.service.security.acls.jdbc.DerivedPermissionsManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.361] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'squashtest.core.security.AclService' of type [class org.squashtest.tm.service.security.acls.jdbc.JdbcManageableAclService] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.617] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'securityConfig' of type [class org.squashtest.tm.service.SecurityConfig$$EnhancerBySpringCGLIB$$90f94b7f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.627] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'permissionEvaluator' of type [class org.squashtest.tm.service.internal.security.AffirmativeBasedCompositePermissionEvaluator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.628] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'securityConfig.SquashMethodSecurityConfiguration' of type [class org.squashtest.tm.service.SecurityConfig$SquashMethodSecurityConfiguration$$EnhancerBySpringCGLIB$$62a4e8f1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.641] SquashTM - 31629 INFO [main] []--- org.squashtest.tm.service.internal.spring.CompositeDelegatingParameterNameDiscoverer: Adding to CompositeDelegatingParameterNameDiscoverer a discoverer of type class org.springframework.core.LocalVariableTableParameterNameDiscoverer
[16-03-03 15:52:53.641] SquashTM - 31629 INFO [main] []--- org.squashtest.tm.service.internal.spring.CompositeDelegatingParameterNameDiscoverer: Adding to CompositeDelegatingParameterNameDiscoverer a discoverer of type class org.squashtest.tm.service.internal.spring.ArgumentPositionParameterNameDiscoverer
[16-03-03 15:52:53.655] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'methodSecurityMetadataSource' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.665] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'metaDataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.716] SquashTM - 31629 INFO [main] []--- org.springframework.orm.hibernate4.HibernateTransactionManager: Using DataSource [org.apache.tomcat.jdbc.pool.DataSource@7fca2063{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.mysql.jdbc.Driver; maxActive=10; maxIdle=10; minIdle=10; initialSize=2; maxWait=30000; testOnBorrow=true; testOnReturn=false; timeBetweenEvictionRunsMillis=5000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=60000; testWhileIdle=false; testOnConnect=false; password=********; url=jdbc:mysql://localhost/squashtm; username=squash-tm; validationQuery=select 1; validationQueryTimeout=-1; validatorClassName=null; validationInterval=30000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; }] of Hibernate SessionFactory for HibernateTransactionManager
[16-03-03 15:52:53.729] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'transactionManager' of type [class org.springframework.orm.hibernate4.HibernateTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.881] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$1908b41d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.960] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'transactionAttributeSource' of type [class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.983] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'transactionInterceptor' of type [class org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:53.992] SquashTM - 31629 INFO [main] []--- org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'org.springframework.transaction.config.internalTransactionAdvisor' of type [class org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[16-03-03 15:52:54.465] SquashTM - 31629 WARN [main] []--- org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext: Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashServletConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.squashtest.csp.core.bugtracker.service.BugTrackerContextHolder org.squashtest.tm.web.config.SquashServletConfig.bugTrackerContextHolder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bugTrackerConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.Collection org.squashtest.tm.service.BugTrackerConfig.providers; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.mantis.JiraSoapConnectorProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor org.squashtest.tm.bugtracker.jira.soap.JiraSoapConnectorProvider.interfaceDescriptor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.BugTrackerInterfaceDescriptor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.context.MessageSource org.squashtest.tm.bugtracker.internal.jira.soap.JiraInterfaceDescriptor.messageSource; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'internationalizationHelper' defined in URL [jar:file:/usr/lib/squash-tm/bundles/squash-tm.war!/WEB-INF/classes!/org/squashtest/tm/web/internal/i18n/InternationalizationHelper.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.context.MessageSource]: : Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.context.support.AbstractApplicationContext.initMessageSource(AbstractApplicationContext.java:625)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:468)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
at org.squashtest.tm.SquashTm.main(SquashTm.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.squashtest.csp.core.bugtracker.service.BugTrackerContextHolder org.squashtest.tm.web.config.SquashServletConfig.bugTrackerContextHolder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bugTrackerConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.Collection org.squashtest.tm.service.BugTrackerConfig.providers; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.mantis.JiraSoapConnectorProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor org.squashtest.tm.bugtracker.jira.soap.JiraSoapConnectorProvider.interfaceDescriptor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.BugTrackerInterfaceDescriptor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.context.MessageSource org.squashtest.tm.bugtracker.internal.jira.soap.JiraInterfaceDescriptor.messageSource; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'internationalizationHelper' defined in URL [jar:file:/usr/lib/squash-tm/bundles/squash-tm.war!/WEB-INF/classes!/org/squashtest/tm/web/internal/i18n/InternationalizationHelper.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.context.MessageSource]: : Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 28 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bugTrackerConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.Collection org.squashtest.tm.service.BugTrackerConfig.providers; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.mantis.JiraSoapConnectorProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor org.squashtest.tm.bugtracker.jira.soap.JiraSoapConnectorProvider.interfaceDescriptor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.BugTrackerInterfaceDescriptor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.context.MessageSource org.squashtest.tm.bugtracker.internal.jira.soap.JiraInterfaceDescriptor.messageSource; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'internationalizationHelper' defined in URL [jar:file:/usr/lib/squash-tm/bundles/squash-tm.war!/WEB-INF/classes!/org/squashtest/tm/web/internal/i18n/InternationalizationHelper.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.context.MessageSource]: : Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
... 30 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.Collection org.squashtest.tm.service.BugTrackerConfig.providers; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.mantis.JiraSoapConnectorProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor org.squashtest.tm.bugtracker.jira.soap.JiraSoapConnectorProvider.interfaceDescriptor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.BugTrackerInterfaceDescriptor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.context.MessageSource org.squashtest.tm.bugtracker.internal.jira.soap.JiraInterfaceDescriptor.messageSource; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'internationalizationHelper' defined in URL [jar:file:/usr/lib/squash-tm/bundles/squash-tm.war!/WEB-INF/classes!/org/squashtest/tm/web/internal/i18n/InternationalizationHelper.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.context.MessageSource]: : Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 50 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.mantis.JiraSoapConnectorProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor org.squashtest.tm.bugtracker.jira.soap.JiraSoapConnectorProvider.interfaceDescriptor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.BugTrackerInterfaceDescriptor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.context.MessageSource org.squashtest.tm.bugtracker.internal.jira.soap.JiraInterfaceDescriptor.messageSource; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'internationalizationHelper' defined in URL [jar:file:/usr/lib/squash-tm/bundles/squash-tm.war!/WEB-INF/classes!/org/squashtest/tm/web/internal/i18n/InternationalizationHelper.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.context.MessageSource]: : Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:996)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
... 52 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor org.squashtest.tm.bugtracker.jira.soap.JiraSoapConnectorProvider.interfaceDescriptor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.BugTrackerInterfaceDescriptor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.context.MessageSource org.squashtest.tm.bugtracker.internal.jira.soap.JiraInterfaceDescriptor.messageSource; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'internationalizationHelper' defined in URL [jar:file:/usr/lib/squash-tm/bundles/squash-tm.war!/WEB-INF/classes!/org/squashtest/tm/web/internal/i18n/InternationalizationHelper.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.context.MessageSource]: : Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 63 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'squashtest.core.bugtracker.BugTrackerInterfaceDescriptor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.context.MessageSource org.squashtest.tm.bugtracker.internal.jira.soap.JiraInterfaceDescriptor.messageSource; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'internationalizationHelper' defined in URL [jar:file:/usr/lib/squash-tm/bundles/squash-tm.war!/WEB-INF/classes!/org/squashtest/tm/web/internal/i18n/InternationalizationHelper.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.context.MessageSource]: : Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
... 65 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.context.MessageSource org.squashtest.tm.bugtracker.internal.jira.soap.JiraInterfaceDescriptor.messageSource; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'internationalizationHelper' defined in URL [jar:file:/usr/lib/squash-tm/bundles/squash-tm.war!/WEB-INF/classes!/org/squashtest/tm/web/internal/i18n/InternationalizationHelper.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.context.MessageSource]: : Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 76 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'internationalizationHelper' defined in URL [jar:file:/usr/lib/squash-tm/bundles/squash-tm.war!/WEB-INF/classes!/org/squashtest/tm/web/internal/i18n/InternationalizationHelper.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.context.MessageSource]: : Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
... 78 more
Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'messageSource': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.beforeSingletonCreation(DefaultSingletonBeanRegistry.java:347)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 91 more

[/code]
RV
Messages : 1
Inscription : mar. mars 22, 2016 1:55 pm

squash-tm 1.13.2 ne démarre pas (Bean Creation Exception)

Message par RV »

Bonjour,

Avez-vous trouvé une solution ?

Je suis dans le même cas que vous.
gjoseph
Messages : 82
Inscription : lun. juil. 08, 2013 2:38 pm

squash-tm 1.13.2 ne démarre pas (Bean Creation Exception)

Message par gjoseph »

Bonjour,

Pouvez-vous préciser la manière dont vous avez fait la mise à jour ? (par exemple : yum upgrade ou zip de la nouvelle version ...)

Cordialement,
jcr83
Messages : 31
Inscription : mar. janv. 07, 2014 7:32 am

squash-tm 1.13.2 ne démarre pas (Bean Creation Exception)

Message par jcr83 »

Bonjour,
J'ai effectué un "yum upgrade", puis lancé tous les scripts de mise à jour de la base de données depuis la version 1.12 jusqu'à la version 1.13.2.
gjoseph
Messages : 82
Inscription : lun. juil. 08, 2013 2:38 pm

squash-tm 1.13.2 ne démarre pas (Bean Creation Exception)

Message par gjoseph »

Il y a eu un certains nombre de changements dans l'architecture des répertoires de la version 1.13 par rapport aux anciennes versions. La mise à jour par yum n'est peut-être pas optimale. Avez-vous essayé de faire une nouvelle installation ("fresh install") ?

D'autre part, quelques informations qui pourraient vous aider avant de tenter une nouvelle installation :
[ul]
[li]éditer le fichier /etc/init.d/squash-tm et commenter les variables DB_URL, DB_USERNAME et DB_PASSWORD (peut-être facultatif)[/li]
[li]dans le même fichier, changer la variable DB_TYPE à "mysql'[/li]
[li]editer le fichier /etc/sysconfig/squash-tm et mettre la conf de la base de donnée ici[/li]
[li]démarrer Squash avec service squash-tm start (le démarrage peut prendre un certain temps la première fois)[/li]
[/ul]
jcr83
Messages : 31
Inscription : mar. janv. 07, 2014 7:32 am

squash-tm 1.13.2 ne démarre pas (Bean Creation Exception)

Message par jcr83 »

Malheureusement je ne vois pas d'amélioration après avoir effectué les modifications des fichiers de configuration (cf fichier log ci-joint).
[attachment=346]squash.zip[/attachment]
Pièces jointes
squash.zip
(21.46 Kio) Téléchargé 692 fois
gjoseph
Messages : 82
Inscription : lun. juil. 08, 2013 2:38 pm

squash-tm 1.13.2 ne démarre pas (Bean Creation Exception)

Message par gjoseph »

Dans ce cas, le mieux sera de recommencer à partir d'une nouvelle installation : télécharger la version en .zip, dézipper le fichier et reprendre les éventuels paramétrages.
A partir d'une fresh install il ne devrait pas y avoir de problème
Répondre

Revenir à « Installation & Base de données / Installation & Database »