cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "terryye (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2218) [web.context.ContextLoader] (main:null) Context initialization failed
Date Fri, 03 May 2013 01:27:13 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648096#comment-13648096
] 

terryye commented on CLOUDSTACK-2218:
-------------------------------------

I am build the head branch of 4.1 and install it on the ubuntu 12.04 using apt-get .

cloudstack-setup-databases cloud:cloud@localhost --deploy-as=root:cloud , this order is right.
cloudstack-setup-management 
The manager service can not start . Appeared above the error log
 cat /var/log/cloudstack/management/management-server.log 
2013-05-03 09:16:06,065 INFO  [web.context.ContextLoader] (main:null) Root WebApplicationContext:
initialization started
2013-05-03 09:16:06,183 INFO  [context.support.XmlWebApplicationContext] (main:null) Refreshing
Root WebApplicationContext: startup date [Fri May 03 09:16:06 CST 2013]; root of context hierarchy
2013-05-03 09:16:06,273 INFO  [factory.xml.XmlBeanDefinitionReader] (main:null) Loading XML
bean definitions from class path resource [applicationContext.xml]
2013-05-03 09:16:06,637 INFO  [context.annotation.ClassPathBeanDefinitionScanner] (main:null)
JSR-330 'javax.inject.Named' annotation found and supported for component scanning
2013-05-03 09:16:08,429 INFO  [factory.support.DefaultListableBeanFactory] (main:null) Overriding
bean definition for bean 'componentContext': replacing [Generic bean: class [com.cloud.utils.component.ComponentContext];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in URL [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-utils-4.1.0-SNAPSHOT.jar!/com/cloud/utils/component/ComponentContext.class]]
with [Generic bean: class [com.cloud.utils.component.ComponentContext]; scope=; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [applicationContext.xml]]
2013-05-03 09:16:08,434 INFO  [factory.xml.XmlBeanDefinitionReader] (main:null) Loading XML
bean definitions from class path resource [componentContext.xml]
2013-05-03 09:16:08,473 INFO  [factory.support.DefaultListableBeanFactory] (main:null) Overriding
bean definition for bean 'configurationDaoImpl': replacing [Generic bean: class [com.cloud.configuration.dao.ConfigurationDaoImpl];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in URL [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-server-4.1.0-SNAPSHOT.jar!/com/cloud/configuration/dao/ConfigurationDaoImpl.class]]
with [Generic bean: class [com.cloud.configuration.dao.ConfigurationDaoImpl]; scope=; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [componentContext.xml]]
2013-05-03 09:16:08,474 INFO  [factory.support.DefaultListableBeanFactory] (main:null) Overriding
bean definition for bean 'niciraNvpDaoImpl': replacing [Generic bean: class [com.cloud.network.dao.NiciraNvpDaoImpl];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in URL [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-network-nvp-4.1.0-SNAPSHOT.jar!/com/cloud/network/dao/NiciraNvpDaoImpl.class]]
with [Generic bean: class [com.cloud.network.dao.NiciraNvpDaoImpl]; scope=; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [componentContext.xml]]
2013-05-03 09:16:08,474 INFO  [factory.support.DefaultListableBeanFactory] (main:null) Overriding
bean definition for bean 'niciraNvpNicMappingDaoImpl': replacing [Generic bean: class [com.cloud.network.dao.NiciraNvpNicMappingDaoImpl];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in URL [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-network-nvp-4.1.0-SNAPSHOT.jar!/com/cloud/network/dao/NiciraNvpNicMappingDaoImpl.class]]
with [Generic bean: class [com.cloud.network.dao.NiciraNvpNicMappingDaoImpl]; scope=; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [componentContext.xml]]
2013-05-03 09:16:08,475 INFO  [factory.support.DefaultListableBeanFactory] (main:null) Overriding
bean definition for bean 'niciraNvpRouterMappingDaoImpl': replacing [Generic bean: class [com.cloud.network.dao.NiciraNvpRouterMappingDaoImpl];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in URL [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-network-nvp-4.1.0-SNAPSHOT.jar!/com/cloud/network/dao/NiciraNvpRouterMappingDaoImpl.class]]
with [Generic bean: class [com.cloud.network.dao.NiciraNvpRouterMappingDaoImpl]; scope=; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [componentContext.xml]]
2013-05-03 09:16:09,575 INFO  [factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:null)
JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2013-05-03 09:16:09,619 INFO  [context.support.XmlWebApplicationContext] (main:null) Bean
'transactionContextBuilder' of type [class com.cloud.utils.db.TransactionContextBuilder] is
not eligible for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
2013-05-03 09:16:09,666 INFO  [factory.support.DefaultListableBeanFactory] (main:null) Pre-instantiating
singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@11767553:
defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,userContextInitializer,eventDaoImpl,usageEventDaoImpl,randomAllocator,elasticLoadBalancerElement,elasticLoadBalancerManagerImpl,elasticLbVmMapDaoImpl,niciraNvpDaoImpl,niciraNvpRouterMappingDaoImpl,niciraNvpNicMappingDaoImpl,niciraNvpElement,ovsGuestNetworkGuru,ovsTunnelManagerImpl,ovsTunnelNetworkDaoImpl,ovsTunnelInterfaceDaoImpl,bigSwitchVnsDaoImpl,bigSwitchVnsElement,randomStoragePoolAllocator,registerCompleteServlet,consoleServlet,serviceOfferingDaoImpl,certificateDaoImpl,clusterAlertAdapter,secondaryStorageVmAlertAdapter,alertDaoImpl,consoleProxyAlertAdapter,alertManagerImpl,keystoreManagerImpl,keystoreDaoImpl,databaseIntegrityChecker,versionDaoImpl,projectAccountDaoImpl,projectInvitationDaoImpl,projectDaoImpl,projectManagerImpl,domainChecker,hyervisorTemplateAdapter,templateManagerImpl,statsCollector,configurationServerImpl,resourceLimitManagerImpl,recreatableFencer,highAvailabilityDaoImpl,site2SiteVpnManagerImpl,remoteAccessVpnManagerImpl,networkServiceImpl,externalLoadBalancerUsageManagerImpl,vpcManagerImpl,networkACLManagerImpl,vpcOfferingServiceMapDaoImpl,vpcOfferingDaoImpl,vpcDaoImpl,staticRouteDaoImpl,privateIpDaoImpl,vpcGatewayDaoImpl,physicalNetworkServiceProviderDaoImpl,firewallRulesCidrsDaoImpl,userIpv6AddressDaoImpl,networkServiceMapDaoImpl,remoteAccessVpnDaoImpl,externalFirewallDeviceDaoImpl,networkOpDaoImpl,physicalNetworkIsolationMethodDaoImpl,networkRuleConfigDaoImpl,IPAddressDaoImpl,physicalNetworkDaoImpl,virtualRouterProviderDaoImpl,LBStickinessPolicyDaoImpl,networkDaoImpl,firewallRulesDaoImpl,routerNetworkDaoImpl,physicalNetworkTrafficTypeDaoImpl,externalLoadBalancerDeviceDaoImpl,inlineLoadBalancerNicMapDaoImpl,site2SiteVpnConnectionDaoImpl,networkAccountDaoImpl,site2SiteCustomerGatewayDaoImpl,physicalNetworkTagDaoImpl,networkDomainDaoImpl,loadBalancerDaoImpl,portProfileDaoImpl,networkExternalFirewallDaoImpl,site2SiteVpnGatewayDaoImpl,loadBalancerVMMapDaoImpl,vpnUserDaoImpl,networkExternalLoadBalancerDaoImpl,vmRulesetLogDaoImpl,securityGroupWorkDaoImpl,securityGroupRulesDaoImpl,securityGroupVMMapDaoImpl,securityGroupRuleDaoImpl,securityGroupDaoImpl,portForwardingRulesDaoImpl,rulesManagerImpl,firewallManagerImpl,storageNetworkManagerImpl,networkManagerImpl,autoScaleManagerImpl,autoScalePolicyDaoImpl,autoScaleVmGroupDaoImpl,counterDaoImpl,autoScaleVmProfileDaoImpl,autoScaleVmGroupPolicyMapDaoImpl,conditionDaoImpl,autoScalePolicyConditionMapDaoImpl,externalNetworkDeviceManagerImpl,loadBalancingRulesManagerImpl,vpcVirtualNetworkApplianceManagerImpl,virtualNetworkApplianceManagerImpl,networkUsageManagerImpl,networkModelImpl,capacityManagerImpl,capacityDaoImpl,entityManagerImpl,accountDetailsDaoImpl,SSHKeyPairDaoImpl,userAccountDaoImpl,userDaoImpl,userStatsLogDaoImpl,accountDaoImpl,userStatisticsDaoImpl,domainManagerImpl,accountManagerImpl,hypervisorGuruManagerImpl,hypervisorCapabilitiesDaoImpl,cloudZonesStartupProcessor,identityDaoImpl,identityServiceImpl,usageServiceImpl,usageVolumeDaoImpl,usageNetworkOfferingDaoImpl,usageVPNUserDaoImpl,usageIPAddressDaoImpl,usageStorageDaoImpl,usageSecurityGroupDaoImpl,usageDaoImpl,usagePortForwardingRuleDaoImpl,usageNetworkDaoImpl,externalPublicIpStatisticsDaoImpl,usageLoadBalancerPolicyDaoImpl,usageVMInstanceDaoImpl,usageJobDaoImpl,instanceGroupVMMapDaoImpl,userVmDetailsDaoImpl,domainRouterDaoImpl,VMInstanceDaoImpl,consoleProxyDaoImpl,nicDaoImpl,secondaryStorageVmDaoImpl,instanceGroupDaoImpl,itWorkDaoImpl,networkOfferingServiceMapDaoImpl,networkOfferingDaoImpl,apiDispatcher,apiDBUtils,apiServlet,apiResponseHelper,apiServer,queryManagerImpl,projectInvitationJoinDaoImpl,userAccountJoinDaoImpl,storagePoolJoinDaoImpl,resourceTagJoinDaoImpl,domainRouterJoinDaoImpl,projectAccountJoinDaoImpl,projectJoinDaoImpl,instanceGroupJoinDaoImpl,userVmJoinDaoImpl,dataCenterJoinDaoImpl,asyncJobJoinDaoImpl,securityGroupJoinDaoImpl,serviceOfferingJoinDaoImpl,accountJoinDaoImpl,diskOfferingJoinDaoImpl,hostJoinDaoImpl,volumeJoinDaoImpl,asyncJobDaoImpl,syncQueueDaoImpl,syncQueueItemDaoImpl,asyncJobManagerImpl,asyncJobExecutorContextImpl,syncQueueManagerImpl,dummyHostDiscoverer,resourceManagerImpl,commandExecLogDaoImpl,upgradeManagerImpl,agentUpgradeDaoImpl,useLocalForRootAllocator,garbageCollectingStoragePoolAllocator,snapshotManagerImpl,snapshotSchedulerImpl,s3ManagerImpl,swiftManagerImpl,VMTemplateS3DaoImpl,guestOSCategoryDaoImpl,VMTemplateSwiftDaoImpl,VMTemplateZoneDaoImpl,volumeHostDaoImpl,diskOfferingDaoImpl,storagePoolHostDaoImpl,launchPermissionDaoImpl,storagePoolDetailsDaoImpl,guestOSDaoImpl,VMTemplateDetailsDaoImpl,swiftDaoImpl,volumeDaoImpl,storagePoolWorkDaoImpl,uploadDaoImpl,VMTemplateHostDaoImpl,storagePoolDaoImpl,snapshotDaoImpl,VMTemplateDaoImpl,VMTemplatePoolDaoImpl,snapshotScheduleDaoImpl,s3DaoImpl,snapshotPolicyDaoImpl,OCFS2ManagerImpl,storageManagerImpl,downloadMonitorImpl,secondaryStorageVmDefaultAllocator,uploadMonitorImpl,domainDaoImpl,clusterVSMMapDaoImpl,storageNetworkIpRangeDaoImpl,dcDetailsDaoImpl,dataCenterLinkLocalIpAddressDaoImpl,hostPodDaoImpl,podVlanMapDaoImpl,dataCenterIpAddressDaoImpl,accountVlanMapDaoImpl,dataCenterDaoImpl,podVlanDaoImpl,clusterDaoImpl,storageNetworkIpAddressDaoImpl,dataCenterVnetDaoImpl,vlanDaoImpl,clusterDetailsDaoImpl,hostTagsDaoImpl,hostDaoImpl,hostDetailsDaoImpl,managementServerNode,clusterServiceServletAdapter,stackMaidDaoImpl,managementServerHostPeerDaoImpl,managementServerHostDaoImpl,clusterFenceManagerImpl,clusterBasedAgentLoadBalancerPlanner,hostTransferMapDaoImpl,recreateHostAllocator,testingAllocator,firstFitAllocator,agentMonitor,basicAgentAuthManager,resourceCountDaoImpl,resourceLimitDaoImpl,configurationDaoImpl,configurationManagerImpl,taggedResourceManagerImpl,resourceTagsDaoImpl,actionEventUtils,eventJoinDaoImpl,alertGenerator,eventUtils,usageEventUtils,componentContext,transactionContextBuilder,instantiatePostProcessor,databaseUpgradeChecker,NiciraNvpGuestNetworkGuru,NiciraNvp,userAuthenticators,securityCheckers,resourceDiscoverers,haInvestigators,haFenceBuilders,deploymentPlanners,podAllocators,hostAllocators,storagePoolAllocators,ipDeployers,dhcpProviders,networkGurus,networkElements,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0];
root of factory hierarchy
2013-05-03 09:16:09,949 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:null) Encryption
Type: file
2013-05-03 09:16:10,914 INFO  [factory.support.DefaultListableBeanFactory] (main:null) Destroying
singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@11767553:
defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,userContextInitializer,eventDaoImpl,usageEventDaoImpl,randomAllocator,elasticLoadBalancerElement,elasticLoadBalancerManagerImpl,elasticLbVmMapDaoImpl,niciraNvpDaoImpl,niciraNvpRouterMappingDaoImpl,niciraNvpNicMappingDaoImpl,niciraNvpElement,ovsGuestNetworkGuru,ovsTunnelManagerImpl,ovsTunnelNetworkDaoImpl,ovsTunnelInterfaceDaoImpl,bigSwitchVnsDaoImpl,bigSwitchVnsElement,randomStoragePoolAllocator,registerCompleteServlet,consoleServlet,serviceOfferingDaoImpl,certificateDaoImpl,clusterAlertAdapter,secondaryStorageVmAlertAdapter,alertDaoImpl,consoleProxyAlertAdapter,alertManagerImpl,keystoreManagerImpl,keystoreDaoImpl,databaseIntegrityChecker,versionDaoImpl,projectAccountDaoImpl,projectInvitationDaoImpl,projectDaoImpl,projectManagerImpl,domainChecker,hyervisorTemplateAdapter,templateManagerImpl,statsCollector,configurationServerImpl,resourceLimitManagerImpl,recreatableFencer,highAvailabilityDaoImpl,site2SiteVpnManagerImpl,remoteAccessVpnManagerImpl,networkServiceImpl,externalLoadBalancerUsageManagerImpl,vpcManagerImpl,networkACLManagerImpl,vpcOfferingServiceMapDaoImpl,vpcOfferingDaoImpl,vpcDaoImpl,staticRouteDaoImpl,privateIpDaoImpl,vpcGatewayDaoImpl,physicalNetworkServiceProviderDaoImpl,firewallRulesCidrsDaoImpl,userIpv6AddressDaoImpl,networkServiceMapDaoImpl,remoteAccessVpnDaoImpl,externalFirewallDeviceDaoImpl,networkOpDaoImpl,physicalNetworkIsolationMethodDaoImpl,networkRuleConfigDaoImpl,IPAddressDaoImpl,physicalNetworkDaoImpl,virtualRouterProviderDaoImpl,LBStickinessPolicyDaoImpl,networkDaoImpl,firewallRulesDaoImpl,routerNetworkDaoImpl,physicalNetworkTrafficTypeDaoImpl,externalLoadBalancerDeviceDaoImpl,inlineLoadBalancerNicMapDaoImpl,site2SiteVpnConnectionDaoImpl,networkAccountDaoImpl,site2SiteCustomerGatewayDaoImpl,physicalNetworkTagDaoImpl,networkDomainDaoImpl,loadBalancerDaoImpl,portProfileDaoImpl,networkExternalFirewallDaoImpl,site2SiteVpnGatewayDaoImpl,loadBalancerVMMapDaoImpl,vpnUserDaoImpl,networkExternalLoadBalancerDaoImpl,vmRulesetLogDaoImpl,securityGroupWorkDaoImpl,securityGroupRulesDaoImpl,securityGroupVMMapDaoImpl,securityGroupRuleDaoImpl,securityGroupDaoImpl,portForwardingRulesDaoImpl,rulesManagerImpl,firewallManagerImpl,storageNetworkManagerImpl,networkManagerImpl,autoScaleManagerImpl,autoScalePolicyDaoImpl,autoScaleVmGroupDaoImpl,counterDaoImpl,autoScaleVmProfileDaoImpl,autoScaleVmGroupPolicyMapDaoImpl,conditionDaoImpl,autoScalePolicyConditionMapDaoImpl,externalNetworkDeviceManagerImpl,loadBalancingRulesManagerImpl,vpcVirtualNetworkApplianceManagerImpl,virtualNetworkApplianceManagerImpl,networkUsageManagerImpl,networkModelImpl,capacityManagerImpl,capacityDaoImpl,entityManagerImpl,accountDetailsDaoImpl,SSHKeyPairDaoImpl,userAccountDaoImpl,userDaoImpl,userStatsLogDaoImpl,accountDaoImpl,userStatisticsDaoImpl,domainManagerImpl,accountManagerImpl,hypervisorGuruManagerImpl,hypervisorCapabilitiesDaoImpl,cloudZonesStartupProcessor,identityDaoImpl,identityServiceImpl,usageServiceImpl,usageVolumeDaoImpl,usageNetworkOfferingDaoImpl,usageVPNUserDaoImpl,usageIPAddressDaoImpl,usageStorageDaoImpl,usageSecurityGroupDaoImpl,usageDaoImpl,usagePortForwardingRuleDaoImpl,usageNetworkDaoImpl,externalPublicIpStatisticsDaoImpl,usageLoadBalancerPolicyDaoImpl,usageVMInstanceDaoImpl,usageJobDaoImpl,instanceGroupVMMapDaoImpl,userVmDetailsDaoImpl,domainRouterDaoImpl,VMInstanceDaoImpl,consoleProxyDaoImpl,nicDaoImpl,secondaryStorageVmDaoImpl,instanceGroupDaoImpl,itWorkDaoImpl,networkOfferingServiceMapDaoImpl,networkOfferingDaoImpl,apiDispatcher,apiDBUtils,apiServlet,apiResponseHelper,apiServer,queryManagerImpl,projectInvitationJoinDaoImpl,userAccountJoinDaoImpl,storagePoolJoinDaoImpl,resourceTagJoinDaoImpl,domainRouterJoinDaoImpl,projectAccountJoinDaoImpl,projectJoinDaoImpl,instanceGroupJoinDaoImpl,userVmJoinDaoImpl,dataCenterJoinDaoImpl,asyncJobJoinDaoImpl,securityGroupJoinDaoImpl,serviceOfferingJoinDaoImpl,accountJoinDaoImpl,diskOfferingJoinDaoImpl,hostJoinDaoImpl,volumeJoinDaoImpl,asyncJobDaoImpl,syncQueueDaoImpl,syncQueueItemDaoImpl,asyncJobManagerImpl,asyncJobExecutorContextImpl,syncQueueManagerImpl,dummyHostDiscoverer,resourceManagerImpl,commandExecLogDaoImpl,upgradeManagerImpl,agentUpgradeDaoImpl,useLocalForRootAllocator,garbageCollectingStoragePoolAllocator,snapshotManagerImpl,snapshotSchedulerImpl,s3ManagerImpl,swiftManagerImpl,VMTemplateS3DaoImpl,guestOSCategoryDaoImpl,VMTemplateSwiftDaoImpl,VMTemplateZoneDaoImpl,volumeHostDaoImpl,diskOfferingDaoImpl,storagePoolHostDaoImpl,launchPermissionDaoImpl,storagePoolDetailsDaoImpl,guestOSDaoImpl,VMTemplateDetailsDaoImpl,swiftDaoImpl,volumeDaoImpl,storagePoolWorkDaoImpl,uploadDaoImpl,VMTemplateHostDaoImpl,storagePoolDaoImpl,snapshotDaoImpl,VMTemplateDaoImpl,VMTemplatePoolDaoImpl,snapshotScheduleDaoImpl,s3DaoImpl,snapshotPolicyDaoImpl,OCFS2ManagerImpl,storageManagerImpl,downloadMonitorImpl,secondaryStorageVmDefaultAllocator,uploadMonitorImpl,domainDaoImpl,clusterVSMMapDaoImpl,storageNetworkIpRangeDaoImpl,dcDetailsDaoImpl,dataCenterLinkLocalIpAddressDaoImpl,hostPodDaoImpl,podVlanMapDaoImpl,dataCenterIpAddressDaoImpl,accountVlanMapDaoImpl,dataCenterDaoImpl,podVlanDaoImpl,clusterDaoImpl,storageNetworkIpAddressDaoImpl,dataCenterVnetDaoImpl,vlanDaoImpl,clusterDetailsDaoImpl,hostTagsDaoImpl,hostDaoImpl,hostDetailsDaoImpl,managementServerNode,clusterServiceServletAdapter,stackMaidDaoImpl,managementServerHostPeerDaoImpl,managementServerHostDaoImpl,clusterFenceManagerImpl,clusterBasedAgentLoadBalancerPlanner,hostTransferMapDaoImpl,recreateHostAllocator,testingAllocator,firstFitAllocator,agentMonitor,basicAgentAuthManager,resourceCountDaoImpl,resourceLimitDaoImpl,configurationDaoImpl,configurationManagerImpl,taggedResourceManagerImpl,resourceTagsDaoImpl,actionEventUtils,eventJoinDaoImpl,alertGenerator,eventUtils,usageEventUtils,componentContext,transactionContextBuilder,instantiatePostProcessor,databaseUpgradeChecker,NiciraNvpGuestNetworkGuru,NiciraNvp,userAuthenticators,securityCheckers,resourceDiscoverers,haInvestigators,haFenceBuilders,deploymentPlanners,podAllocators,hostAllocators,storagePoolAllocators,ipDeployers,dhcpProviders,networkGurus,networkElements,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0];
root of factory hierarchy
2013-05-03 09:16:10,916 ERROR [web.context.ContextLoader] (main:null) Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'consoleServlet':
Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: com.cloud.vm.VirtualMachineManager com.cloud.servlet.ConsoleProxyServlet._vmMgr;
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching
bean of type [com.cloud.vm.VirtualMachineManager] 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)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        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 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.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field:
com.cloud.vm.VirtualMachineManager com.cloud.servlet.ConsoleProxyServlet._vmMgr; nested exception
is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type
[com.cloud.vm.VirtualMachineManager] 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)
        ... 41 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean
of type [com.cloud.vm.VirtualMachineManager] 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)
        ... 43 more

                
>  [web.context.ContextLoader] (main:null) Context initialization failed
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2218
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2218
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Install and Setup
>    Affects Versions: 4.1.0
>         Environment: ubuntu 12.04,kvm
>            Reporter: terryye
>            Priority: Critical
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 2013-04-27 09:02:29,097 ERROR [web.context.ContextLoader] (main:null) Context initialization
failed
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'consoleServlet': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: com.cloud.vm.VirtualMachineManager com.cloud.servlet.ConsoleProxyServlet._vmMgr;
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching
bean of type [com.cloud.vm.VirtualMachineManager] 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)
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
>         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:525)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>         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 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.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)
> Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire
field: com.cloud.vm.VirtualMachineManager com.cloud.servlet.ConsoleProxyServlet._vmMgr; nested
exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching
bean of type [com.cloud.vm.VirtualMachineManager] 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)
>         ... 41 more
> Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching
bean of type [com.cloud.vm.VirtualMachineManager] 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)
>         ... 43 more

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