Hi,
I tried deploying the cloud-client-ui-4.5.0-SNAPSHOT.war in Tomcat 6.0.33 but I
get this error now and I am not able to access the Management server WEB UI at
http://localhost:8080/client. Please help to resolve this issue in bringing up
management server.
Error:
2014-05-01 23:01:45 Commons Daemon procrun stdout initialized
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loading module
context [bootstrap] from URL
[jar:file:/C:/Tomcat%206.0/webapps/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/lib/cloud-core-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loading module
context [bootstrap] from URL
[jar:file:/C:/Tomcat%206.0/webapps/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/lib/cloud-core-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
INFO [c.c.u.LogUtils]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) log4j
configuration found at
C:\Tomcat%206.0\webapps\cloud-client-ui-4.5.0-SNAPSHOT\WEB-INF\classes\log4j-cloud.xml
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loaded module
context [bootstrap] in 320 ms
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
bootstrap
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
system
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
core
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
allocator
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
host-allocator-random
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
planner
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
api-planner
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
baremetal-planner
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
explicit-dedication
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
host-anti-affinity
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
implicit-dedication
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-planner
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
skip-heurestics
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
user-concentrated-pod
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-allocator
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
api
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
acl-static-role-based
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
iam-access-checkers
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
ldap
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
md5
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
plaintext
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
rate-limit
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-api
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
sha256salted
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
api-config
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
backend
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
compute
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
baremetal-compute
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
hyperv-compute
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
kvm-compute
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
ovm-compute
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-alert-adapter-compute
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-compute
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-fencer
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-investigator
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
xenserver-compute
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
network
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
baremetal-network
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
contrail
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
elb
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
midonet
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
netscaler
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
nvp
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
opendaylight
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
ovs
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
paloalto
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-network
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
ssp
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
vns
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
vxlan
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-alert-adapter-backend
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
storage
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
baremetal-storage
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-alert-adapter-storage
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-storage
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-template-adapter
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
storage-allocator
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
storage-image-default
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
storage-image-s3
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
storage-image-swift
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
storage-volume-cloudbyte
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
storage-volume-default
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
storage-volume-solidfire
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
discoverer
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
baremetal-discoverer
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
hyperv-discoverer
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
ovm-discoverer
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
secondary-storage-discoverer
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
server-discoverer
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Module Hierarchy:
xenserver-discoverer
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loading module
context [system] from URL
[jar:file:/C:/Tomcat%206.0/webapps/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/lib/cloud-core-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/system/spring-core-system-context.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loading module
context [system] from URL
[jar:file:/C:/Tomcat%206.0/webapps/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/lib/cloud-engine-schema-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/system/spring-engine-schema-system-checkers-context.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loading module
context [system] from URL
[jar:file:/C:/Tomcat%206.0/webapps/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/lib/cloud-framework-config-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/system/spring-framework-config-system-context.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loading module
context [system] from URL
[jar:file:/C:/Tomcat%206.0/webapps/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/lib/cloud-framework-db-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/system/spring-framework-db-system-context.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loading module
context [system] from URL
[jar:file:/C:/Tomcat%206.0/webapps/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/lib/cloud-server-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/system/spring-server-system-context.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loading module
context [system] from URL
[jar:file:/C:/Tomcat%206.0/webapps/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/lib/cloud-core-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/system/spring-core-system-context-inheritable.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loading module
context [system] from URL
[jar:file:/C:/Tomcat%206.0/webapps/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/lib/cloud-framework-config-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/system/spring-framework-config-system-context-inheritable.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loading module
context [system] from URL
[jar:file:/C:/Tomcat%206.0/webapps/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/lib/cloud-plugin-network-contrail-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/system/spring-contrail-system-context-inheritable.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Loading module
context [system] from URL
[jar:file:/C:/Tomcat%206.0/webapps/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/lib/cloud-core-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
INFO [c.c.u.d.T.Transaction]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Is Data Base High
Availiability enabled? Ans : false
ERROR [c.c.u.d.Merovingian2]
(ContainerBackgroundProcessor[StandardEngine[Catalina]]:null) Unable to get a
new db connection
java.sql.SQLException: No suitable driver found for
jdbc:mysql://localhost:3306/cloud?autoReconnect=true&prepStmtCacheSize=517&cachePrepStmts=true
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
at
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at
com.cloud.utils.db.TransactionLegacy.getStandaloneConnectionWithException(TransactionLegacy.java:205)
at com.cloud.utils.db.Merovingian2.<init>(Merovingian2.java:68)
at
com.cloud.utils.db.Merovingian2.createLockMaster(Merovingian2.java:80)
at
com.cloud.server.LockMasterListener.<init>(LockMasterListener.java:33)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:949)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:145)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet$2.with(DefaultModuleDefinitionSet.java:122)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:245)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:233)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContexts(DefaultModuleDefinitionSet.java:117)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.load(DefaultModuleDefinitionSet.java:79)
at
org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loadModules(ModuleBasedContextFactory.java:37)
at
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:70)
at
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:57)
at
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:61)
at
org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52)
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.deployWAR(HostConfig.java:943)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1385)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:306)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1389)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642)
at java.lang.Thread.run(Unknown Source)
Thanks & Regards,
Ritu S.
From: Ritu Sabharwal
Sent: Thursday, May 01, 2014 3:48 PM
To: '[email protected]'
Subject: Error while starting Management server
Hi,
I am new to the CloudStack development and trying to get the management server
up for testing.
I am following instruction from wiki page:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows
I got the latest code from git. I build, setup db and trying to jetty server on
Windows Server 2008.
But jetty server is not coming up.
I am getting following error:
[ERROR] Failed startup of context
org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@7160a9b9{/client,C:\cygwin\home\rsabharw\cloudstack-oss\cloudstack\client\target\generated-webapp}<mailto:org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@7160a9b9%7b/client,C:\cygwin\home\rsabharw\cloudstack-oss\cloudstack\client\target\generated-webapp%7d>
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'accountManagerImpl': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: private com.cloud.storage.dao.VMTemplateDao
com.cloud.user.AccountManagerImpl._templateDao; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'VMTemplateDaoImpl': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field:
org.apache.cloudstack.storage.datastore.db.TemplateDataStoreDao
com.cloud.storage.dao.VMTemplateDaoImpl._templateDataStoreDao; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'templateDataStoreDaoImpl': Injection of autowired dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private
org.apache.cloudstack.engine.subsystem.api.storage.DataStoreManager
org.apache.cloudstack.storage.image.db.TemplateDataStoreDaoImpl._storeMgr;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'dataStoreProviderManager': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: org.apache.cloudstack.storage.datastore.PrimaryDataStoreProviderManager
org.apache.cloudstack.storage.datastore.provider.DataStoreProviderManagerImpl.primaryDataStoreProviderMgr;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'primaryDataStoreProviderMgr': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: com.cloud.storage.StorageManager
org.apache.cloudstack.storage.datastore.manager.PrimaryDataStoreProviderManagerImpl.storageMgr;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'storageManagerImpl': Injection of autowired
dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: protected com.cloud.agent.AgentManager
com.cloud.storage.StorageManagerImpl._agentMgr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'clusteredAgentManagerImpl': Injection of autowired dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: protected com.cloud.ha.HighAvailabilityManager
com.cloud.agent.manager.AgentManagerImpl._haMgr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'highAvailabilityManagerExtImpl': Injection of autowired dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: com.cloud.alert.AlertManager
com.cloud.ha.HighAvailabilityManagerImpl._alertMgr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'alertManagerImpl': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: protected com.cloud.capacity.CapacityManager
com.cloud.alert.AlertManagerImpl._capacityMgr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'capacityManagerImpl': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: com.cloud.resource.ResourceManager
com.cloud.capacity.CapacityManagerImpl._resourceMgr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'resourceManagerImpl': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: private com.cloud.vm.VirtualMachineManager
com.cloud.resource.ResourceManagerImpl._vmMgr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'clusteredVirtualMachineManagerImpl': Injection of autowired
dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: protected
org.apache.cloudstack.engine.orchestration.service.NetworkOrchestrationService
com.cloud.vm.VirtualMachineManagerImpl._networkMgr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'networkOrchestrator': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: com.cloud.configuration.ConfigurationManager
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator._configMgr;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'configurationManagerImpl': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: com.cloud.network.NetworkService
com.cloud.configuration.ConfigurationManagerImpl._networkSvc; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'networkServiceImpl': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: com.cloud.network.rules.RulesManager
com.cloud.network.NetworkServiceImpl._rulesMgr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'rulesManagerImpl': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: com.cloud.network.IpAddressManager
com.cloud.network.rules.RulesManagerImpl._ipAddrMgr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'ipAddressManagerImpl': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: com.cloud.network.lb.LoadBalancingRulesManager
com.cloud.network.IpAddressManagerImpl._lbMgr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'loadBalancingRulesManagerImpl': Injection of autowired dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: com.cloud.network.NetworkModel
com.cloud.network.lb.LoadBalancingRulesManagerImpl._networkModel; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'networkModelImpl' defined in URL
[jar:file:/C:/Users/rsabharw/.m2/repository/org/apache/cloudstack/cloud-server/4.5.0-SNAPSHOT/cloud-server-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/core/spring-server-core-managers-context.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanExpressionException: Expression parsing
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'networkElementsRegistry' defined in URL
[jar:file:/C:/Users/rsabharw/.m2/repository/org/apache/cloudstack/cloud-core/4.5.0-SNAPSHOT/cloud-core-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/core/spring-core-registry-core-context.xml]:
Cannot resolve reference to bean 'VpcVirtualRouter' while setting bean
property 'preRegistered' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'VpcVirtualRouter': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field:
com.cloud.network.router.VpcVirtualNetworkApplianceManager
com.cloud.network.element.VirtualRouterElement._routerMgr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'vpcVirtualNetworkApplianceManagerImpl': Injection of autowired
dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: com.cloud.network.vpc.NetworkACLManager
com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl._networkACLMgr;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'networkACLManagerImpl': Injection of autowired
dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: com.cloud.network.vpc.NetworkACLItemDao
com.cloud.network.vpc.NetworkACLManagerImpl._networkACLItemDao; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'networkACLItemDaoImpl': Injection of autowired
dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: protected com.cloud.network.vpc.NetworkACLItemCidrsDao
com.cloud.network.vpc.dao.NetworkACLItemDaoImpl._networkACLItemCidrsDao; nested
exception is org.springframework.beans.factory.NoSuchBeanDefinitionException:
No qualifying bean of type [com.cloud.network.vpc.NetworkACLItemCidrsDao] found
for dependency: expected at least 1 bean which qualifies as autowire candidate
for this dependency. Dependency annotations:
{@javax.inject.Inject()}<mailto:%[email protected]()%7d>
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1116)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:145)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet$2.with(DefaultModuleDefinitionSet.java:122)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:245)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:233)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContexts(DefaultModuleDefinitionSet.java:117)
at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.load(DefaultModuleDefinitionSet.java:79)
at
org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loadModules(ModuleBasedContextFactory.java:37)
at
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:70)
at
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:57)
at
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:61)
at
org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
at
org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)
at
org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)
at
org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Please provide help to get the server up.
Thanks & Regards,
Ritu S.