org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException: Could not stop Nexus!

Sonatype JIRA | Juven Xu | 6 years ago
  1. 0

    {noformat} 2010-11-03 09:16:06 INFO [er_start_runner] - o.s.n.c.a.DefaultNe~ - Applying Nexus Configuration... 2010-11-03 09:16:06 INFO [er_start_runner] - o.s.t.DefaultTimeli~ - Failed to write to timeline index, trying to repair it. 2010-11-03 09:16:06 WARN [er_start_runner] - o.s.t.DefaultTimeli~ - Failed to add a timeline record org.sonatype.timeline.TimelineException: Failed to configure timeline index! at org.sonatype.timeline.DefaultTimelineIndexer.configure(DefaultTimelineIndexer.java:115) at org.sonatype.timeline.DefaultTimeline.repairTimelineIndexer(DefaultTimeline.java:84) at org.sonatype.timeline.DefaultTimeline.add(DefaultTimeline.java:110) at org.sonatype.nexus.timeline.DefaultNexusTimeline.add(DefaultNexusTimeline.java:127) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:518) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:513) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addSystemEvent(DefaultFeedRecorder.java:407) at org.sonatype.nexus.events.ConfigurationChangeEventInspector.inspectForNexus(ConfigurationChangeEventInspector.java:68) at org.sonatype.nexus.events.ConfigurationChangeEventInspector.inspect(ConfigurationChangeEventInspector.java:38) at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:48) at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:62) at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:55) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.applyConfiguration(DefaultNexusConfiguration.java:224) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.saveConfiguration(DefaultNexusConfiguration.java:242) at org.sonatype.nexus.configuration.application.ApplicationConfigurationAdapter.saveConfiguration(ApplicationConfigurationAdapter.java:70) at org.sonatype.scheduling.DefaultTaskConfigManager.addTask(DefaultTaskConfigManager.java:220) at org.sonatype.scheduling.DefaultScheduler.taskRescheduled(DefaultScheduler.java:162) at org.sonatype.scheduling.DefaultScheduledTask.reschedule(DefaultScheduledTask.java:255) at org.sonatype.scheduling.DefaultScheduledTask.start(DefaultScheduledTask.java:109) at org.sonatype.scheduling.DefaultScheduler.schedule(DefaultScheduler.java:271) at org.sonatype.scheduling.DefaultScheduler.initialize(DefaultScheduler.java:229) at org.sonatype.scheduling.DefaultTaskConfigManager.initializeTasks(DefaultTaskConfigManager.java:164) at org.sonatype.scheduling.DefaultScheduler.initializeTasks(DefaultScheduler.java:115) at org.sonatype.nexus.scheduling.DefaultNexusScheduler.initializeTasks(DefaultNexusScheduler.java:52) at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:688) at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:647) at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:229) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:145) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:943) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:939) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:978) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:63) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:943) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:939) at org.sonatype.guice.bean.locators.QualifiedBean.getValue(QualifiedBean.java:85) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:55) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:226) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:220) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:43) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:308) at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:229) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:145) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:63) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:217) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:211) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:989) at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:211) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:192) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:122) at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:100) at com.google.inject.Guice.createInjector(Guice.java:95) at com.google.inject.Guice.createInjector(Guice.java:72) at com.google.inject.Guice.createInjector(Guice.java:61) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:433) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:177) at org.sonatype.appbooter.PlexusAppBooter.startContainer(PlexusAppBooter.java:256) at org.sonatype.appbooter.PlexusAppBooterService.startContainer(PlexusAppBooterService.java:48) at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.start(PlexusAppBooterJSWListener.java:68) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) Caused by: java.io.FileNotFoundException: /data/nexus-work-oss/timeline/index/_3xrc.cfs (No such file or directory) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212) at org.apache.lucene.store.FSDirectory$FSIndexInput$Descriptor.<init>(FSDirectory.java:552) at org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:582) at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:488) at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:70) at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:321) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:306) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:260) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4220) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3884) at org.apache.lucene.index.SerialMergeScheduler.merge(SerialMergeScheduler.java:36) at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1643) at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1602) at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1578) at org.sonatype.timeline.DefaultTimelineIndexer.closeIndexWriter(DefaultTimelineIndexer.java:174) at org.sonatype.timeline.DefaultTimelineIndexer.configure(DefaultTimelineIndexer.java:86) ... 92 more 2010-11-03 09:16:08 INFO [er_start_runner] - o.s.n.c.v.DefaultAp~ - Nexus configuration validated succesfully. 2010-11-03 09:16:08 INFO [er_start_runner] - o.s.s.DefaultTaskCo~ - Loading task - Remove Snapshots 2010-11-03 09:16:08 INFO [er_start_runner] - o.s.n.c.a.DefaultNe~ - Applying Nexus Configuration... 2010-11-03 09:16:08 WARN [er_start_runner] - o.s.n.e.DefaultEven~ - EventInspector hint='ConfigurationChangeEvent' class='org.sonatype.nexus.events.ConfigurationChangeEventInspector' had problem inspecting an event='class org.sonatype.nexus.configuration.ConfigurationChangeEvent' org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed at org.apache.lucene.index.DocumentsWriter.waitReady(DocumentsWriter.java:849) at org.apache.lucene.index.DocumentsWriter.getThreadState(DocumentsWriter.java:689) at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:755) at org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:743) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1917) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1895) at org.sonatype.timeline.DefaultTimelineIndexer.add(DefaultTimelineIndexer.java:210) at org.sonatype.timeline.DefaultTimeline.add(DefaultTimeline.java:99) at org.sonatype.nexus.timeline.DefaultNexusTimeline.add(DefaultNexusTimeline.java:127) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:518) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:513) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addSystemEvent(DefaultFeedRecorder.java:407) at org.sonatype.nexus.events.ConfigurationChangeEventInspector.inspectForNexus(ConfigurationChangeEventInspector.java:68) at org.sonatype.nexus.events.ConfigurationChangeEventInspector.inspect(ConfigurationChangeEventInspector.java:38) at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:48) at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:62) at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:55) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.applyConfiguration(DefaultNexusConfiguration.java:224) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.saveConfiguration(DefaultNexusConfiguration.java:242) at org.sonatype.nexus.configuration.application.ApplicationConfigurationAdapter.saveConfiguration(ApplicationConfigurationAdapter.java:70) at org.sonatype.scheduling.DefaultTaskConfigManager.addTask(DefaultTaskConfigManager.java:220) at org.sonatype.scheduling.DefaultScheduler.taskRescheduled(DefaultScheduler.java:162) at org.sonatype.scheduling.DefaultScheduledTask.reschedule(DefaultScheduledTask.java:255) at org.sonatype.scheduling.DefaultScheduledTask.start(DefaultScheduledTask.java:109) at org.sonatype.scheduling.DefaultScheduler.schedule(DefaultScheduler.java:271) at org.sonatype.scheduling.DefaultScheduler.initialize(DefaultScheduler.java:229) at org.sonatype.scheduling.DefaultTaskConfigManager.initializeTasks(DefaultTaskConfigManager.java:164) at org.sonatype.scheduling.DefaultScheduler.initializeTasks(DefaultScheduler.java:115) at org.sonatype.nexus.scheduling.DefaultNexusScheduler.initializeTasks(DefaultNexusScheduler.java:52) at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:688) at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:647) at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:229) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:145) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:943) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:939) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:978) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:63) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:943) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:939) at org.sonatype.guice.bean.locators.QualifiedBean.getValue(QualifiedBean.java:85) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:55) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:226) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:220) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:43) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:308) at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:229) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:145) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:63) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:217) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:211) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:989) at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:211) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:192) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:122) at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:100) at com.google.inject.Guice.createInjector(Guice.java:95) at com.google.inject.Guice.createInjector(Guice.java:72) at com.google.inject.Guice.createInjector(Guice.java:61) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:433) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:177) at org.sonatype.appbooter.PlexusAppBooter.startContainer(PlexusAppBooter.java:256) at org.sonatype.appbooter.PlexusAppBooterService.startContainer(PlexusAppBooterService.java:48) at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.start(PlexusAppBooterJSWListener.java:68) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) 2010-11-03 09:16:08 INFO [er_start_runner] - o.s.n.c.v.DefaultAp~ - Nexus configuration validated succesfully. 2010-11-03 09:16:09 INFO [er_start_runner] - o.s.s.DefaultTaskCo~ - Loading task - Publish Indexes 2010-11-03 09:16:09 INFO [er_start_runner] - o.s.n.c.a.DefaultNe~ - Applying Nexus Configuration... ............................ 2010-11-03 09:16:10 INFO [er_start_runner] - o.s.n.c.v.DefaultAp~ - Nexus configuration validated succesfully. 2010-11-03 09:16:10 ERROR [er_start_runner] - o.s.g.b.r.NamedClass - Error injecting: org.sonatype.nexus.DefaultNexus com.google.inject.ProvisionException: Guice provision errors: 1) Error starting: class org.sonatype.nexus.DefaultNexus while locating org.sonatype.nexus.DefaultNexus 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:952) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:978) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:63) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:943) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:939) at org.sonatype.guice.bean.locators.QualifiedBean.getValue(QualifiedBean.java:85) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:55) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:226) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:220) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:43) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:308) at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:229) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:145) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:63) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:217) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:211) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:989) at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:211) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:192) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:122) at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:100) at com.google.inject.Guice.createInjector(Guice.java:95) at com.google.inject.Guice.createInjector(Guice.java:72) at com.google.inject.Guice.createInjector(Guice.java:61) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:433) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:177) at org.sonatype.appbooter.PlexusAppBooter.startContainer(PlexusAppBooter.java:256) at org.sonatype.appbooter.PlexusAppBooterService.startContainer(PlexusAppBooterService.java:48) at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.start(PlexusAppBooterJSWListener.java:68) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus! at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:651) at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:229) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:145) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:943) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:939) ... 58 more Caused by: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed at org.apache.lucene.index.DocumentsWriter.waitReady(DocumentsWriter.java:849) at org.apache.lucene.index.DocumentsWriter.getThreadState(DocumentsWriter.java:689) at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:755) at org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:743) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1917) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1895) at org.sonatype.timeline.DefaultTimelineIndexer.add(DefaultTimelineIndexer.java:210) at org.sonatype.timeline.DefaultTimeline.add(DefaultTimeline.java:99) at org.sonatype.nexus.timeline.DefaultNexusTimeline.add(DefaultNexusTimeline.java:127) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:518) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:513) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addSystemEvent(DefaultFeedRecorder.java:407) at org.sonatype.nexus.DefaultNexus.addSystemEvent(DefaultNexus.java:495) at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:694) at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:647) ... 67 more 2010-11-03 09:16:10 ERROR [er_start_runner] - org.mortbay.log - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@8c6ea1{/,/opt/j2ee/domains/sonatype.org/oss.repository/nexus-professional-webapp-1.8.0/./runtime/apps/nexus/webapp} java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:53) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:308) at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:229) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:145) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:63) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:217) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:211) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:989) at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:211) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:192) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:122) at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:100) at com.google.inject.Guice.createInjector(Guice.java:95) at com.google.inject.Guice.createInjector(Guice.java:72) at com.google.inject.Guice.createInjector(Guice.java:61) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:433) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:177) at org.sonatype.appbooter.PlexusAppBooter.startContainer(PlexusAppBooter.java:256) at org.sonatype.appbooter.PlexusAppBooterService.startContainer(PlexusAppBooterService.java:48) at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.start(PlexusAppBooterJSWListener.java:68) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting: org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 1 error role: org.sonatype.nexus.Nexus roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:238) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:226) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:220) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:43) ... 41 more Caused by: com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting: org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:952) at org.sonatype.guice.bean.locators.QualifiedBean.getValue(QualifiedBean.java:85) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:55) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234) ... 44 more Caused by: com.google.inject.ProvisionException: Guice provision errors: 1) Error starting: class org.sonatype.nexus.DefaultNexus while locating org.sonatype.nexus.DefaultNexus 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:952) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:978) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:63) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:943) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:939) ... 47 more Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus! at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:651) at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:229) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:145) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:943) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:939) ... 58 more Caused by: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed at org.apache.lucene.index.DocumentsWriter.waitReady(DocumentsWriter.java:849) at org.apache.lucene.index.DocumentsWriter.getThreadState(DocumentsWriter.java:689) at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:755) at org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:743) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1917) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1895) at org.sonatype.timeline.DefaultTimelineIndexer.add(DefaultTimelineIndexer.java:210) at org.sonatype.timeline.DefaultTimeline.add(DefaultTimeline.java:99) at org.sonatype.nexus.timeline.DefaultNexusTimeline.add(DefaultNexusTimeline.java:127) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:518) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:513) at org.sonatype.nexus.feeds.DefaultFeedRecorder.addSystemEvent(DefaultFeedRecorder.java:407) at org.sonatype.nexus.DefaultNexus.addSystemEvent(DefaultNexus.java:495) at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:694) at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:647) ... 67 more 2010-11-03 09:16:10 INFO [er_start_runner] - org.mortbay.log - Started SelectChannelConnector@0.0.0.0:9000 2010-11-03 09:17:22 WARN [ner_stop_runner] - c.s.n.l.Professiona~ - Couldn't validate the Professional License, running in evaluation mode. 2010-11-03 09:17:22 WARN [ner_stop_runner] - o.c.p.PlexusContain~ - Problem stopping: class org.sonatype.nexus.DefaultNexus org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException: Could not stop Nexus! at org.sonatype.nexus.DefaultNexus.stop(DefaultNexus.java:664) at org.codehaus.plexus.PlexusLifecycleManager.stop(PlexusLifecycleManager.java:241) at org.codehaus.plexus.PlexusLifecycleManager.unmanage(PlexusLifecycleManager.java:174) at org.codehaus.plexus.DefaultPlexusContainer.dispose(DefaultPlexusContainer.java:542) at org.sonatype.appbooter.PlexusAppBooter.stopContainer(PlexusAppBooter.java:289) at org.sonatype.appbooter.PlexusAppBooterService.stopContainer(PlexusAppBooterService.java:105) at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.stop(PlexusAppBooterJSWListener.java:87) at org.tanukisoftwa {noformat}

    Sonatype JIRA | 6 years ago | Juven Xu
    org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException: Could not stop Nexus!

    Root Cause Analysis

    1. org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException

      Could not stop Nexus!

      at org.sonatype.nexus.DefaultNexus.stop()
    2. ${project.groupId}:${project.artifactId}
      DefaultNexus.stop
      1. org.sonatype.nexus.DefaultNexus.stop(DefaultNexus.java:664)
      1 frame
    3. Plexus
      DefaultPlexusContainer.dispose
      1. org.codehaus.plexus.PlexusLifecycleManager.stop(PlexusLifecycleManager.java:241)
      2. org.codehaus.plexus.PlexusLifecycleManager.unmanage(PlexusLifecycleManager.java:174)
      3. org.codehaus.plexus.DefaultPlexusContainer.dispose(DefaultPlexusContainer.java:542)
      3 frames
    4. org.sonatype.appbooter
      PlexusAppBooterJSWListener.stop
      1. org.sonatype.appbooter.PlexusAppBooter.stopContainer(PlexusAppBooter.java:289)
      2. org.sonatype.appbooter.PlexusAppBooterService.stopContainer(PlexusAppBooterService.java:105)
      3. org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.stop(PlexusAppBooterJSWListener.java:87)
      3 frames