java.lang.IllegalStateException: Could not initialize Nexus.

Sonatype JIRA | Ivo Alexandre Marta Leitão | 5 years ago
  1. 0

    I'm trying to deploy an exploded war of version 1.9.2.4 of the nexus repository manager and I'm obtaining a NPE while deploying it. I've followed the thread http://maven.40175.n5.nabble.com/Nexus-on-Weblogic-td3267999.html to build the exploded war, change the configuration and I'm deploying it cd prto a remote weblogic server using the following command: The exception that I'm getting is the following (installation log included): log4j:WARN No appenders could be found for logger (org.sonatype.appcontext.AppContext). log4j:WARN Please initialize the log4j system properly. 2012-01-04 10:46:15 WARN [ (self-tuning)'] - org.codehaus.plexus.PlexusContainer - Error initializing: class org.sonatype.nexus.DefaultNexus java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:618) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:285) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:247) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:154) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:78) 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:254) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1003) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:47) 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:1021) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1014) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:229) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) 2012-01-04 10:46:15 WARN [ (self-tuning)'] - org.sonatype.guice.bean.reflect.NamedClass - Error injecting: org.sonatype.nexus.DefaultNexus com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.nexus.plugins.NexusPluginManager was bound. while locating org.sonatype.nexus.DefaultNexus 2) Error notifying InjectionListener org.sonatype.guice.plexus.binders.PlexusBeanBinder@900ab67 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus 2 errors at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:977) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1003) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:47) 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:1021) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1014) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:229) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused by: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:618) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:285) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:247) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:154) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:78) 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:254) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) ... 54 more <4/Jan/2012 10H46m GMT> <Warning> <HTTP> <BEA-101162> <User defined listener org.sonatype.nexus.web.NexusBooterListener failed: java.lang.IllegalStateException: Could not initialize Nexus.. java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:58) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) Truncated. see log file for complete stacktrace Caused By: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.nexus.plugins.NexusPluginManager was bound. while locating org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 2) Error notifying InjectionListener org.sonatype.guice.plexus.binders.PlexusBeanBinder@900ab67 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 2 errors role: org.sonatype.nexus.Nexus roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:229) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) Truncated. see log file for complete stacktrace Caused By: com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.nexus.plugins.NexusPluginManager was bound. while locating org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 2) Error notifying InjectionListener org.sonatype.guice.plexus.binders.PlexusBeanBinder@900ab67 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 2 errors at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:977) at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235) Truncated. see log file for complete stacktrace Caused By: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:618) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:285) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:247) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:154) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:78) Truncated. see log file for complete stacktrace > <4/Jan/2012 10H46m GMT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1325673956482' for task '1'. Error is: 'weblogic.application.ModuleException: ' weblogic.application.ModuleException: at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) Truncated. see log file for complete stacktrace Caused By: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:618) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:285) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:247) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:154) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:78) Truncated. see log file for complete stacktrace > <4/Jan/2012 10H46m GMT> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'nexus.war'.> <4/Jan/2012 10H46m GMT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'nexus.war'.> <4/Jan/2012 10H46m GMT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 weblogic.application.ModuleException: at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) Truncated. see log file for complete stacktrace Caused By: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:618) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:285) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:247) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:154) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:78) Truncated. see log file for complete stacktrace

    Sonatype JIRA | 5 years ago | Ivo Alexandre Marta Leitão
    java.lang.IllegalStateException: Could not initialize Nexus.
  2. 0

    1.2.1 open source version works. When upgradeing by placing the latest (1.3.4) war: 8-jun-2009 12:31:42 org.apache.catalina.core.ApplicationContext log INFO: Loading plexus configuration from: '/WEB-INF/plexus.xml' 8-jun-2009 12:31:42 org.apache.catalina.core.ApplicationContext log INFO: Loading plexus context properties from: '/WEB-INF/plexus.properties' 8-jun-2009 12:31:42 org.apache.catalina.core.ApplicationContext log INFO: Setting Plexus context variable basedir to: C:\inetpub\tomcat\localhost\nexus\WEB-INF 8-jun-2009 12:31:42 org.apache.catalina.core.ApplicationContext log INFO: Added 'basedir=C:\inetpub\tomcat\localhost\nexus\WEB-INF' to Plexus context. 8-jun-2009 12:32:01 org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.sonatype.nexus.web.NexusBooterListener java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:38) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.sonatype.nexus.Nexus', it could not be started. role: org.sonatype.nexus.Nexus roleHint: default classRealm: plexus.core at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:342) at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:163) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:345) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:32) ... 24 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:257) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181) at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67) at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:327) ... 27 more Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error starting component at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:37) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:255) ... 31 more Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus! at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:1534) at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) ... 34 more Caused by: java.lang.IllegalArgumentException: Cache name cannot contain '/' characters. at net.sf.ehcache.config.CacheConfiguration.setName(CacheConfiguration.java:163) at net.sf.ehcache.Cache.setName(Cache.java:1696) at net.sf.ehcache.CacheManager.addCache(CacheManager.java:618) at org.sonatype.nexus.proxy.cache.EhCacheCacheManager.getPathCache(EhCacheCacheManager.java:47) at org.sonatype.nexus.proxy.repository.AbstractRepository.getNotFoundCache(AbstractRepository.java:333) at org.sonatype.nexus.proxy.repository.DefaultRepositoryConfigurator.updateRepositoryFromModel(DefaultRepositoryConfigurator.java:212) at org.sonatype.nexus.proxy.maven.AbstractMavenRepositoryConfigurator.updateRepositoryFromModel(AbstractMavenRepositoryConfigurator.java:33) at org.sonatype.nexus.proxy.maven.maven2.M2RepositoryConfigurator.updateRepositoryFromModel(M2RepositoryConfigurator.java:36) at org.sonatype.nexus.configuration.application.runtime.DefaultApplicationRuntimeConfigurationBuilder.updateRepositoryFromModel(DefaultApplicationRuntimeConfigurationBuilder.java:120) at org.sonatype.nexus.configuration.application.runtime.DefaultApplicationRuntimeConfigurationBuilder.createRepositoryFromModel(DefaultApplicationRuntimeConfigurationBuilder.java:82) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositoryFromModel(DefaultNexusConfiguration.java:327) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositories(DefaultNexusConfiguration.java:459) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createInternals(DefaultNexusConfiguration.java:439) at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:1569) at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:1530) ... 35 more 8-jun-2009 12:32:05 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized()

    Sonatype JIRA | 8 years ago | Deleted User
    java.lang.IllegalStateException: Could not initialize Nexus.
  3. 0

    When I try to deploy nexus-webapp-1.4.0.war to JBoss AS 5.1.0 GA (via admin console or via deploy folder) I get following error (copied from JBoss log): 2009-11-20 20:07:26,950 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/nexus-webapp-1.4.0]] (ResourceContainer.invoker.nonDaemon-2) Exception sending context initialized event to listener instance of class org.sonatype.nexus.web.NexusBooterListener java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:43) ... Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.sonatype.nexus.Nexus', it could not be started. role: org.sonatype.nexus.Nexus roleHint: default classRealm: plexus.core at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:366) at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:178) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:383) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:35) ... 77 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:282) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181) at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67) at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:351) ... 80 more Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error starting component at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:37) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:280) ... 84 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.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) ... 87 more Caused by: java.lang.NullPointerException at org.sonatype.security.DefaultSecuritySystem.clearRealmCaches(DefaultSecuritySystem.java:859) at org.sonatype.security.DefaultSecuritySystem.start(DefaultSecuritySystem.java:842) at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:680) at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:647) at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) ... Full error log is attached to this issue.

    Sonatype JIRA | 7 years ago | Alexander Sokolovsky
    java.lang.IllegalStateException: Could not initialize Nexus.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I staged a repository, then restarted nexus, got the following exception: After I moved the 'test-002' repo config before the 'public' group config in nexus.xml, it works. {noformat} jvm 1 | Number of imports: 0 jvm 1 | jvm 1 | jvm 1 | ----------------------------------------------------- jvm 1 | 2009-06-26 22:34:13 ERROR - org.mortbay.log - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f12b72{/nexus,../../../runtime/apps/nexus/webapp} jvm 1 | java.lang.IllegalStateException: Could not initialize Nexus. jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:43) jvm 1 | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) jvm 1 | at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) jvm 1 | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234) jvm 1 | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) jvm 1 | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460) jvm 1 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) jvm 1 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) jvm 1 | at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) jvm 1 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) jvm 1 | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) jvm 1 | at org.mortbay.jetty.Server.doStart(Server.java:222) jvm 1 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) jvm 1 | at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:309) 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:97) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167) jvm 1 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:255) jvm 1 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181) jvm 1 | at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67) jvm 1 | at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:329) jvm 1 | at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:165) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:372) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:585) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:275) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:166) jvm 1 | at org.sonatype.appbooter.PlexusAppBooter.startContainer(PlexusAppBooter.java:332) jvm 1 | at org.sonatype.appbooter.PlexusAppBooterService.startContainer(PlexusAppBooterService.java:48) jvm 1 | at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.start(PlexusAppBooterJSWListener.java:68) jvm 1 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.sonatype.nexus.Nexus', it could not be started. jvm 1 | role: org.sonatype.nexus.Nexus jvm 1 | roleHint: default jvm 1 | classRealm: plexus.core jvm 1 | at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:344) jvm 1 | at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:165) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:377) jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:35) jvm 1 | ... 30 more jvm 1 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component jvm 1 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:257) jvm 1 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181) jvm 1 | at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67) jvm 1 | at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:329) jvm 1 | ... 33 more jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error starting component jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:37) jvm 1 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) jvm 1 | at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167) jvm 1 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:255) jvm 1 | ... 37 more jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus! jvm 1 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:743) jvm 1 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) jvm 1 | ... 40 more jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus! jvm 1 | at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:845) jvm 1 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:739) jvm 1 | ... 41 more jvm 1 | Caused by: org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! jvm 1 | Validation errors follows: jvm 1 | o repositories - ResourceStore of type Repository with id='test-002' not found! jvm 1 | jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractGroupRepositoryConfigurator.doValidate(AbstractGroupRepositoryConfigurator.java:58) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepositoryConfigurator.validate(AbstractRepositoryConfigurator.java:52) jvm 1 | at org.sonatype.nexus.configuration.AbstractConfigurable.doValidateConfiguration(AbstractConfigurable.java:83) jvm 1 | at org.sonatype.nexus.configuration.AbstractConfigurable.validateConfiguration(AbstractConfigurable.java:46) jvm 1 | at org.sonatype.nexus.configuration.AbstractConfigurable.configure(AbstractConfigurable.java:52) jvm 1 | at org.sonatype.nexus.configuration.application.runtime.DefaultApplicationRuntimeConfigurationBuilder.createRepositoryFromModel(DefaultApplicationRuntimeConfigurationBuilder.java:46) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositoryFromModel(DefaultNexusConfiguration.java:329) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositories(DefaultNexusConfiguration.java:432) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createInternals(DefaultNexusConfiguration.java:412) jvm 1 | at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:775) jvm 1 | ... 42 more jvm 1 | 2009-06-26 22:34:14 INFO - org.mortbay.log - Started SelectChannelConnector@0.0.0.0:8081 {noformat}

    Sonatype JIRA | 7 years ago | Juven Xu
    java.lang.IllegalStateException: Could not initialize Nexus.
  6. 0

    I just grabed 1.3.6 from r.s.o (https://repository.sonatype.org/service/local/repositories/central-proxy/content/org/sonatype/nexus/nexus-webapp/1.3.6/nexus-webapp-1.3.6-bundle.zip) Started, stopped Started 2.0.0 using same configuration. Got the following error: {noformat} jvm 1 | 2012-03-01 15:12:42 ERROR [y-main-thread-1] - org.sonatype.nexus.DefaultNexus - Could not start Nexus, user configuration exception! jvm 1 | org.sonatype.configuration.ConfigurationException: Nexus configuration file was not loaded, it has the wrong structure. jvm 1 | at org.sonatype.nexus.configuration.source.AbstractApplicationConfigurationSource.loadConfiguration(AbstractApplicationConfigurationSource.java:105) ~[nexus-configuration-2.1-SNAPSHOT. jar:na] jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:328) ~[nexus-configuration-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:164) ~[nexus-configuration-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:47) ~[nexus-configuration-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.loadConfiguration(DefaultNexusConfiguration.java:168) ~[nexus-app-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:440) [nexus-app-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:410) [nexus-app-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.start(PlexusLifecycleManager.java:359) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:303) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.Scopes$1$1.get(Scopes.java:59) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) [sisu-inject-bean-2.3.0.jar:na] jvm 1 | at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40) [nexus-web-utils-2.1-SNAPSHOT.jar:na] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) [jetty-servlet-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) [jetty-servlet-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213) [jetty-webapp-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) [jetty-webapp-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:263) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) [sisu-jetty8-1.0.jar:na] jvm 1 | Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'security' (position: START_TAG seen ...</version>\n <security>... @4:13) jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.checkUnknownElement(NexusConfigurationXpp3Reader.java:135) ~[nexus-configuration-model-2.1-SNAPSHOT.jar:n a] jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.parseConfiguration(NexusConfigurationXpp3Reader.java:2415) ~[nexus-configuration-model-2.1-SNAPSHOT.jar:n a] jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2506) ~[nexus-configuration-model-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2439) ~[nexus-configuration-model-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2453) ~[nexus-configuration-model-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.source.AbstractApplicationConfigurationSource.loadConfiguration(AbstractApplicationConfigurationSource.java:99) ~[nexus-configuration-2.1-SNAPSHOT.j ar:na] jvm 1 | ... 42 common frames omitted jvm 1 | 2012-03-01 15:12:42 WARN [y-main-thread-1] - org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager - Error starting: org.sonatype.nexus.DefaultNexus@7946188 jvm 1 | org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus! jvm 1 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:414) ~[nexus-app-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.start(PlexusLifecycleManager.java:359) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:303) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.Scopes$1$1.get(Scopes.java:59) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) [sisu-guice-3.1.1-no_aop.jar:na] jvm 1 | at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) [sisu-inject-bean-2.3.0.jar:na] jvm 1 | at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) [sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40) [nexus-web-utils-2.1-SNAPSHOT.jar:na] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) [jetty-servlet-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) [jetty-servlet-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213) [jetty-webapp-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) [jetty-webapp-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:263) [jetty-server-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-8.1.1.v20120215.jar:8.1.1.v20120215] jvm 1 | at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) [sisu-jetty8-1.0.jar:na] jvm 1 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus! jvm 1 | at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:510) ~[nexus-app-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:410) ~[nexus-app-2.1-SNAPSHOT.jar:na] jvm 1 | ... 36 common frames omitted jvm 1 | Caused by: org.sonatype.configuration.ConfigurationException: Nexus configuration file was not loaded, it has the wrong structure. jvm 1 | at org.sonatype.nexus.configuration.source.AbstractApplicationConfigurationSource.loadConfiguration(AbstractApplicationConfigurationSource.java:105) ~[nexus-configuration-2.1-SNAPSHOT. jar:na] jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:328) ~[nexus-configuration-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:164) ~[nexus-configuration-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:47) ~[nexus-configuration-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.loadConfiguration(DefaultNexusConfiguration.java:168) ~[nexus-app-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:440) ~[nexus-app-2.1-SNAPSHOT.jar:na] jvm 1 | ... 37 common frames omitted jvm 1 | Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'security' (position: START_TAG seen ...</version>\n <security>... @4:13) jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.checkUnknownElement(NexusConfigurationXpp3Reader.java:135) ~[nexus-configuration-model-2.1-SNAPSHOT.jar:n a] jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.parseConfiguration(NexusConfigurationXpp3Reader.java:2415) ~[nexus-configuration-model-2.1-SNAPSHOT.jar:n a] jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2506) ~[nexus-configuration-model-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2439) ~[nexus-configuration-model-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2453) ~[nexus-configuration-model-2.1-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.configuration.source.AbstractApplicationConfigurationSource.loadConfiguration(AbstractApplicationConfigurationSource.java:99) ~[nexus-configuration-2.1-SNAPSHOT.j ar:na] jvm 1 | ... 42 common frames omitted jvm 1 | 2012-03-01 15:12:42.409:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/nexus,file:/S:/nexus-bundles/nexus-oss/target/nexus-2.1-SNAPSHOT/nexus/},./nexus jvm 1 | java.lang.IllegalStateException: Could not initialize Nexus. jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:50) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:263) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) jvm 1 | Caused by: jvm 1 | org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Guice provision errors:<|<|1) org.codehaus.plexus.personality.plexus.lifec ycle.phase.StartingException: Could not start Nexus!<| at ClassRealm[plexus.core, parent: null]<| while locating org.sonatype.nexus.Nexus<|<|1 error<| role: org.sonatype.nexus.Nexus<| roleHint : jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:257) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:263) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) jvm 1 | Caused by: jvm 1 | com.google.inject.ProvisionException: Guice provision errors:<|<|1) org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus!<| at ClassRealm[plexus. core, parent: null]<| while locating org.sonatype.nexus.Nexus<|<|1 error jvm 1 | at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:999) jvm 1 | at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) jvm 1 | at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:263) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) jvm 1 | Caused by: jvm 1 | org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus! jvm 1 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:414) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.start(PlexusLifecycleManager.java:359) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:303) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) jvm 1 | at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) jvm 1 | at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) jvm 1 | at com.google.inject.Scopes$1$1.get(Scopes.java:59) jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) jvm 1 | at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) jvm 1 | at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) jvm 1 | at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) jvm 1 | at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:263) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) jvm 1 | Caused by: jvm 1 | org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus! jvm 1 | at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:510) jvm 1 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:410) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.start(PlexusLifecycleManager.java:359) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:303) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) jvm 1 | at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) jvm 1 | at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) jvm 1 | at com.google.inject.Scopes$1$1.get(Scopes.java:59) jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) jvm 1 | at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) jvm 1 | at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) jvm 1 | at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) jvm 1 | at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:263) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) jvm 1 | Caused by: jvm 1 | org.sonatype.configuration.ConfigurationException: Nexus configuration file was not loaded, it has the wrong structure. jvm 1 | at org.sonatype.nexus.configuration.source.AbstractApplicationConfigurationSource.loadConfiguration(AbstractApplicationConfigurationSource.java:105) jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:328) jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:164) jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:47) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.loadConfiguration(DefaultNexusConfiguration.java:168) jvm 1 | at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:440) jvm 1 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:410) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.start(PlexusLifecycleManager.java:359) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:303) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) jvm 1 | at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) jvm 1 | at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) jvm 1 | at com.google.inject.Scopes$1$1.get(Scopes.java:59) jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) jvm 1 | at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) jvm 1 | at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) jvm 1 | at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) jvm 1 | at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:263) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) jvm 1 | Caused by: jvm 1 | org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'security' (position: START_TAG seen ...</version>\n <security>... @4:13) jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.checkUnknownElement(NexusConfigurationXpp3Reader.java:135) jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.parseConfiguration(NexusConfigurationXpp3Reader.java:2415) jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2506) jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2439) jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2453) jvm 1 | at org.sonatype.nexus.configuration.source.AbstractApplicationConfigurationSource.loadConfiguration(AbstractApplicationConfigurationSource.java:99) jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:328) jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:164) jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:47) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.loadConfiguration(DefaultNexusConfiguration.java:168) jvm 1 | at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:440) jvm 1 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:410) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.start(PlexusLifecycleManager.java:359) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:303) jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) jvm 1 | at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) jvm 1 | at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) jvm 1 | at com.google.inject.Scopes$1$1.get(Scopes.java:59) jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) jvm 1 | at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) jvm 1 | at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) jvm 1 | at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) jvm 1 | at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:263) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) jvm 1 | 2012-03-01 15:12:42.582:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8081 {noformat}

    Sonatype JIRA | 5 years ago | Marvin Herman Froeder
    java.lang.IllegalStateException: Could not initialize Nexus.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Could not initialize Nexus.

      at org.sonatype.nexus.web.NexusBooterListener.contextInitialized()
    2. ${project.groupId}:${project.artifactId}
      NexusBooterListener.contextInitialized
      1. org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:58)
      1 frame
    3. Atmosphere weblogic
      EventsManager$FireContextListenerAction.run
      1. weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
      1 frame
    4. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    5. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    6. Atmosphere weblogic
      EventsManager.notifyContextCreatedEvent
      1. weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
      1 frame