continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Brown <wbr...@colorfulsoftware.com>
Subject Re: projects mysteriously leaving the build queue even though (Always Build) is set.
Date Mon, 30 Nov 2009 18:39:38 GMT

Hi Wendy: 

I tried your suggestion of starting with an empty embedded derby users db
but am getting the same error.  I also tried starting with a fresh empty
embedded derby continuum db as well but get the same error.  

I am deploying on tomcat 6.  Do you know if that is possible with this
version?  I'm not sure what to try next for debugging this? 

Thanks for looking at this issue.

Bill.

Here is the full trace again during app startup:


Caused by: org.springframework.beans.factory.BeanCreationException: Error
creati
ng bean with name 'authenticationManager': Invocation of init method failed;
nes
ted exception is org.springframework.beans.factory.BeanCreationException:
Error
creating bean with name 'authenticator#keystore': Injection of resource
fields f
ailed; nested exception is
org.springframework.beans.factory.BeanCreationExcepti
on: Error creating bean with name 'userManager#configurable': Injection of
resou
rce fields failed; nested exception is
org.springframework.beans.factory.BeanCre
ationException: Error creating bean with name 'userConfiguration' defined in
URL

[jar:file:/opt/tomcat/webapps/continuum/WEB-INF/lib/redback-configuration-1.2.2
.jar!/org/codehaus/plexus/redback/configuration/UserConfiguration.class]:
Initia
lization of bean failed; nested exception is
org.springframework.beans.factory.B
eanCreationException: Error creating bean with name
'registry#commons-configurat
ion': Post-processing of the FactoryBean's object failed; nested exception
is or
g.springframework.beans.factory.BeanInitializationException: Failed to
invoke pl
exus lifecycle Initializable.initialize on registry#commons-configuration;
neste
d exception is
org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializa
tionException:
org.apache.commons.configuration.ConfigurationRuntimeException: o
rg.apache.commons.configuration.ConfigurationRuntimeException: Property
xmlns ca
nnot be set!
        at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBea
nPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProc
essor.java:147)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanF
actory.java:350)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1331)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:264)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:261)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.
findAutowireCandidates(DefaultListableBeanFactory.java:671)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.
resolveDependency(DefaultListableBeanFactory.java:610)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor.autowireResource(CommonAnnotationBeanPostProcessor.java:431)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor.getResource(CommonAnnotationBeanPostProcessor.java:409)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:5
37)
        at
org.springframework.beans.factory.annotation.InjectionMetadata$Inject
edElement.inject(InjectionMetadata.java:180)
        at
org.springframework.beans.factory.annotation.InjectionMetadata.inject
Fields(InjectionMetadata.java:105)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:289)
        ... 58 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creati
ng bean with name 'authenticator#keystore': Injection of resource fields
failed;
 nested exception is
org.springframework.beans.factory.BeanCreationException: Er
ror creating bean with name 'userManager#configurable': Injection of
resource fi
elds failed; nested exception is
org.springframework.beans.factory.BeanCreationE
xception: Error creating bean with name 'userConfiguration' defined in URL
[jar:
file:/opt/tomcat/webapps/continuum/WEB-INF/lib/redback-configuration-1.2.2.jar!/
org/codehaus/plexus/redback/configuration/UserConfiguration.class]:
Initializati
on of bean failed; nested exception is
org.springframework.beans.factory.BeanCre
ationException: Error creating bean with name
'registry#commons-configuration':
Post-processing of the FactoryBean's object failed; nested exception is
org.spri
ngframework.beans.factory.BeanInitializationException: Failed to invoke
plexus l
ifecycle Initializable.initialize on registry#commons-configuration; nested
exce
ption is
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationEx
ception: org.apache.commons.configuration.ConfigurationRuntimeException:
org.apa
che.commons.configuration.ConfigurationRuntimeException: Property xmlns
cannot b
e set!
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:292)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:959)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:264)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:261)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
        at
org.springframework.context.support.AbstractApplicationContext.getBea
n(AbstractApplicationContext.java:880)
        at
org.codehaus.plexus.spring.PlexusToSpringUtils.lookupMap(PlexusToSpri
ngUtils.java:148)
        at
org.codehaus.plexus.spring.PlexusToSpringUtils.lookupList(PlexusToSpr
ingUtils.java:160)
        at
org.codehaus.plexus.redback.authentication.DefaultAuthenticationManag
er.initialize(DefaultAuthenticationManager.java:58)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBea
nPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.ja
va:297)
        at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBea
nPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPost
Processor.java:250)
        at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBea
nPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProc
essor.java:144)
        ... 77 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creati
