archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Watrous, Daniel" <daniel.t.watr...@hp.com>
Subject RE: Can't get 1.4 war to deploy
Date Fri, 17 Jan 2014 17:03:58 GMT
With extended logging enabled, I get this too. Does that help?

17:01:09.370 [http-8090-1] INFO  org.springframework.web.context.ContextLoader - Root WebApplicationContext:
initialization started
17:01:09.600 [http-8090-1] DEBUG org.springframework.web.context.support.StandardServletEnvironment
- Initializing new StandardServletEnvironment
17:01:09.602 [http-8090-1] DEBUG org.springframework.web.context.support.StandardServletEnvironment
- Adding [servletConfigInitParams] PropertySource with lowest search precedence
17:01:09.602 [http-8090-1] DEBUG org.springframework.web.context.support.StandardServletEnvironment
- Adding [servletContextInitParams] PropertySource with lowest search precedence
17:01:09.607 [http-8090-1] DEBUG org.springframework.web.context.support.StandardServletEnvironment
- Adding [jndiProperties] PropertySource with lowest search precedence
17:01:09.608 [http-8090-1] DEBUG org.springframework.web.context.support.StandardServletEnvironment
- Adding [systemProperties] PropertySource with lowest search precedence
17:01:09.609 [http-8090-1] DEBUG org.springframework.web.context.support.StandardServletEnvironment
- Adding [systemEnvironment] PropertySource with lowest search precedence
17:01:09.609 [http-8090-1] DEBUG org.springframework.web.context.support.StandardServletEnvironment
- Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,jndiProperties,systemProperties,systemEnvironment]
17:01:09.611 [http-8090-1] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- Refreshing Root WebApplicationContext: startup date [Fri Jan 17 17:01:09 UTC 2014]; root
of context hierarchy
17:01:09.616 [http-8090-1] DEBUG org.springframework.web.context.support.StandardServletEnvironment
- Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
17:01:16.139 [http-8090-1] DEBUG org.springframework.web.context.support.XmlWebApplicationContext
- Bean factory for Root WebApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory@71fdd4b2:
defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,dataValidatorService#rest,fileUploadService#rest,javascriptLogger#default,runtimeInfoService#rest,archivaRuntimeProperties,jcr-repository,jcr-config,archivaConfiguration#default,fileTypes,knownRepositoryContentConsumer#create-missing-checksums,knownRepositoryContentConsumer#auto-remove,knownRepositoryContentConsumer#auto-rename,knownRepositoryContentConsumer#metadata-updater,knownRepositoryContentConsumer#validate-checksums,knownRepositoryContentConsumer#repository-purge,repositorySearch#maven,indexMerger#default,temporaryGroupIndexCleaner,logger,knownRepositoryContentConsumer#index-content,knownRepositoryContentConsumer#create-archiva-metadata,digesterUtils,mavenIndexerUtils,plexusSisuBridge,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,preDownloadPolicy#cache-failures,postDownloadPolicy#checksum,downloadErrorPolicy#propagate-errors,downloadErrorPolicy#propagate-errors-on-update,preDownloadPolicy#releases,preDownloadPolicy#snapshots,urlFailureCache,cache#url-failures-cache,repositoryProxyConnectors#default,wagonFactory,wagon#http,wagon#https,wagon#http-ntlm,wagon#https-ntlm,defaultRepositoryCommonValidator,archivaAdministration#default,repositoryGroupAdmin#default,managedRepositoryAdmin#default,networkProxyAdmin#default,proxyConnectorAdmin#default,proxyConnectorRuleAdmin#default,remoteRepositoryAdmin#default,archivaRuntimeConfigurationAdmin#default,redbackRuntimeConfigurationAdmin#default,repositoryContentFactory#default,metadataTools#default,repositoryScanner#default,repositoryContentConsumers,managedRepositoryContent#legacy,remoteRepositoryContent#legacy,pathParser#default,managedRepositoryContent#default,remoteRepositoryContent#default,cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,archivaAdministrationService#default,archivaRuntimeConfigurationService#rest,browseService#rest,commonServices#rest,managedRepositoriesService#rest,mergeRepositoriesService#rest,networkProxyService#rest,pingService#rest,proxyConnectorRuleService#rest,proxyConnectorService#rest,redbackRuntimeConfigurationService#rest,remoteRepositoriesService#rest,reportRepositoriesService#rest,repositoriesService#rest,repositoryGroupService#rest,searchService#rest,systemStatusService#rest,archivaRestServiceExceptionMapper,archivaJacksonJsonConfigurator,jsonProvider,redbackJacksonMapper,archivaServices,rssFeedGenerator#default,rssFeedProcessor#new-artifacts,rssFeedProcessor#new-versions,taskExecutor#indexing,downloadRemoteIndexScheduler#default,archivaTaskScheduler#indexing,taskQueue#indexing,taskQueueExecutor#indexing,taskScheduler#indexDownloadRemote,taskExecutor#repository-scanning,archivaTaskScheduler#repository,taskQueue#repository-scanning,taskQueueExecutor#repository-scanning,servletAuthenticator,environmentCheck#archiva-required-roles,userRepositories,securitySynchronization,archivaRuntimeInfo,ldapConnectionFactory#archiva,userManager#archiva,ldapRoleMapperConfiguration#archiva,environmentCheck#archiva-locked-admin-check,rbacManager#archiva,authenticator#archiva,archivaUiServices,davResourceFactory#archiva,mimeTpes,metadataFacetFactory#org.apache.archiva.audit,auditListener#logging,auditManager#default,auditListener#metadata,metadataFacetFactory#org.apache.archiva.metadata.generic,dependencyTreeBuilder#maven3,artifactMappingProvider#default,repositoryPathTranslator#maven2,repositoryStorage#maven2,metadataFacetFactory#org.apache.archiva.metadata.repository.storage.maven2.artifact,metadataFacetFactory#org.apache.archiva.metadata.repository.storage.maven2.project,pathParser#legacy,metadataResolver#default,repositorySessionFactory#jcr,repositoryStatisticsManager#default,metadataFacetFactory#org.apache.archiva.metadata.repository.stats,artifactMappingProvider#npanday,repositoryListener#problem-reports,metadataFacetFactory#org.apache.archiva.reports,knownRepositoryContentConsumer#duplicate-artifacts,authenticationManager,authenticationDataSource#password,authenticationDataSource#token,authenticator#keystore,authenticator#ldap,authenticator#user-manager,authorizer#rbac,permissionEvaluator,environmentCheck#adminAutoCreateCheck,environmentCheck#guest-user-check,environmentCheck#locked-admin-check,environmentCheck#required-roles,httpAuthenticator#basic,httpAuthenticator#digest,httpClientHeader,mailer,mailGenerator#velocity,autoLoginCookies,velocityEngine#redback,jdoFactory#users,ldapConnectionFactory#configurable,ldapRoleMapper#default,ldapRoleMapperConfiguration#default,userMapper#ldap,userConfiguration#redback,dataManagementTool#jdo,keyManager#cached,cache#keys,keyManager#jdo,keyManager#memory,userSecurityPolicy,userValidationSettings,cookieSettings#rememberMe,cookieSettings#signon,passwordEncoder#plaintext,passwordEncoder#sha1,passwordEncoder#sha256,passwordRule#alpha-numeric,passwordRule#alpha-count,passwordRule#character-length,passwordRule#must-have,passwordRule#numerical-count,passwordRule#reuse,passwordRule#no-whitespaces,rbacManager#cached,cache#operations,cache#permissions,cache#resources,cache#roles,cache#effectiveRoleSet,cache#userAssignments,cache#userPermissions,rbacManager#jdo,jdoTool,rbacManager#ldap,cache#ldapRoles,roleManager,roleModelProcessor,roleTemplateProcessor,roleModelValidator,ldapGroupMappingService#rest,loginService#rest,passwordService#rest,roleManagementService#rest,userService#rest,utilServices#rest,authenticationInterceptor#rest,redbackJacksonJsonConfigurator,passwordRuleViolationExceptionMapper,permissionInterceptor#rest,redbackServiceExceptionMapper,threadLocalUserCleaner#rest,environmentChecker#rest,passwordValidator#rest,redbackServices,securitySession,securitySystem,userManager#cached,cache#users,userManager#configurable,userManager#jdo,userManager#ldap,defaultLdapController,defaultLdapCacheService,cache#ldapUser,cache#ldapUserDn,defaultCacheBuilder,cronExpressionValidator,schedulerConfiguration,commons-configuration,componentContainer,repositoryMerger#maven2,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#1,loggerManager,springExecutor,springScheduler,org.springframework.context.annotation.internalAsyncAnnotationProcessor,org.springframework.context.annotation.internalScheduledAnnotationProcessor,mailSession,mailSender,scheduler];
root of factory hierarchy
17:01:17.809 [http-8090-1] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- Bean 'springExecutor' of type [class org.springframework.scheduling.config.TaskExecutorFactoryBean]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible
for auto-proxying)
17:01:17.810 [http-8090-1] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- Bean 'springExecutor' of type [class org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible
for auto-proxying)
17:01:17.867 [http-8090-1] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- Bean 'springScheduler' of type [class org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible
for auto-proxying)
17:01:17.875 [http-8090-1] DEBUG org.springframework.web.context.support.XmlWebApplicationContext
- Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@1a036474]
17:01:17.880 [http-8090-1] DEBUG org.springframework.web.context.support.XmlWebApplicationContext
- Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default [org.springframework.context.event.SimpleApplicationEventMulticaster@521c49e5]
Jan 17, 2014 5:01:24 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 17, 2014 5:01:24 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/archiva] startup failed due to previous errors

