Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.1
-
None
-
None
Description
Below is the stack trace provided by jieryn-w:
2010-07-28 22:21:26,539 [WrapperSimpleAppMain] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5f0e5f0e: defining beans [registry#commons-configuration,jdoFactory#archiva,jdoFactory#users,loggerManager,environmentCheck#locked-admin-check,action#disableProxyConnectorAction,action#sortProxyConnectorsAction,action#searchAction,resolverFactoryInit,component#download-artifact,action#deleteLegacyArtifactPathAction,action#browseAction,action#uploadAction,action#legacyArtifactPathAction,action#addLegacyArtifactPathAction,action#sortRepositoriesAction,action#addProxyConnectorAction,securitySynchronization,action#configureNetworkProxyAction,action#editProxyConnectorAction,action#repositoriesAction,interceptor#configurationInterceptor,action#editRemoteRepositoryAction,action#showArtifactAction,action#editManagedRepositoryAction,action#deleteManagedRepositoryAction,action#addRemoteRepositoryAction,action#repositoryScanningAction,action#deleteArtifactAction,action#networkProxiesAction,action#generateReport,action#proxyConnectorsAction,action#schedulerAction,action#organisationInfo,action#addManagedRepositoryAction,action#deleteRemoteRepositoryAction,action#viewAuditLogReport,action#editOrganisationInfo,action#enableProxyConnectorAction,dependencyTree,action#deleteProxyConnectorAction,action#databaseAction,action#repositoryGroupsAction,action#deleteRepositoryGroupAction,archetypeDataSource#nexus,nexusIndexer,indexCreator#min,indexCreator#jarContent,indexPacker,queryCreator,scanner,artifactContextProducer,searchEngine,indexerEngine,indexTreeView,indexUpdater,incrementalHandler,gavCalculator#maven2,gavCalculator#maven1,nexusEnforcer,velocityComponent,cache#keys,projectModelResolver#database,repositoryContentStatisticsDAO#jdo,archivaAuditLogsDao#jdo,projectModelDAO#jdo,artifactDAO#jdo,jdoAccess#archiva,repositoryProblemDAO#jdo,databaseUpdater#jdo,archivaDAO#jdo,repositoryBrowsing,projectModelResolutionListener#model-to-db,repositoryListener#database,dependencyGraphBuilder#project-model,taskQueue#database-update,taskQueueExecutor#database-update,taskQueue#repository-scanning,taskQueueExecutor#repository-scanning,taskExecutor#indexing,taskExecutor#repository-scanning,taskExecutor#database-update,archivaTaskScheduler,taskQueue#indexing,taskQueueExecutor#indexing,cache#url-failures-cache,preDownloadPolicy#releases,postDownloadPolicy#checksum,preDownloadPolicy#snapshots,downloadErrorPolicy#propagate-errors-on-update,preDownloadPolicy#cache-failures,downloadErrorPolicy#propagate-errors,archivaArtifactConsumer#duplicate-artifacts,dynamicReportSource#old-snapshots,dynamicReportSource#duplicate-artifacts,archivaArtifactConsumer#validate-artifacts-location,dynamicReportSource#artifact-location,dynamicReportSource#old-artifacts,knownRepositoryContentConsumer#auto-remove,knownRepositoryContentConsumer#metadata-updater,knownRepositoryContentConsumer#repository-purge,knownRepositoryContentConsumer#validate-checksum,knownRepositoryContentConsumer#auto-rename,reportingManager,repositoryStatisticsReportGenerator#simple,wagonManager,repositoryMetadataManager,artifactTransformation#snapshot,artifactTransformation#release,artifactTransformation#latest,artifactTransformationManager,artifactResolver,artifactInstaller,artifactDeployer,artifactRepositoryFactory,repositoryMetadataBuilder,cache#operations,cache#permissions,cache#resources,cache#roles,cache#effectiveRoleSet,cache#userAssignments,cache#userPermissions,wagon#file,interceptor#redbackEnvironmentCheckInterceptor,actionInvocationTracker#simple,action#redback-admin-user-edit,action#redback-role-create,action#redback-admin-user-delete,interceptor#redbackPolicyEnforcementInterceptor,action#redback-role-edit,action#redback-admin-console,action#redback-report,action#redback-role-model,action#redback-sysinfo,action#redback-account,action#redback-operations,interceptor#redbackAutoLoginInterceptor,result#securityExternalResult,action#redback-password-reset,action#redback-login,action#redback-admin-user-create,interceptor#redbackForceAdminUserInterceptor,action#redback-roles,action#redback-admin-user-list,interceptor#redbackSecureActionInterceptor,action#redback-resources,action#redback-admin-account,action#redback-permissions,action#backup-restore,environmentCheck#ExpectedStandardWebXworkActions,action#redback-logout,action#redback-assignments,action#redback-register,action#redback-redirect,action#redback-password,userSecurityPolicy,repositoryProxyConnectors,wagon#https,wagon#http,rssFeedProcessor#new-artifacts,rssFeedProcessor#new-versions,rssFeedGenerator,artifactRepositoryLayout,artifactRepositoryLayout#legacy,artifactHandlerManager,artifactHandler#ejb,artifactHandler#jar,artifactHandler#test-jar,artifactHandler#maven-plugin,artifactHandler#pom,artifactHandler#java-source,artifactHandler#javadoc,artifactHandler#war,artifactHandler#ear,artifactHandler#ejb-client,artifactHandler#rar,artifactHandler#par,artifactHandler#ejb3,artifactFactory,artifactCollector,cache#users,cache#effective-project-cache,repositoryScanner,metadataTools,projectModelFilter#expression,managedRepositoryContent,auditListener#logging,repositoryContentFactory,managedRepositoryContent#legacy,remoteRepositoryContent,projectModelFilter#effective,repositoryRequest,projectModelResolverFactory,pathParser#legacy,remoteRepositoryContent#legacy,cache#ehcache,scheduler,mimeTypes,archivaDavResourceFactory,nexusIndexer#archiva,cacheBuilder,userRepositories,environmentCheck#required-roles,servletAuthenticator,archivaConfiguration,fileTypes,checksumFile,digester#sha1,streamingDigester#sha1,streamingDigester#md5,digester#md5,databaseCleanupConsumer#not-present-remove-db-project,databaseUnprocessedArtifactConsumer#update-db-project,databaseCleanupConsumer#not-present-remove-db-artifact,knownRepositoryContentConsumer#update-db-artifact,oldArchetype,archetypeFilesResolver,pomManager,archetypeArtifactManager,archetypeRegistryManager,repositoryCrawler,filesetArchetypeGenerator,archetypeGenerator,archetypeDataSource#remote-catalog,archetypeDataSource#catalog,archetypeDataSource#internal-catalog,archetype,archetypeCreator#fileset,downloader,expressionSource#properties,expressionSource#sysprops,expressionEvaluator,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,authenticationDataSource#token,authenticationDataSource#password,authenticationManager,authenticator#keystore,authenticator#user-manager,authenticator#ldap,keyManager#cached,databaseConsumers,ldapConnectionFactory#configurable,userMapper#ldap,indexerConsumer,indexCleanupConsumer,urlFailureCache,artifactMissingChecksumsConsumer,userConfiguration,dataManagementTool#jdo,keyManager#jdo,rBACManager#cached,rBACManager#jdo,jdoTool,wagonFactory,roleManager,roleModelValidator,roleTemplateProcessor,roleModelProcessor,userManager#cached,repositoryContentConsumers,securitySystem,userManager#configurable,userValidationSettings,passwordEncoder#sha1,passwordEncoder#plaintext,passwordEncoder#sha256,cookieSettings#rememberMe,cookieSettings#signon,passwordRule#no-whitespaces,passwordRule#alpha-count,passwordRule#alpha-numeric,passwordRule#character-length,passwordRule#reuse,passwordRule#numerical-count,passwordRule#must-have,authorizer#rbac,permissionEvaluator,nexusSearch,userManager#ldap,defaultLdapController,userManager#jdo,httpAuthenticator#basic,httpClientHeader,httpAuthenticator#digest,report#rolesmatrix-csv,reportManager,report#userlist-csv,autoLoginCookies,environmentCheck#guest-user-check,environmentCheck#ExpectedJsps,mailGenerator#velocity,mailer,propertyPlaceholder,xmlRpcUserRepositories,pingService,searchService,administrationService,xmlrpcServicesList,xmlRpcAuthenticator,mailSession,mailSender]; root of factory hierarchy 2010-07-28 22:21:26,541 [WrapperSimpleAppMain] ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nexusSearch' defined in URL [jar:file:/home/jesse/Downloads/apache-archiva-1.3.1/apps/archiva/WEB-INF/lib/archiva-indexer-1.3.1.jar!/META-INF/spring-context.xml]: Cannot resolve reference to bean 'archivaConfiguration' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'archivaConfiguration': FactoryBean threw exception on object creation; nested 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.factory.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.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Property xmlns cannot be set! at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(AccessController.java:224) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(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.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) 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.xml.XmlConfiguration.main(XmlConfiguration.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.mortbay.start.Main.invokeMain(Main.java:194) at org.mortbay.start.Main.start(Main.java:534) at org.mortbay.start.Main.start(Main.java:441) at org.mortbay.start.Main.main(Main.java:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) at java.lang.Thread.run(Thread.java:736) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'archivaConfiguration': FactoryBean threw exception on object creation; nested 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.factory.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.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Property xmlns cannot be set! at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:127) at java.security.AccessController.doPrivileged(AccessController.java:224) 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.getObjectForBeanInstance(AbstractBeanFactory.java:1288) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:275) 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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269) ... 49 more Caused by: 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.factory.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.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Property xmlns cannot be set! at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:142) at java.security.AccessController.doPrivileged(AccessController.java:224) 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.getObjectForBeanInstance(AbstractBeanFactory.java:1288) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:275) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.codehaus.plexus.spring.PlexusComponentFactoryBean.resolveRequirement(PlexusComponentFactoryBean.java:246) at org.codehaus.plexus.spring.PlexusComponentFactoryBean.createInstance(PlexusComponentFactoryBean.java:163) at org.codehaus.plexus.spring.PlexusComponentFactoryBean.getObject(PlexusComponentFactoryBean.java:108) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121) ... 57 more Caused by: org.springframework.beans.factory.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.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Property xmlns cannot be set! at org.codehaus.plexus.spring.PlexusLifecycleBeanPostProcessor.postProcessAfterInitialization(PlexusLifecycleBeanPostProcessor.java:221) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.postProcessObjectFromFactoryBean(AbstractAutowireCapableBeanFactory.java:1429) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:139) ... 68 more Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Property xmlns cannot be set! at org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry.initialize(CommonsConfigurationRegistry.java:388) at org.codehaus.plexus.spring.PlexusLifecycleBeanPostProcessor.postProcessAfterInitialization(PlexusLifecycleBeanPostProcessor.java:217) ... 71 more Caused by: org.apache.commons.configuration.ConfigurationException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Property xmlns cannot be set! at org.apache.commons.configuration.DefaultConfigurationBuilder.createConfigurationAt(DefaultConfigurationBuilder.java:614) at org.apache.commons.configuration.DefaultConfigurationBuilder.initCombinedConfiguration(DefaultConfigurationBuilder.java:554) at org.apache.commons.configuration.DefaultConfigurationBuilder.getConfiguration(DefaultConfigurationBuilder.java:486) at org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry.initialize(CommonsConfigurationRegistry.java:374) ... 72 more Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Property xmlns cannot be set! at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:248) at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:265) at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:279) at org.apache.commons.configuration.DefaultConfigurationBuilder.createConfigurationAt(DefaultConfigurationBuilder.java:609) ... 75 more Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: Property xmlns cannot be set! at org.apache.commons.configuration.beanutils.BeanHelper.initProperty(BeanHelper.java:195) at org.apache.commons.configuration.beanutils.BeanHelper.initBean(BeanHelper.java:165) at org.apache.commons.configuration.beanutils.DefaultBeanFactory.initBeanInstance(DefaultBeanFactory.java:106) at org.apache.commons.configuration.beanutils.DefaultBeanFactory.createBean(DefaultBeanFactory.java:62) at org.apache.commons.configuration.DefaultConfigurationBuilder$ConfigurationProvider.getConfiguration(DefaultConfigurationBuilder.java:697) at org.apache.commons.configuration.DefaultConfigurationBuilder$ConfigurationBeanFactory.createBean(DefaultConfigurationBuilder.java:872) at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:243) ... 78 more