Archiva

Upgrade archiva to the latest redback (1.0.1)

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0, 1.0.1
  • Fix Version/s: 1.1
  • Component/s: Build
  • Labels:
    None
  • Number of attachments :
    0

Issue Links

Activity

Hide
Brett Porter added a comment -

this should be in place now

Show
Brett Porter added a comment - this should be in place now
Hide
Maria Odea Ching added a comment -

After upgrading Archiva to redback-1.0, i'm getting the following error during startup:

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 | Mar 4, 2008 6:54:47 PM org.mortbay.jetty.servlet.ServletHandler$Context log
jvm 1 | INFO: Plexus container already in context.
jvm 1 | 2008-03-04 18:54:49,149 [WrapperSimpleAppMain] WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/home/deng/Projects/archiva-1.0.x-022508/archiva-web/archiva-standalone/archiva-plexus-runtime/target/apache-archiva-1.0.2-SNAPSHOT/apps/archiva/webapp/WEB-INF/lib/ehcache-1.3.0.jar!/ehcache-failsafe.xml
jvm 1 | [ERROR] Error while deploying appserver archiva-plexus-application-1.0.2-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:119)
jvm 1 | at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:88)
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:218)
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:128)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:297)
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:107)
jvm 1 | ... 32 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 | ... 33 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 | ... 34 more
jvm 1 | Caused by: org.mortbay.util.MultiException[java.lang.RuntimeException: org.codehaus.plexus.PlexusContainerException: Error initializaing container in org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase@754fc., java.lang.NullPointerException]
jvm 1 | at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:486)
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 | ... 35 more

I think REDBACK-129 might be causing this..

Show
Maria Odea Ching added a comment - After upgrading Archiva to redback-1.0, i'm getting the following error during startup: 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 | Mar 4, 2008 6:54:47 PM org.mortbay.jetty.servlet.ServletHandler$Context log jvm 1 | INFO: Plexus container already in context. jvm 1 | 2008-03-04 18:54:49,149 [WrapperSimpleAppMain] WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/home/deng/Projects/archiva-1.0.x-022508/archiva-web/archiva-standalone/archiva-plexus-runtime/target/apache-archiva-1.0.2-SNAPSHOT/apps/archiva/webapp/WEB-INF/lib/ehcache-1.3.0.jar!/ehcache-failsafe.xml jvm 1 | [ERROR] Error while deploying appserver archiva-plexus-application-1.0.2-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:119) jvm 1 | at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:88) 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:218) 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:128) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132) jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90) jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:297) 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:107) jvm 1 | ... 32 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 | ... 33 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 | ... 34 more jvm 1 | Caused by: org.mortbay.util.MultiException[java.lang.RuntimeException: org.codehaus.plexus.PlexusContainerException: Error initializaing container in org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase@754fc., java.lang.NullPointerException] jvm 1 | at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:486) 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 | ... 35 more I think REDBACK-129 might be causing this..
Hide
Maria Odea Ching added a comment -

