archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Problem Archiva standalone
Date Tue, 13 Mar 2007 10:34:37 GMT
It seems you don't have latest code but you can resolve this pb by creating archiva.xml in
${user.home}/.m2
This file will contain <configuration/>

Emmanuel

Thomas Colin de Verdière a écrit :
> I have a problem launching archiva in standalone. I have the following
> error. I saw some messages on the list concerning this. but i don't know
> where to put the configuration file archiva.xml :
> 
> jvm 1    | INFO: ********** FATAL ERROR STARTING UP PLEXUS-WEBWORK
> INTEGRATION **********
> jvm 1    | Looks like the Plexus listener was not configured for your
> web app!
> jvm 1    | You need to add the following to web.xml:
> jvm 1    |
> jvm 1    |     <listener>
> jvm 1    |
> <listener-class>org.codehaus.plexus.xwork.PlexusLifecycleListener</listener-class>

> 
> jvm 1    |     </listener>
> jvm 1    | [ERROR] Error while deploying appserver
> archiva-plexus-application-1.0-SNAPSHOT.jar.
> jvm 1    | org.codehaus.plexus.appserver.ApplicationServerException:
> Error in the app server lifecycle post-app-container-init-service-call
> phase.
> jvm 1    |      at
> org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:115)

> 
> jvm 1    |      at
> org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:86)

> 
> jvm 1    |      at
> org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase$1.onJarDiscovered(ApplicationDeploymentPhase.java:44)

> 
> jvm 1    |      at
> org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scanDirectory(DefaultSupervisor.java:100)

> 
> jvm 1    |      at
> org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scan(DefaultSupervisor.java:73)

> 
> jvm 1    |      at
> org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase.execute(ApplicationDeploymentPhase.java:58)

> 
> jvm 1    |      at
> org.codehaus.plexus.appserver.DefaultApplicationServer.start(DefaultApplicationServer.java:211)

> 
> jvm 1    |      at
> org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)

> 
> jvm 1    |      at
> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:130)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:143)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:133)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:87)

> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:101)

> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:310) 
> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:291) 
> 
> jvm 1    |      at
> org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:155)

> 
> jvm 1    |      at
> org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:85)

> 
> jvm 1    |      at
> org.codehaus.plexus.appserver.PlexusApplicationHost.main(PlexusApplicationHost.java:289)

> 
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> jvm 1    |      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
> 
> jvm 1    |      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

> 
> jvm 1    |      at java.lang.reflect.Method.invoke(Method.java:585)
> jvm 1    |      at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) 
> 
> jvm 1    |      at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> jvm 1    |      at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)

> 
> jvm 1    |      at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
> jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> jvm 1    |      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
> 
> jvm 1    |      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

> 
> jvm 1    |      at java.lang.reflect.Method.invoke(Method.java:585)
> jvm 1    |      at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
> jvm 1    |      at java.lang.Thread.run(Thread.java:595)
> jvm 1    | Caused by:
> org.codehaus.plexus.appserver.application.deploy.lifecycle.AppDeploymentException: 
> 
> Error calling service in pre-app init phase.
> jvm 1    |      at
> org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:32)

> 
> jvm 1    |      at
> org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:104)

> 
> jvm 1    |      ... 31 more
> jvm 1    | Caused by:
> org.codehaus.plexus.appserver.service.PlexusServiceException: Error
> while starting the context /archiva
> jvm 1    |      at
> org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:252)

> 
> jvm 1    |      at
> org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:28)

> 
> jvm 1    |      ... 32 more
> jvm 1    | Caused by:
> org.codehaus.plexus.jetty.ServletContainerException: Error while
> starting the context /archiva
> jvm 1    |      at
> org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:213)

> 
> jvm 1    |      at
> org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:248)

> 
> jvm 1    |      ... 33 more
> jvm 1    | Caused by: java.lang.NullPointerException: configuration can
> not be null
> jvm 1    |      at
> org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry.<init>(CommonsConfigurationRegistry.java:89)

> 
> jvm 1    |      at
> org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry.getSection(CommonsConfigurationRegistry.java:422)

> 
> jvm 1    |      at
> org.apache.maven.archiva.configuration.DefaultArchivaConfiguration.addChangeListener(DefaultArchivaConfiguration.java:84)

> 
> jvm 1    |      at
> org.apache.maven.archiva.repositories.DefaultActiveManagedRepositories.initialize(DefaultActiveManagedRepositories.java:201)

> 
> jvm 1    |      at
> org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:33)

> 
> jvm 1    |      at
> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:130)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:143)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:133)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:87)

> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:101)

> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:310) 
> 
> jvm 1    |      at
> org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:235)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:67)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:58)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:144)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:73)

> 
> jvm 1    |      at
> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)

> 
> jvm 1    |      at
> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:130)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:143)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:133)

> 
> jvm 1    |      at
> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:87)

> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:101)

> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:310) 
> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:291) 
> 
> jvm 1    |      at
> org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:54)

> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:895)

> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:843)

> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:820)

> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:222)

> 
> jvm 1    |      at
> org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:236)

> 
> jvm 1    |      at
> org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(PlexusLifecycleListener.java:76)

> 
> jvm 1    |      at
> org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:495)

> 
> jvm 1    |      at org.mortbay.util.Container.start(Container.java:72)
> jvm 1    |      at
> org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:209)

> 
> jvm 1    |      ... 34 more
> jvm 1    | [INFO] The appserver server has been initialized.
> jvm 1    | [INFO] The appserver server has started.
> 
> 
> 
> 
> 
> 


Mime
View raw message