-----Original Message-----
From: Watrous, Daniel 
Sent: Friday, January 17, 2014 9:08 AM
To: users@archiva.apache.org
Subject: Can't get 1.4 war to deploy

I'm attempting to deploy 1.4, but I'm getting some errors that I can't push past. Hopefully
you can help.

>From localhost log

Jan 17, 2014 3:44:57 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext Jan 17, 2014 3:45:15 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.util.EmptyStackException
        at java.util.Stack.peek(Stack.java:102)
        at org.apache.logging.log4j.core.impl.ThrowableProxy.resolvePackageData(ThrowableProxy.java:339)
        at org.apache.logging.log4j.core.impl.ThrowableProxy.<init>(ThrowableProxy.java:71)
        at org.apache.logging.log4j.core.impl.Log4jLogEvent.<init>(Log4jLogEvent.java:110)
        at org.apache.logging.log4j.core.impl.Log4jLogEvent.<init>(Log4jLogEvent.java:81)
        at org.apache.logging.log4j.core.config.LoggerConfig.createEvent(LoggerConfig.java:423)
        at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:344)
        at org.apache.logging.log4j.core.Logger.log(Logger.java:110)
        at org.apache.logging.log4j.spi.AbstractLoggerWrapper.log(AbstractLoggerWrapper.java:55)
        at org.apache.logging.log4j.spi.AbstractLogger.error(AbstractLogger.java:539)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:319)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
        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.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Jan 17, 2014 3:45:15 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.apache.archiva.web.startup.ArchivaStartup
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener
registered?
        at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:90)
        at org.apache.archiva.web.startup.ArchivaStartup.contextInitialized(ArchivaStartup.java:63)
        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.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Jan 17, 2014 3:45:15 PM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class org.apache.archiva.web.startup.ArchivaStartup
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener
registered?
        at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:90)
        at org.apache.archiva.web.startup.ArchivaStartup.contextDestroyed(ArchivaStartup.java:101)
        at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4011)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4615)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4512)
        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.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

And from catalina.out

INFO: Deploying configuration descriptor archiva.xml Jan 17, 2014 3:45:15 PM org.apache.catalina.core.StandardContext
start
SEVERE: Error listenerStart
Jan 17, 2014 3:45:15 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/archiva] startup failed due to previous errors Jan 17, 2014 3:45:15 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver [org.apache.derby.jdbc.AutoloadedDriver40]
but failed to unregister it when the web application was stopped. To prevent a memory leak,
the JDBC Driver has been forcibly unregistered.
Jan 17, 2014 3:45:15 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: A web application appears to have started a thread named [pool-2-thread-1] but has
failed to stop it. This is very likely to create a memory leak.
Jan 17, 2014 3:45:15 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value
[java.lang.ThreadLocal@4122db74]) and a value of type [org.apache.logging.log4j.core.impl.Log4jLogEvent]
(value [Logger=org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor Level=INFO
Message=Shutting down ExecutorService]) but failed to remove it when the web application was
stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Jan 17, 2014 3:45:15 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value
[java.lang.ThreadLocal@5775be14]) and a value of type [org.codehaus.plexus.classworlds.realm.ClassRealm]
(value [ClassRealm[maven, parent: null]]) but failed to remove it when the web application
was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Jan 17, 2014 3:45:15 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal]
(value [Prototype beans currently in creation]) and a value of type [null] (value [null])
but failed to remove it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.
Jan 17, 2014 3:45:15 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [null] (value [org.apache.logging.log4j.spi.DefaultThreadContextMap$1@60e55df3])
and a value of type [null] (value [null]) but failed to remove it when the web application
was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

Mime
View raw message