After applying REDBACK-129 to redback 1.0, i now got this error during startup:

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 | Mar 5, 2008 10:14:56 AM org.mortbay.jetty.servlet.ServletHandler$Context log
jvm 1 | INFO: Plexus container already in context.
jvm 1 | 2008-03-05 10:14:58,200 [WrapperSimpleAppMain] WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/home/deng/Projects/archiva-1.0.x-022508/archiva-web/archiva-standalone/archiva-plexus-runtime/target/apache-archiva-1.0.2-SNAPSHOT/apps/archiva/webapp/WEB-INF/lib/ehcache-1.3.0.jar!/ehcache-failsafe.xml
jvm 1 | Mar 5, 2008 10:14:58 AM org.mortbay.jetty.servlet.ServletHandler$Context log
jvm 1 | INFO: Initializing org.codehaus.plexus.webdav.simple.SimpleDavServerComponent
jvm 1 | Mar 5, 2008 10:14:58 AM org.mortbay.jetty.servlet.ServletHandler$Context log
jvm 1 | INFO: Initializing org.codehaus.plexus.webdav.simple.SimpleDavServerComponent
jvm 1 | [ERROR] Error while deploying appserver archiva-plexus-application-1.0.2-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:119)
jvm 1 | at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:88)
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:218)
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:128)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:297)
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:107)
jvm 1 | ... 32 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 | ... 33 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 | ... 34 more
jvm 1 | Caused by: java.lang.RuntimeException: org.codehaus.plexus.PlexusContainerException: Error initializaing container in org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase@17b40fe.
jvm 1 | at org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(PlexusLifecycleListener.java:105)
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 | ... 35 more
jvm 1 | Caused by: org.codehaus.plexus.PlexusContainerException: Error initializaing container in org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase@17b40fe.
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:890)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:834)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:811)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:222)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:260)
jvm 1 | at org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(PlexusLifecycleListener.java:76)
jvm 1 | ... 38 more
jvm 1 | Caused by: org.codehaus.plexus.container.initialization.ContainerInitializationException: Error looking up load-on-start component.
jvm 1 | at org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:73)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:886)
jvm 1 | ... 43 more
jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.apache.maven.archiva.web.startup.ArchivaStartup', it could not be started
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:156)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327)
jvm 1 | at org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:68)
jvm 1 | ... 44 more
jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:146)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
jvm 1 | ... 46 more
jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error composing component
jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:53)
jvm 1 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
jvm 1 | ... 49 more
jvm 1 | Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed of field securitySync in object of type org.apache.maven.archiva.web.startup.ArchivaStartup because the requirement ComponentRequirement{role='org.apache.maven.archiva.web.startup.SecuritySynchronization', roleHint='default', fieldName='securitySync'} was missing (lookup realm: plexus.xwork)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:254)
jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:143)
jvm 1 | at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
jvm 1 | ... 51 more
jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.apache.maven.archiva.web.startup.SecuritySynchronization', it could not be started
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:156)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:241)
jvm 1 | ... 56 more
jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:146)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
jvm 1 | ... 58 more
jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error composing component
jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:53)
jvm 1 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
jvm 1 | ... 61 more
jvm 1 | Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed of field roleManager in object of type org.apache.maven.archiva.web.startup.SecuritySynchronization because the requirement ComponentRequirement{role='org.codehaus.plexus.redback.role.RoleManager', roleHint='default', fieldName='roleManager'} was missing (lookup realm: plexus.xwork)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:254)
jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:143)
jvm 1 | at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
jvm 1 | ... 63 more
jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.codehaus.plexus.redback.role.RoleManager', it could not be started
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:156)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:241)
jvm 1 | ... 68 more
jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:146)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
jvm 1 | ... 70 more
jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error composing component
jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:53)
jvm 1 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
jvm 1 | ... 73 more
jvm 1 | Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed of field modelProcessor in object of type org.codehaus.plexus.redback.role.DefaultRoleManager because the requirement ComponentRequirement{role='org.codehaus.plexus.redback.role.processor.RoleModelProcessor', roleHint='default', fieldName='modelProcessor'} was missing (lookup realm: plexus.xwork)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:254)
jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:143)
jvm 1 | at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
jvm 1 | ... 75 more
jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.codehaus.plexus.redback.role.processor.RoleModelProcessor', it could not be started
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:156)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:241)
jvm 1 | ... 80 more
jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:146)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
jvm 1 | ... 82 more
jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error composing component
jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:53)
jvm 1 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
jvm 1 | ... 85 more
jvm 1 | Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed of field rbacManager in object of type org.codehaus.plexus.redback.role.processor.DefaultRoleModelProcessor because the requirement ComponentRequirement{role='RBACManager', roleHint='cached', fieldName='rbacManager'} was missing (lookup realm: plexus.xwork)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:254)
jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:143)
jvm 1 | at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
jvm 1 | ... 87 more
jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: RBACManager [cached] (lookup realm: ClassRealm[plexus.xwork, parent: null]).
jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139)
jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:241)
jvm 1 | ... 92 more
jvm 1 | [INFO] The appserver server has been initialized.
jvm 1 | [INFO] The appserver server has started.

