[jira] [Commented] (CLOUDSTACK-7464) Management Server setup doesn't proceed to completion on RHEL7
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117959#comment-14117959 ] John Dilley commented on CLOUDSTACK-7464: - This has nothing to do with RHEL7 - see duplicate bug https://issues.apache.org/jira/browse/CLOUDSTACK-7465 which was tested on RHEL 6.3 The management server fails to start in our deployment, we get the following exception in the log file: {noformat} Sep 02, 2014 3:22:21 AM org.apache.catalina.core.ApplicationContext log INFO: Set web app root system property: 'webapp.root' = [/usr/share/cloudstack-management/webapps/client/] Sep 02, 2014 3:22:21 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing log4j from [classpath:log4j-cloud.xml] Sep 02, 2014 3:22:33 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line -1 in XML document from URL [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-server-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/core/spring-event-bus-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; Premature end of file. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:123) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451) 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.(CloudStackSpringContext.java:57) at org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.(CloudStackSpringContext.java:61) at org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52) 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(HostConfi
[jira] [Commented] (CLOUDSTACK-7464) Management Server setup doesn't proceed to completion
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117963#comment-14117963 ] Damodar Reddy T commented on CLOUDSTACK-7464: - yeah it does not like empty xml file.. I have tested just now.. and will be uploading patch soon.. > Management Server setup doesn't proceed to completion > - > > Key: CLOUDSTACK-7464 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7464 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.5.0 >Reporter: Pavan Kumar Bandarupally >Priority: Blocker > Fix For: 4.5.0 > > Attachments: catalina.out, localhost.2014-09-02.log, > management-server.log, setupManagement.log > > > After installation of management server, and database schema update, the > setup is stuck at a point and doesn't proceed further. User will not be able > to access the MS URL. The server is listening on port 8080 but a connection > won't establish. The traces show that it is stuck at a point in the setup. > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_aeac22f4 > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_958692e5 > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_90d5183f > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_e8137795 > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_1344120a -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CLOUDSTACK-7464) Management Server setup doesn't proceed to completion on RHEL7
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117961#comment-14117961 ] John Dilley commented on CLOUDSTACK-7464: - My guess from the exception is that it doesn't like the (effectively) empty XML file added by the commit. I'll see if I can test that. > Management Server setup doesn't proceed to completion on RHEL7 > -- > > Key: CLOUDSTACK-7464 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7464 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.5.0 >Reporter: Pavan Kumar Bandarupally >Priority: Blocker > Fix For: 4.5.0 > > Attachments: catalina.out, localhost.2014-09-02.log, > management-server.log, setupManagement.log > > > After installation of management server, and database schema update, the > setup is stuck at a point and doesn't proceed further. User will not be able > to access the MS URL. The server is listening on port 8080 but a connection > won't establish. The traces show that it is stuck at a point in the setup. > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_aeac22f4 > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_958692e5 > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_90d5183f > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_e8137795 > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_1344120a -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CLOUDSTACK-7464) Management Server setup doesn't proceed to completion on RHEL7
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117947#comment-14117947 ] Damodar Reddy T commented on CLOUDSTACK-7464: - I think we need localhost.--.log logs to find the actual Exception in this case as these logs are not having any relevant Errors in it. > Management Server setup doesn't proceed to completion on RHEL7 > -- > > Key: CLOUDSTACK-7464 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7464 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.5.0 >Reporter: Pavan Kumar Bandarupally >Priority: Blocker > Fix For: 4.5.0 > > Attachments: catalina.out, management-server.log, setupManagement.log > > > After installation of management server, and database schema update, the > setup is stuck at a point and doesn't proceed further. User will not be able > to access the MS URL. The server is listening on port 8080 but a connection > won't establish. The traces show that it is stuck at a point in the setup. > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_aeac22f4 > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_958692e5 > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_90d5183f > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_e8137795 > 2014-09-02 11:17:46,341 INFO [c.c.u.c.ComponentContext] > (localhost-startStop-1:null) Starting > com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_1344120a -- This message was sent by Atlassian JIRA (v6.3.4#6332)