Hi Wido Thanks a lot for your response. I happened to have a i686 Centos host, hence the question. Let me upgrade the server to x86_64 and give it a try.
Thanks Prabhakar On 1/21/14 2:38 PM, "Wido den Hollander" <w...@widodh.nl> wrote: > > >On 01/21/2014 11:31 PM, Prabhakaran Ganesan wrote: >> Hi >> >> Does 4.3 support Centos i686? I am able to download and build the >>source on my Centos host (32-bit). But I get the following Java >>exception when I try to start the management server. Is the problem with >>Java or is it some 64-bit dependency? >> > >Well, I think it should. The JVM should take care of the 32-bit/64-bit >stuff, but my question is: Why still 32-bit? > >I really don't see a memory related problem here, but you never know if >the 4GB memory limit is a problem. I've never run CS under i686. > >Wido > >> Thanks >> Prabhakar >> >> INFO [c.c.s.GsonHelper] (main:null) Default Builder inited. >> INFO [c.c.u.c.ComponentContext] (main:null) Setup Spring Application >>context >> INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Running >>system integrity checker >>com.cloud.upgrade.DatabaseIntegrityChecker@1344568 >> INFO [c.c.u.DatabaseIntegrityChecker] (main:null) Grabbing lock to >>check for database integrity. >> INFO [c.c.u.DatabaseIntegrityChecker] (main:null) Performing database >>integrity check >> INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Running >>system integrity checker >>org.apache.cloudstack.utils.identity.ManagementServerNode@4a3e92 >> INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Configuring >>CloudStack Components >> 2014-01-21 09:27:07.585:WARN::Failed startup of context >>org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@b71be{/client,/root/cl >>oudstack/client/target/generated-webapp} >> org.springframework.context.ApplicationContextException: Failed to >>start bean 'cloudStackLifeCycle'; nested exception is >>net.sf.ehcache.CacheException: Unable to create >>CacheManagerPeerListener. Initial cause was >>sdk-vee-appliance-2.englab.juniper.net: >>sdk-vee-appliance-2.englab.juniper.net >> at >>org.springframework.context.support.DefaultLifecycleProcessor.doStart(Def >>aultLifecycleProcessor.java:170) >> at >>org.springframework.context.support.DefaultLifecycleProcessor.access$200( >>DefaultLifecycleProcessor.java:51) >> at >>org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGr >>oup.start(DefaultLifecycleProcessor.java:339) >> at >>org.springframework.context.support.DefaultLifecycleProcessor.startBeans( >>DefaultLifecycleProcessor.java:143) >> at >>org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(D >>efaultLifecycleProcessor.java:108) >> at >>org.springframework.context.support.AbstractApplicationContext.finishRefr >>esh(AbstractApplicationContext.java:945) >> at >>org.springframework.context.support.AbstractApplicationContext.refresh(Ab >>stractApplicationContext.java:482) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.loadContext(DefaultModuleDefinitionSet.java:141) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>$2.with(DefaultModuleDefinitionSet.java:119) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.withModule(DefaultModuleDefinitionSet.java:239) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.withModule(DefaultModuleDefinitionSet.java:244) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.withModule(DefaultModuleDefinitionSet.java:244) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.withModule(DefaultModuleDefinitionSet.java:227) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.loadContexts(DefaultModuleDefinitionSet.java:115) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.load(DefaultModuleDefinitionSet.java:78) >> at >>org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loa >>dModules(ModuleBasedContextFactory.java:37) >> at >>org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init( >>CloudStackSpringContext.java:69) >> at >>org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init >>>(CloudStackSpringContext.java:56) >> at >>org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init >>>(CloudStackSpringContext.java:60) >> at >>org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.c >>ontextInitialized(CloudStackContextLoaderListener.java:51) >> 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:12 >>82) >> 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(Jetty6PluginWe >>bAppContext.java:115) >> at >>org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) >> at >>org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.jav >>a:152) >> at >>org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandler >>Collection.java:156) >> at >>org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) >> at >>org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.jav >>a: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.j >>ava:454) >> at >>org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java >>:396) >> at >>org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMoj >>o.java:210) >> at >>org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184) >> at >>org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuil >>dPluginManager.java:101) >> at >>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav >>a:209) >> at >>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav >>a:153) >> at >>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav >>a:145) >> at >>org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L >>ifecycleModuleBuilder.java:84) >> at >>org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L >>ifecycleModuleBuilder.java:59) >> at >>org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild( >>LifecycleStarter.java:183) >> at >>org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSta >>rter.java:161) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) >> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) >> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java >>:57) >> at >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI >>mpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:622) >> at >>org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher >>.java:290) >> at >>org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:23 >>0) >> at >>org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launch >>er.java:409) >> at >>org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) >> 2014-01-21 09:27:07.587:WARN::Nested in >>org.springframework.context.ApplicationContextException: Failed to start >>bean 'cloudStackLifeCycle'; nested exception is >>net.sf.ehcache.CacheException: Unable to create >>CacheManagerPeerListener. Initial cause was >>sdk-vee-appliance-2.englab.juniper.net: >>sdk-vee-appliance-2.englab.juniper.net: >> java.net.UnknownHostException: sdk-vee-appliance-2.englab.juniper.net: >>sdk-vee-appliance-2.englab.juniper.net >> at java.net.InetAddress.getLocalHost(InetAddress.java:1461) >> at >>net.sf.ehcache.distribution.RMICacheManagerPeerListener.calculateHostAddr >>ess(RMICacheManagerPeerListener.java:167) >> at >>net.sf.ehcache.distribution.RMICacheManagerPeerListener.<init>(RMICacheMa >>nagerPeerListener.java:124) >> at >>net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.doCreateCa >>chePeerListener(RMICacheManagerPeerListenerFactory.java:102) >> at >>net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.createCach >>ePeerListener(RMICacheManagerPeerListenerFactory.java:84) >> at >>net.sf.ehcache.config.ConfigurationHelper.createCachePeerListeners(Config >>urationHelper.java:163) >> at net.sf.ehcache.CacheManager.configure(CacheManager.java:712) >> at net.sf.ehcache.CacheManager.doInit(CacheManager.java:439) >> at net.sf.ehcache.CacheManager.init(CacheManager.java:377) >> at net.sf.ehcache.CacheManager.<init>(CacheManager.java:259) >> at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1037) >> at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:818) >> at net.sf.ehcache.CacheManager.create(CacheManager.java:799) >> at >>com.cloud.utils.db.GenericDaoBase.createCache(GenericDaoBase.java:1753) >> at com.cloud.utils.db.GenericDaoBase.configure(GenericDaoBase.java:1772) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java >>:57) >> at >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI >>mpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:622) >> at >>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(A >>opUtils.java:317) >> at >>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpo >>int(ReflectiveMethodInvocation.java:183) >> at >>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refl >>ectiveMethodInvocation.java:150) >> at >>com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContex >>tInterceptor.java:33) >> at >>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refl >>ectiveMethodInvocation.java:161) >> at >>org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Ex >>poseInvocationInterceptor.java:91) >> at >>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refl >>ectiveMethodInvocation.java:172) >> at >>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAop >>Proxy.java:204) >> at com.sun.proxy.$Proxy57.configure(Unknown Source) >> at >>org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle$3.with >>(CloudStackExtendedLifeCycle.java:117) >> at >>org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.with(C >>loudStackExtendedLifeCycle.java:156) >> at >>org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.config >>ure(CloudStackExtendedLifeCycle.java:113) >> at >>org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start( >>CloudStackExtendedLifeCycle.java:59) >> at >>org.springframework.context.support.DefaultLifecycleProcessor.doStart(Def >>aultLifecycleProcessor.java:167) >> at >>org.springframework.context.support.DefaultLifecycleProcessor.access$200( >>DefaultLifecycleProcessor.java:51) >> at >>org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGr >>oup.start(DefaultLifecycleProcessor.java:339) >> at >>org.springframework.context.support.DefaultLifecycleProcessor.startBeans( >>DefaultLifecycleProcessor.java:143) >> at >>org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(D >>efaultLifecycleProcessor.java:108) >> at >>org.springframework.context.support.AbstractApplicationContext.finishRefr >>esh(AbstractApplicationContext.java:945) >> at >>org.springframework.context.support.AbstractApplicationContext.refresh(Ab >>stractApplicationContext.java:482) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.loadContext(DefaultModuleDefinitionSet.java:141) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>$2.with(DefaultModuleDefinitionSet.java:119) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.withModule(DefaultModuleDefinitionSet.java:239) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.withModule(DefaultModuleDefinitionSet.java:244) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.withModule(DefaultModuleDefinitionSet.java:244) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.withModule(DefaultModuleDefinitionSet.java:227) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.loadContexts(DefaultModuleDefinitionSet.java:115) >> at >>org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet >>.load(DefaultModuleDefinitionSet.java:78) >> at >>org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loa >>dModules(ModuleBasedContextFactory.java:37) >> at >>org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init( >>CloudStackSpringContext.java:69) >> at >>org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init >>>(CloudStackSpringContext.java:56) >> at >>org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init >>>(CloudStackSpringContext.java:60) >> at >>org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.c >>ontextInitialized(CloudStackContextLoaderListener.java:51) >> 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:12 >>82) >> 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(Jetty6PluginWe >>bAppContext.java:115) >> at >>org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) >> at >>org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.jav >>a:152) >> at >>org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandler >>Collection.java:156) >> at >>org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) >> at >>org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.jav >>a: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.j >>ava:454) >> at >>org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java >>:396) >> at >>org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMoj >>o.java:210) >> at >>org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184) >> at >>org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuil >>dPluginManager.java:101) >> at >>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav >>a:209) >> at >>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav >>a:153) >> at >>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav >>a:145) >> at >>org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L >>ifecycleModuleBuilder.java:84) >> at >>org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L >>ifecycleModuleBuilder.java:59) >> at >>org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild( >>LifecycleStarter.java:183) >> at >>org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSta >>rter.java:161) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) >> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) >> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java >>:57) >> at >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI >>mpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:622) >> at >>org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher >>.java:290) >> at >>org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:23 >>0) >> at >>org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launch >>er.java:409) >> at >>org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) >> 2014-01-21 09:27:07.604:INFO::Started >>SelectChannelConnector@0.0.0.0<mailto:SelectChannelConnector@0.0.0.0>:808 >>0 >> [INFO] Started Jetty Server >> >> >> >> > >