java.lang.IllegalStateException: Could not initialize Nexus.

Sonatype JIRA | Deleted User | 8 years ago
  1. 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.
  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
    plexus.core
  3. 0

    VLD-1141, Template cannot contain escape characters.

    Oracle Community | 9 years ago | 642151
    java.lang.IllegalArgumentException: Template cannot contain escape characters.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    validation - template cannot contain escape characters

    Oracle Community | 1 decade ago | 479501
    java.lang.IllegalArgumentException: Template cannot contain escape characters.
  6. 0

    Request: return 400 before closing connection

    GitHub | 1 year ago | tomdcc
    java.lang.IllegalArgumentException: Header name cannot contain the following prohibited characters: =,;: \t\r\n\v\f

    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.IllegalArgumentException

      Cache name cannot contain '/' characters.

      at net.sf.ehcache.config.CacheConfiguration.setName()
    2. Ehcache
      CacheManager.addCache
      1. net.sf.ehcache.config.CacheConfiguration.setName(CacheConfiguration.java:163)
      2. net.sf.ehcache.Cache.setName(Cache.java:1696)
      3. net.sf.ehcache.CacheManager.addCache(CacheManager.java:618)
      3 frames
    3. ${project.groupId}:${project.artifactId}
      DefaultNexus.start
      1. org.sonatype.nexus.proxy.cache.EhCacheCacheManager.getPathCache(EhCacheCacheManager.java:47)
      2. org.sonatype.nexus.proxy.repository.AbstractRepository.getNotFoundCache(AbstractRepository.java:333)
      3. org.sonatype.nexus.proxy.repository.DefaultRepositoryConfigurator.updateRepositoryFromModel(DefaultRepositoryConfigurator.java:212)
      4. org.sonatype.nexus.proxy.maven.AbstractMavenRepositoryConfigurator.updateRepositoryFromModel(AbstractMavenRepositoryConfigurator.java:33)
      5. org.sonatype.nexus.proxy.maven.maven2.M2RepositoryConfigurator.updateRepositoryFromModel(M2RepositoryConfigurator.java:36)
      6. org.sonatype.nexus.configuration.application.runtime.DefaultApplicationRuntimeConfigurationBuilder.updateRepositoryFromModel(DefaultApplicationRuntimeConfigurationBuilder.java:120)
      7. org.sonatype.nexus.configuration.application.runtime.DefaultApplicationRuntimeConfigurationBuilder.createRepositoryFromModel(DefaultApplicationRuntimeConfigurationBuilder.java:82)
      8. org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositoryFromModel(DefaultNexusConfiguration.java:327)
      9. org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositories(DefaultNexusConfiguration.java:459)
      10. org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createInternals(DefaultNexusConfiguration.java:439)
      11. org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:1569)
      12. org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:1530)
      12 frames
    4. Plexus
      DefaultPlexusContainer.lookup
      1. org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
      2. org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
      3. org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167)
      4. org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:255)
      5. org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129)
      6. org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181)
      7. org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67)
      8. org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:327)
      9. org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:163)
      10. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:345)
      10 frames
    5. ${project.groupId}:${project.artifactId}
      NexusBooterListener.contextInitialized
      1. org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:32)
      1 frame
    6. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      6. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
      7. org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      16. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:578)
      18 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames