continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis Tsao <lewis.t...@uk.ibm.com>
Subject Continuum 1.2 - Context initialization failed
Date Sat, 18 Oct 2008 20:21:02 GMT
Hi all,

I need help with running Continuum 1.2 on my Window XP SP2. I have 
unzipped Continuum 1.2 onto a portable drive. When I run it on one Windows 
XP machine, it works. When I run it on another it fails 
(http://localhost:8080/continuum produces http error 503 
service_unavailabe requesturi=/contiuum). The same directory and binaries 
also works under Linux.

The machine that works is used for testing after it failed on my 'work' 
machine.

I run Continuum as it is freshly unzipped using all defaults via 'contiuum 
console' to test that everything works first.

I tried looking into environment settings, but could see no significant 
differences. I have tried setting JAVA_HOME to jre and jdk, setting and 
unsetting combinations of M2_HOME, ANT_HOME and CONTINUUM_HOME. Your help 
is greatly appreciated.

Going through xxx_stderrout.log I get:

6609 [WrapperSimpleAppMain] ERROR 
org.springframework.web.context.ContextLoader
- Context initialization failed^M
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'continuumBuildExecutor#maven2' defined in URL 
[jar:file:/C:/apache/apache-continuum-1.2/apps/continuum/WEB-INF/lib/continuum-core-1.2.jar!/META-INF/spring-context.xml]:

Cannot resolve reference to bean mavenBuilderHelper' while setting bean 
property 'builderHelper'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name mavenBuilderHelper': Post-processing of the FactoryBean's 
object failed; nested exception is 
org.springframework.beans.factory.BeanInitializationException: Failed to 
invoke plexus ifecycle Initializable.initialize on mavenBuilderHelper; 
nested exception is 
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException: 
Can't initialize 
org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper'^M
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)^M
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)^M
        at java.security.AccessController.doPrivileged(Native Method)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)^M
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)^M
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)^M
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)^M
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)^M
        at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)^M
        at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)^M
        at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)^M
        at 
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543)^M
        at 
org.mortbay.jetty.servlet.Context.startContext(Context.java:136)^M
        at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)^M
        at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)^M
        at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)^M
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)^M
        at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)^M
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)^M
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)^M
        at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)^M
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)^M
        at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)^M
        at org.mortbay.jetty.Server.doStart(Server.java:222)^M
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)^M
        at 
org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)^M
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)^M
        at java.lang.reflect.Method.invoke(Method.java:597)^M
        at 
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)^M
        at java.lang.Thread.run(Thread.java:619)^M
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'mavenBuilderHelper': Post-processing of the 
FactoryBean's object failed; ested exception is 
org.springframework.beans.factory.BeanInitializationException: Failed to 
invoke plexus lifecycle Initializable.initialize on mavenBuilderHelper; 
nested exception is 
rg.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException: 
Can't initialize 
'org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper'^M
        at 
org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:142)^M
        at java.security.AccessController.doPrivileged(Native Method)^M
        at 
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)^M
        at 
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1285)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:275)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)^M
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)^M
        ... 46 more^M
Caused by: org.springframework.beans.factory.BeanInitializationException: 
Failed to invoke plexus lifecycle Initializable.initialize on 
mavenBuilderHelper; nested exception is 
rg.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException: 
Can't initialize 
'org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper'^M
        at 
org.codehaus.plexus.spring.PlexusLifecycleBeanPostProcessor.postProcessAfterInitialization(PlexusLifecycleBeanPostProcessor.java:221)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.postProcessObjectFromFactoryBean(AbstractAutowireCapableBeanFactory.java:1427)^M
        at 
org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:139)^M
        ... 54 more^M
Caused by: 
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException: 
Can't initialize 
'org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper'^M
        at 
org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.initialize(DefaultMavenBuilderHelper.java:777)^M
        at 
org.codehaus.plexus.spring.PlexusLifecycleBeanPostProcessor.postProcessAfterInitialization(PlexusLifecycleBeanPostProcessor.java:217)^M
        ... 57 more^M
Caused by: 
org.apache.maven.continuum.execution.maven.m2.SettingsConfigurationException: 
Unrecognised tag: 'plugins' (position: START_TAG seen 
<settings>\n\t<plugins>... 2:11)
  Line:   2
  Column: 11^M
        at 
org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.getSettings(DefaultMavenBuilderHelper.java:577)^M
        at 
org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.initialize(DefaultMavenBuilderHelper.java:771)^M
        ... 58 more^M
6609 [WrapperSimpleAppMain] ERROR org.mortbay.log - Failed startup of 
context 
org.mortbay.jetty.webapp.WebAppContext@2b2057{/continuum,file:/C:/apache/apache-continuum-1.2/apps/continuum/}^M
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'continuumBuildExecutor#maven2' defined in URL 
[jar:file:/C:/apache/apache-continuum-1.2/apps/continuum/WEB-INF/lib/continuum-core-1.2.jar!/META-INF/spring-context.xml]:

Cannot resolve reference to bean mavenBuilderHelper' while setting bean 
property 'builderHelper'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name mavenBuilderHelper': Post-processing of the FactoryBean's 
object failed; nested exception is 
org.springframework.beans.factory.BeanInitializationException: Failed to 
invoke plexus ifecycle Initializable.initialize on mavenBuilderHelper; 
nested exception is 
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException: 
Can't initialize 
org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper'^M
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)^M
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)^M
        at java.security.AccessController.doPrivileged(Native Method)^M
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)^M
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)^M
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)^M
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)^M
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)^M
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)^M
        at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)^M
        at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)^M
        at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)^M
        at 
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543)^M
        at 
org.mortbay.jetty.servlet.Context.startContext(Context.java:136)^M
        at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)^M
        at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)^M
        at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)^M
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)^M
        at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)^M
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)^M
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)^M
        at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)^M
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)^M
        at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)^M
        at org.mortbay.jetty.Server.doStart(Server.java:222)^M
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)^M
        at 
org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)^M
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)^M
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)^M
        at java.lang.reflect.Method.invoke(Method.java:597)^M
        at org.mortbay.start.Main.invokeMain(Main.java:194)^M
        at org.mortbay.start.Main.start(Main.java:512)^M
        at org.mortbay.start.Main.main(Main.java:119)^M
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)^M
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)^M
        at java.lang.reflect.Method.invoke(Method.java:597)^M





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU






Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message