ng bean with name 'userManager#configurable': Injection of resource fields
faile
d; nested exception is
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'userConfiguration' defined in URL
[jar:file:/opt/
tomcat/webapps/continuum/WEB-INF/lib/redback-configuration-1.2.2.jar!/org/codeha
us/plexus/redback/configuration/UserConfiguration.class]: Initialization of
bean
 failed; nested exception is
org.springframework.beans.factory.BeanCreationExcep
tion: Error creating bean with name 'registry#commons-configuration':
Post-proce
ssing of the FactoryBean's object failed; nested exception is
org.springframewor
k.beans.factory.BeanInitializationException: Failed to invoke plexus
lifecycle I
nitializable.initialize on registry#commons-configuration; nested exception
is o
rg.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException:
o
rg.apache.commons.configuration.ConfigurationRuntimeException:
org.apache.common
s.configuration.ConfigurationRuntimeException: Property xmlns cannot be set!
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:292)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:959)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:264)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:261)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:168)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor.getResource(CommonAnnotationBeanPostProcessor.java:409)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:5
37)
        at
org.springframework.beans.factory.annotation.InjectionMetadata$Inject
edElement.inject(InjectionMetadata.java:180)
        at
org.springframework.beans.factory.annotation.InjectionMetadata.inject
Fields(InjectionMetadata.java:105)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:289)
        ... 98 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creati
ng bean with name 'userConfiguration' defined in URL
[jar:file:/opt/tomcat/webap
ps/continuum/WEB-INF/lib/redback-configuration-1.2.2.jar!/org/codehaus/plexus/re
dback/configuration/UserConfiguration.class]: Initialization of bean failed;
nes
ted exception is org.springframework.beans.factory.BeanCreationException:
Error
creating bean with name 'registry#commons-configuration': Post-processing of
the
 FactoryBean's object failed; nested exception is
org.springframework.beans.fact
ory.BeanInitializationException: Failed to invoke plexus lifecycle
Initializable
.initialize on registry#commons-configuration; nested exception is
org.codehaus.
plexus.personality.plexus.lifecycle.phase.InitializationException:
org.apache.co
mmons.configuration.ConfigurationRuntimeException:
org.apache.commons.configurat
ion.ConfigurationRuntimeException: Property xmlns cannot be set!
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:264)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:261)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:168)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor.getResource(CommonAnnotationBeanPostProcessor.java:409)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:5
37)
        at
org.springframework.beans.factory.annotation.InjectionMetadata$Inject
edElement.inject(InjectionMetadata.java:180)
        at
org.springframework.beans.factory.annotation.InjectionMetadata.inject
Fields(InjectionMetadata.java:105)
        at
org.springframework.context.annotation.CommonAnnotationBeanPostProces
sor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:289)
        ... 114 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creati
ng bean with name 'registry#commons-configuration': Post-processing of the
Facto
ryBean's object failed; nested exception is
org.springframework.beans.factory.Be
anInitializationException: Failed to invoke plexus lifecycle
Initializable.initi
alize on registry#commons-configuration; nested exception is
org.codehaus.plexus
.personality.plexus.lifecycle.phase.InitializationException:
org.apache.commons.
configuration.ConfigurationRuntimeException:
org.apache.commons.configuration.Co
nfigurationRuntimeException: Property xmlns cannot be set!
        at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport$
1.run(FactoryBeanRegistrySupport.java:142)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.
doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)
        at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.
getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getObje
ctForBeanInstance(AbstractBeanFactory.java:1288)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:217)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
        at
org.springframework.context.support.AbstractApplicationContext.getBea
n(AbstractApplicationContext.java:880)
        at
org.codehaus.plexus.spring.PlexusContainerAdapter.lookup(PlexusContai
nerAdapter.java:422)
        at
org.codehaus.plexus.redback.configuration.UserConfiguration.contextua
lize(UserConfiguration.java:212)
        at
org.codehaus.plexus.spring.PlexusLifecycleBeanPostProcessor.postProce
ssAfterInitialization(PlexusLifecycleBeanPostProcessor.java:157)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFa
ctory.java:361)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1344)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        ... 128 more
Caused by: org.springframework.beans.factory.BeanInitializationException:
Failed
 to invoke plexus lifecycle Initializable.initialize on
registry#commons-configu
ration; nested exception is
org.codehaus.plexus.personality.plexus.lifecycle.pha
se.InitializationException:
org.apache.commons.configuration.ConfigurationRuntim
eException: org.apache.commons.configuration.ConfigurationRuntimeException:
Prop
erty xmlns cannot be set!
        at
org.codehaus.plexus.spring.PlexusLifecycleBeanPostProcessor.postProce
ssAfterInitialization(PlexusLifecycleBeanPostProcessor.java:221)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFa
ctory.java:361)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.postProcessObjectFromFactoryBean(AbstractAutowireCapableBeanFactory.java
:1429)
        at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport$