Which I think would be fixed by REDBACK-125..

Show
Maria Odea Ching added a comment - After applying REDBACK-129 to redback 1.0, i now got this error during startup: 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 | Mar 5, 2008 10:14:56 AM org.mortbay.jetty.servlet.ServletHandler$Context log jvm 1 | INFO: Plexus container already in context. jvm 1 | 2008-03-05 10:14:58,200 [WrapperSimpleAppMain] WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/home/deng/Projects/archiva-1.0.x-022508/archiva-web/archiva-standalone/archiva-plexus-runtime/target/apache-archiva-1.0.2-SNAPSHOT/apps/archiva/webapp/WEB-INF/lib/ehcache-1.3.0.jar!/ehcache-failsafe.xml jvm 1 | Mar 5, 2008 10:14:58 AM org.mortbay.jetty.servlet.ServletHandler$Context log jvm 1 | INFO: Initializing org.codehaus.plexus.webdav.simple.SimpleDavServerComponent jvm 1 | Mar 5, 2008 10:14:58 AM org.mortbay.jetty.servlet.ServletHandler$Context log jvm 1 | INFO: Initializing org.codehaus.plexus.webdav.simple.SimpleDavServerComponent jvm 1 | [ERROR] Error while deploying appserver archiva-plexus-application-1.0.2-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:119) jvm 1 | at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:88) 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:218) 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:128) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132) jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90) jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:297) 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:107) jvm 1 | ... 32 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 | ... 33 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 | ... 34 more jvm 1 | Caused by: java.lang.RuntimeException: org.codehaus.plexus.PlexusContainerException: Error initializaing container in org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase@17b40fe. jvm 1 | at org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(PlexusLifecycleListener.java:105) 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 | ... 35 more jvm 1 | Caused by: org.codehaus.plexus.PlexusContainerException: Error initializaing container in org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase@17b40fe. jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:890) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:834) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:811) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:222) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:260) jvm 1 | at org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(PlexusLifecycleListener.java:76) jvm 1 | ... 38 more jvm 1 | Caused by: org.codehaus.plexus.container.initialization.ContainerInitializationException: Error looking up load-on-start component. jvm 1 | at org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:73) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:886) jvm 1 | ... 43 more jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.apache.maven.archiva.web.startup.ArchivaStartup', it could not be started jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:156) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327) jvm 1 | at org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:68) jvm 1 | ... 44 more jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:146) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132) jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90) jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) jvm 1 | ... 46 more jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error composing component jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:53) jvm 1 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142) jvm 1 | ... 49 more jvm 1 | Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed of field securitySync in object of type org.apache.maven.archiva.web.startup.ArchivaStartup because the requirement ComponentRequirement{role='org.apache.maven.archiva.web.startup.SecuritySynchronization', roleHint='default', fieldName='securitySync'} was missing (lookup realm: plexus.xwork) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:254) jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66) jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:143) jvm 1 | at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72) jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46) jvm 1 | ... 51 more jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.apache.maven.archiva.web.startup.SecuritySynchronization', it could not be started jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:156) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:241) jvm 1 | ... 56 more jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:146) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132) jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90) jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) jvm 1 | ... 58 more jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error composing component jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:53) jvm 1 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142) jvm 1 | ... 61 more jvm 1 | Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed of field roleManager in object of type org.apache.maven.archiva.web.startup.SecuritySynchronization because the requirement ComponentRequirement{role='org.codehaus.plexus.redback.role.RoleManager', roleHint='default', fieldName='roleManager'} was missing (lookup realm: plexus.xwork) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:254) jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66) jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:143) jvm 1 | at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72) jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46) jvm 1 | ... 63 more jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.codehaus.plexus.redback.role.RoleManager', it could not be started jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:156) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:241) jvm 1 | ... 68 more jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:146) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132) jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90) jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) jvm 1 | ... 70 more jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error composing component jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:53) jvm 1 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142) jvm 1 | ... 73 more jvm 1 | Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed of field modelProcessor in object of type org.codehaus.plexus.redback.role.DefaultRoleManager because the requirement ComponentRequirement{role='org.codehaus.plexus.redback.role.processor.RoleModelProcessor', roleHint='default', fieldName='modelProcessor'} was missing (lookup realm: plexus.xwork) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:254) jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66) jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:143) jvm 1 | at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72) jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46) jvm 1 | ... 75 more jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.codehaus.plexus.redback.role.processor.RoleModelProcessor', it could not be started jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:156) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:241) jvm 1 | ... 80 more jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:146) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132) jvm 1 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90) jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) jvm 1 | ... 82 more jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error composing component jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:53) jvm 1 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142) jvm 1 | ... 85 more jvm 1 | Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed of field rbacManager in object of type org.codehaus.plexus.redback.role.processor.DefaultRoleModelProcessor because the requirement ComponentRequirement{role='RBACManager', roleHint='cached', fieldName='rbacManager'} was missing (lookup realm: plexus.xwork) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:254) jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66) jvm 1 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:143) jvm 1 | at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72) jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46) jvm 1 | ... 87 more jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: RBACManager [cached] (lookup realm: ClassRealm[plexus.xwork, parent: null]). jvm 1 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333) jvm 1 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:241) jvm 1 | ... 92 more jvm 1 | [INFO] The appserver server has been initialized. jvm 1 | [INFO] The appserver server has started. Which I think would be fixed by REDBACK-125..
Hide
Maria Odea Ching added a comment -

