cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kelven Yang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-1825) EC2 REST API: AWS APIs fail to execute due to BeanCreationException: Error creating bean with name 'SAclDaoImpl'
Date Wed, 27 Mar 2013 21:59:15 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kelven Yang resolved CLOUDSTACK-1825.
-------------------------------------

    Resolution: Fixed

Patch has been submitted
                
> EC2 REST API: AWS APIs fail to execute due to BeanCreationException: Error creating bean
with name 'SAclDaoImpl'
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1825
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1825
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.1.0
>            Reporter: Chandan Purushothama
>            Assignee: Kelven Yang
>            Priority: Blocker
>             Fix For: 4.1.0
>
>         Attachments: catalina.zip
>
>
> ===========
> Observations:
> ===========
> *Snippet from Catalina.out*
> Mar 27, 2013 5:13:13 PM org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
> INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@17cb5cfc:
defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,SAclDaoImpl,bucketPolicyDaoImpl,MHostMountDaoImpl,SHostDaoImpl,SObjectDaoImpl,SBucketDaoImpl,multiPartPartsDaoImpl,multipartMetaDaoImpl,SObjectItemDaoImpl,cloudStackSvcOfferingDaoImpl,cloudStackAccountDaoImpl,userCredentialsDaoImpl,multiPartUploadsDaoImpl,cloudStackUserDaoImpl,offeringDaoImpl,cloudStackConfigurationDaoImpl,SMetaDaoImpl,MHostDaoImpl,EC2RestServlet,s3Engine,EC2Engine,serviceProvider,EC2MainServlet,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
> Mar 27, 2013 5:13:13 PM org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
destroySingletons
> INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@17cb5cfc:
defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,SAclDaoImpl,bucketPolicyDaoImpl,MHostMountDaoImpl,SHostDaoImpl,SObjectDaoImpl,SBucketDaoImpl,multiPartPartsDaoImpl,multipartMetaDaoImpl,SObjectItemDaoImpl,cloudStackSvcOfferingDaoImpl,cloudStackAccountDaoImpl,userCredentialsDaoImpl,multiPartUploadsDaoImpl,cloudStackUserDaoImpl,offeringDaoImpl,cloudStackConfigurationDaoImpl,SMetaDaoImpl,MHostDaoImpl,EC2RestServlet,s3Engine,EC2Engine,serviceProvider,EC2MainServlet,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
> Mar 27, 2013 5:13:13 PM org.springframework.web.context.ContextLoader initWebApplicationContext
> SEVERE: Context initialization failed
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'SAclDaoImpl' defined in file [/usr/share/cloudstack-bridge/webapps/awsapi/WEB-INF/classes/com/cloud/bridge/persist/dao/SAclDaoImpl.class]:
BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0':
Cannot create inner bean '(inner bean)' of type [org.springframework.aop.aspectj.AspectJAroundAdvice]
while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type
[org.springframework.aop.config.MethodLocatingFactoryBean] while setting constructor argument;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name '(inner bean)': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException:
Unable to locate method [AroundAnyMethod] on bean [transactionContextBuilder]
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:452)
>         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)
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
>         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
>         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
>         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:616)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0': Cannot create inner
bean '(inner bean)' of type [org.springframework.aop.aspectj.AspectJAroundAdvice] while setting
constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type
[org.springframework.aop.config.MethodLocatingFactoryBean] while setting constructor argument;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name '(inner bean)': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException:
Unable to locate method [AroundAnyMethod] on bean [transactionContextBuilder]
> .
> .
> .
> =========
> Bug Impact:
> =========
> EC2 REST API Feature is blocked

--
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