cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-1450) AWSAPI server fails to start
Date Thu, 28 Feb 2013 11:51:16 GMT
Likitha Shetty created CLOUDSTACK-1450:
------------------------------------------

             Summary: AWSAPI server fails to start
                 Key: CLOUDSTACK-1450
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1450
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: AWSAPI
    Affects Versions: 4.1.0
            Reporter: Likitha Shetty


On master commit: 1d31c3ecaf7466e3e8bb1ce08d413f3a88b4323a
Run 'mvn -Pawsapi -pl :cloud-awsapi jetty:run' to start the awsapi webapp. The following error
is observed

INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@120f0be:
defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,EC2RestServlet,serviceProvider,EC2MainServlet,EC2Engine,s3Engine,SObjectItemDaoImpl,offeringDaoImpl,multiPartPartsDaoImpl,SMetaDaoImpl,cloudStackSvcOfferingDaoImpl,multipartMetaDaoImpl,cloudStackConfigurationDaoImpl,bucketPolicyDaoImpl,SHostDaoImpl,multiPartUploadsDaoImpl,SObjectDaoImpl,MHostMountDaoImpl,userCredentialsDaoImpl,MHostDaoImpl,cloudStackAccountDaoImpl,SBucketDaoImpl,SAclDaoImpl,componentContext,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.aop.aspectj.AspectJPointcutAdvisor#0,captureAnyMethod,transactionContextBuilder,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0];
root of factory hierarchy
28 Feb, 2013 4:26:21 PM org.springframework.web.context.ContextLoader initWebApplicationContext
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EC2RestServlet':
Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: com.cloud.bridge.persist.dao.CloudStackUserDaoImpl com.cloud.bridge.service.EC2RestServlet.userDao;
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching
bean of type [com.cloud.bridge.persist.dao.CloudStackUserDaoImpl] found for dependency: expected
at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations:
{@javax.inject.Inject()}
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)

Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field:
com.cloud.bridge.persist.dao.CloudStackUserDaoImpl com.cloud.bridge.service.EC2RestServlet.userDao;
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching
bean of type [com.cloud.bridge.persist.dao.CloudStackUserDaoImpl] found for dependency: expected
at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations:
{@javax.inject.Inject()}
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:506)
        at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
        ... 54 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean
of type [com.cloud.bridge.persist.dao.CloudStackUserDaoImpl] found for dependency: expected
at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations:
{@javax.inject.Inject()}
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:952)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:821)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:735)
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478)
        ... 56 more
2013-02-28 16:26:21.426:WARN::Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@18a0a8{/awsapi,file:/home/likitha/apache-repo/incubator-cloudstack/awsapi/target/generated-webapp/;jar:file:/home/likitha/.m2/repository/org/apache/axis2/axis2-webapp/1.5.6/axis2-webapp-1.5.6.war!/;}
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EC2RestServlet':
Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: com.cloud.bridge.persist.dao.CloudStackUserDaoImpl com.cloud.bridge.service.EC2RestServlet.userDao;
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching
bean of type [com.cloud.bridge.persist.dao.CloudStackUserDaoImpl] found for dependency: expected
at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations:
{@javax.inject.Inject()}
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message