After applying REDBACK-129 and REDBACK-125 in redback 1.0, Archiva was able to startup successfully. I'll test redback 1.0 with Continuum as well to verify it's behaviour.

Show
Maria Odea Ching added a comment - After applying REDBACK-129 and REDBACK-125 in redback 1.0, Archiva was able to startup successfully. I'll test redback 1.0 with Continuum as well to verify it's behaviour.
Hide
Maria Odea Ching added a comment -

These problems also persist in Continuum, though it occurs not during startup but when you try to access the webapp after it was started.

Show
Maria Odea Ching added a comment - These problems also persist in Continuum, though it occurs not during startup but when you try to access the webapp after it was started.
Hide
Maria Odea Ching added a comment -

We might need to wait for the next Redback release for the fixes

Show
Maria Odea Ching added a comment - We might need to wait for the next Redback release for the fixes
Hide
Maria Odea Ching added a comment -

Current status of this issue: waiting for the deployed redback-1.1-SNAPSHOT which contains the fixes to be synched to the codehaus snapshots repo

Show
Maria Odea Ching added a comment - Current status of this issue: waiting for the deployed redback-1.1-SNAPSHOT which contains the fixes to be synched to the codehaus snapshots repo
Hide
Maria Odea Ching added a comment -

Fixed in archiva-trunk -r638845.

Changes made:

  • upgraded redback to 1.1-SNAPSHOT
  • updated the archiva redback models to the new redback model
Show
Maria Odea Ching added a comment - Fixed in archiva-trunk -r638845. Changes made:
  • upgraded redback to 1.1-SNAPSHOT
  • updated the archiva redback models to the new redback model
Hide
Wendy Smoak added a comment -

The issue summary says Redback 1.0, but the fix was to upgrade to 1.1-SNAPSHOT?

Show
Wendy Smoak added a comment - The issue summary says Redback 1.0, but the fix was to upgrade to 1.1-SNAPSHOT?
Hide
Maria Odea Ching added a comment -