1.run(FactoryBeanRegistrySupport.java:139)
        ... 142 more
Caused by:
org.codehaus.plexus.personality.plexus.lifecycle.phase.Initialization
Exception: org.apache.commons.configuration.ConfigurationRuntimeException:
org.a
pache.commons.configuration.ConfigurationRuntimeException: Property xmlns
cannot
 be set!
        at
org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry.ini
tialize(CommonsConfigurationRegistry.java:388)
        at
org.codehaus.plexus.spring.PlexusLifecycleBeanPostProcessor.postProce
ssAfterInitialization(PlexusLifecycleBeanPostProcessor.java:217)
        ... 145 more
Caused by: org.apache.commons.configuration.ConfigurationException:
org.apache.c
ommons.configuration.ConfigurationRuntimeException:
org.apache.commons.configura
tion.ConfigurationRuntimeException: Property xmlns cannot be set!
        at
org.apache.commons.configuration.DefaultConfigurationBuilder.createCo
nfigurationAt(DefaultConfigurationBuilder.java:637)
        at
org.apache.commons.configuration.DefaultConfigurationBuilder.initComb
inedConfiguration(DefaultConfigurationBuilder.java:569)
        at
org.apache.commons.configuration.DefaultConfigurationBuilder.getConfi
guration(DefaultConfigurationBuilder.java:501)
        at
org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry.ini
tialize(CommonsConfigurationRegistry.java:374)
        ... 146 more
Caused by: org.apache.commons.configuration.ConfigurationRuntimeException:
org.a
pache.commons.configuration.ConfigurationRuntimeException: Property xmlns
cannot
 be set!
        at
org.apache.commons.configuration.beanutils.BeanHelper.createBean(Bean
Helper.java:250)
        at
org.apache.commons.configuration.beanutils.BeanHelper.createBean(Bean
Helper.java:267)
        at
org.apache.commons.configuration.beanutils.BeanHelper.createBean(Bean
Helper.java:281)
        at
org.apache.commons.configuration.DefaultConfigurationBuilder.createCo
nfigurationAt(DefaultConfigurationBuilder.java:632)
        ... 149 more
Caused by: org.apache.commons.configuration.ConfigurationRuntimeException:
Prope
rty xmlns cannot be set!
        at
org.apache.commons.configuration.beanutils.BeanHelper.initProperty(Be
anHelper.java:197)
        at
org.apache.commons.configuration.beanutils.BeanHelper.initBean(BeanHe
lper.java:167)
        at
org.apache.commons.configuration.beanutils.DefaultBeanFactory.initBea
nInstance(DefaultBeanFactory.java:106)
        at
org.apache.commons.configuration.beanutils.DefaultBeanFactory.createB
ean(DefaultBeanFactory.java:62)
        at
org.apache.commons.configuration.DefaultConfigurationBuilder$Configur
ationProvider.getConfiguration(DefaultConfigurationBuilder.java:845)
        at
org.apache.commons.configuration.DefaultConfigurationBuilder$Configur
ationBeanFactory.createBean(DefaultConfigurationBuilder.java:1093)
        at
org.apache.commons.configuration.beanutils.BeanHelper.createBean(Bean
Helper.java:245)
        ... 152 more
2009-11-30 12:33:29,661
[ContainerBackgroundProcessor[StandardEngine[Catalina]]]
 INFO  com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory  - Setting
Defau
ltObjectTypeDeterminer as default ...


Wendy Smoak-3 wrote:
> 
> On Wed, Nov 25, 2009 at 10:42 AM, Bill Brown
> <wbrown@colorfulsoftware.com> wrote:
> 
>> After shutting down the 1.2.3 build with mysql backend, I undeployed it
>> and
>> redeployed the 1.3.4 war.  It seems to be failing in the redback library
>> from some reason (below)  do you know how I can work around this to get
>> 1.3.4 running?  Looks like maybe a version mis-match issue but I'm not
>> sure
>> what to change.  Thanks for your comments.
> 
> In a quick check, I didn't have a problem pointing 1.3.4 at data from
> 1.2.3 using the embedded Derby database in the Jetty bundle.  It was
> only a couple of users and project groups, but it started right up.
> 
> The errors you posted are from Redback, which handles the users and
> security.
> 
> To narrow it down, can you try configuring a new/empty user database
> and starting it with just the builds data?  It should prompt you to
> create the admin user.
> 
> If that works, then we can focus on the user data as the problem.
> (Or, if you don't have very many users, you may elect to just
> re-create them.)
> 
> -- 
> Wendy
> 
> 

-- 
View this message in context: http://old.nabble.com/projects-mysteriously-leaving-the-build-queue-even-though-%28Always-Build%29-is-set.-tp26484565p26579703.html
Sent from the Continuum - Users mailing list archive at Nabble.com.


Mime
View raw message