I'll update the issue summary as the released redback 1.0 is not usable when I upgraded Archiva to it. The errors I posted above are what I encountered in redback 1.0. The fixes for it are already in place in the deployed redback 1.1-SNAPSHOT.

Show
Maria Odea Ching added a comment - I'll update the issue summary as the released redback 1.0 is not usable when I upgraded Archiva to it. The errors I posted above are what I encountered in redback 1.0. The fixes for it are already in place in the deployed redback 1.1-SNAPSHOT.
Hide
David Chapman added a comment -

Using the latest trunk which has redback 1.1-SNAPSHOT it still fails to startup with the following error message. Is there an example application.xml I could use as I've followed the continuum instructions to produce this.

2008-03-27 16:25:14,392 [main] WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/root/tmp/apache-archiva-1.1-SNAPSHOT/apps/archiva/webapp/WEB-INF/lib/ehcache-1.3.0.jar!/ehcache-failsafe.xml
2008-03-27 16:25:14,430 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 2689 ms
2008-03-27 16:25:15,178 [main] INFO roleManager - loading redback-xwork-integration-core
2008-03-27 16:25:19,672 [main] INFO roleManager - loading Archiva
2008-03-27 16:25:21,041 [main] INFO com.opensymphony.webwork.config.DefaultConfiguration - Loading global messages from org.codehaus.plexus.redback.xwork.default
2008-03-27 16:25:21,043 [main] INFO com.opensymphony.webwork.config.DefaultConfiguration - Loading global messages from org.apache.maven.archiva.redback.custom
2008-03-27 16:25:21,058 [main] INFO com.opensymphony.webwork.spring.WebWorkSpringObjectFactory - Initializing WebWork-Spring integration...
2008-03-27 16:25:21,063 [main] INFO com.opensymphony.xwork.spring.SpringObjectFactory - Setting autowire strategy to name
2008-03-27 16:25:21,063 [main] INFO com.opensymphony.webwork.spring.WebWorkSpringObjectFactory - ... initialized WebWork-Spring integration successfully
[ERROR] Error while deploying appserver archiva-plexus-application-1.1-SNAPSHOT.jar.
org.codehaus.plexus.appserver.ApplicationServerException: Error in the app server lifecycle post-app-container-init-service-call phase.
at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:119)
at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:88)
at org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase$1.onJarDiscovered(ApplicationDeploymentPhase.java:44)
at org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scanDirectory(DefaultSupervisor.java:100)
at org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scan(DefaultSupervisor.java:73)
at org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase.execute(ApplicationDeploymentPhase.java:58)
at org.codehaus.plexus.appserver.DefaultApplicationServer.start(DefaultApplicationServer.java:218)
at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:297)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:291)
at org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:155)
at org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:85)
at org.codehaus.plexus.appserver.PlexusApplicationHost.main(PlexusApplicationHost.java:289)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
Caused by: org.codehaus.plexus.appserver.application.deploy.lifecycle.AppDeploymentException: Error calling service in pre-app init phase.
at org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:32)
at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:107)
... 26 more
Caused by: org.codehaus.plexus.appserver.service.PlexusServiceException: Error while starting the context /archiva
at org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:252)
at org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:28)
... 27 more
Caused by: org.codehaus.plexus.jetty.ServletContainerException: Error while starting the context /archiva
at org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:213)
at org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:248)
... 28 more
Caused by: org.mortbay.util.MultiExceptionorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securitySynchronization': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'environmentCheck#guest-user-check': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securitySystem': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer#rbac': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager#configurable': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager#ldap': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapConnectionFactory#configurable': Post-processing of the FactoryBean's object failed; nested exception is java.lang.NullPointerException, org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securitySystem': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer#rbac': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager#configurable': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager#ldap': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapConnectionFactory#configurable': Post-processing of the FactoryBean's object failed; nested exception is java.lang.NullPointerException
at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:486)
at org.mortbay.util.Container.start(Container.java:72)
at org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:209)
... 29 more
[INFO] The appserver server has been initialized.
[INFO] The appserver server has started.

Show
David Chapman added a comment - Using the latest trunk which has redback 1.1-SNAPSHOT it still fails to startup with the following error message. Is there an example application.xml I could use as I've followed the continuum instructions to produce this. 2008-03-27 16:25:14,392 [main] WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/root/tmp/apache-archiva-1.1-SNAPSHOT/apps/archiva/webapp/WEB-INF/lib/ehcache-1.3.0.jar!/ehcache-failsafe.xml 2008-03-27 16:25:14,430 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 2689 ms 2008-03-27 16:25:15,178 [main] INFO roleManager - loading redback-xwork-integration-core 2008-03-27 16:25:19,672 [main] INFO roleManager - loading Archiva 2008-03-27 16:25:21,041 [main] INFO com.opensymphony.webwork.config.DefaultConfiguration - Loading global messages from org.codehaus.plexus.redback.xwork.default 2008-03-27 16:25:21,043 [main] INFO com.opensymphony.webwork.config.DefaultConfiguration - Loading global messages from org.apache.maven.archiva.redback.custom 2008-03-27 16:25:21,058 [main] INFO com.opensymphony.webwork.spring.WebWorkSpringObjectFactory - Initializing WebWork-Spring integration... 2008-03-27 16:25:21,063 [main] INFO com.opensymphony.xwork.spring.SpringObjectFactory - Setting autowire strategy to name 2008-03-27 16:25:21,063 [main] INFO com.opensymphony.webwork.spring.WebWorkSpringObjectFactory - ... initialized WebWork-Spring integration successfully [ERROR] Error while deploying appserver archiva-plexus-application-1.1-SNAPSHOT.jar. org.codehaus.plexus.appserver.ApplicationServerException: Error in the app server lifecycle post-app-container-init-service-call phase. at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:119) at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:88) at org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase$1.onJarDiscovered(ApplicationDeploymentPhase.java:44) at org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scanDirectory(DefaultSupervisor.java:100) at org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scan(DefaultSupervisor.java:73) at org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase.execute(ApplicationDeploymentPhase.java:58) at org.codehaus.plexus.appserver.DefaultApplicationServer.start(DefaultApplicationServer.java:218) at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128) at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132) at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90) at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:297) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:291) at org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:155) at org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:85) at org.codehaus.plexus.appserver.PlexusApplicationHost.main(PlexusApplicationHost.java:289) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351) Caused by: org.codehaus.plexus.appserver.application.deploy.lifecycle.AppDeploymentException: Error calling service in pre-app init phase. at org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:32) at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:107) ... 26 more Caused by: org.codehaus.plexus.appserver.service.PlexusServiceException: Error while starting the context /archiva at org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:252) at org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:28) ... 27 more Caused by: org.codehaus.plexus.jetty.ServletContainerException: Error while starting the context /archiva at org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:213) at org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:248) ... 28 more Caused by: org.mortbay.util.MultiExceptionorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securitySynchronization': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'environmentCheck#guest-user-check': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securitySystem': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer#rbac': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager#configurable': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager#ldap': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapConnectionFactory#configurable': Post-processing of the FactoryBean's object failed; nested exception is java.lang.NullPointerException, org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securitySystem': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer#rbac': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager#configurable': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager#ldap': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapConnectionFactory#configurable': Post-processing of the FactoryBean's object failed; nested exception is java.lang.NullPointerException at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:486) at org.mortbay.util.Container.start(Container.java:72) at org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:209) ... 29 more [INFO] The appserver server has been initialized. [INFO] The appserver server has started.
Hide
Maria Odea Ching added a comment -

Upgraded redback to 1.0.1 -r647651.

Show
Maria Odea Ching added a comment - Upgraded redback to 1.0.1 -r647651.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: