Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Downloaded the latest build from the trunk, and there is an error appearing when starting the server.

      2008-10-21 09:00:37.593 INFO [WrapperListener_start_runner:] - org.sonatype.jsecurity.web.PlexusConfiguration: Adding new protected resource with path='/service//repo_groups//index_content**' and filterExpression='authcBasic,tgiperms'
      2008-10-21 09:00:37.593 ERROR [WrapperListener_start_runner:] - /nexus: nexus: Error during the starting of the Restlet Application
      java.lang.IllegalStateException: Could not configure JSecurity to protect resource mounted to /repo_groups/

      {groupId}

      /index_content of class org.sonatype.nexus.rest.groups.GroupIndexContentPlexusResource
      at org.sonatype.nexus.rest.NexusApplication.handlePlexusResourceSecurity(NexusApplication.java:287)
      at org.sonatype.plexus.rest.PlexusRestletApplicationBridge.attach(PlexusRestletApplicationBridge.java:223)
      at org.sonatype.plexus.rest.PlexusRestletApplicationBridge.recreateRoot(PlexusRestletApplicationBridge.java:183)
      at org.sonatype.plexus.rest.PlexusRestletApplicationBridge.createRoot(PlexusRestletApplicationBridge.java:114)
      at org.restlet.Application.getRoot(Application.java:303)
      at com.noelios.restlet.application.ApplicationHelper.start(ApplicationHelper.java:139)
      at org.restlet.Application.start(Application.java:490)
      at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:815)
      at javax.servlet.GenericServlet.init(GenericServlet.java:241)
      at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
      at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:616)
      at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)
      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      at org.mortbay.jetty.Server.doStart(Server.java:222)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:250)
      at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
      at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
      at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:219)
      at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:97)
      at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135)
      at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96)
      at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
      at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:486)
      at org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:69)
      at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:851)
      at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:815)
      at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:407)
      at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:198)
      at org.sonatype.appbooter.PlexusContainerHost.startContainer(PlexusContainerHost.java:241)
      at org.sonatype.appbooter.jsw.PlexusJSWListener.start(PlexusJSWListener.java:101)
      at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
      Caused by: org.sonatype.jsecurity.web.SecurityConfigurationException: Could not apply changes!
      at org.sonatype.jsecurity.web.PlexusConfiguration.addProtectedResource(PlexusConfiguration.java:379)
      at org.sonatype.nexus.rest.NexusApplication.handlePlexusResourceSecurity(NexusApplication.java:282)
      ... 42 more
      Caused by: org.jsecurity.config.ConfigurationException: Path [/service/*/repo_groups/*/index_content**] specified a filter named 'tgiperms', but that filter has not been specified in the [filters] section.
      at org.sonatype.jsecurity.web.PlexusConfiguration.getPathFilters(PlexusConfiguration.java:340)
      at org.sonatype.jsecurity.web.PlexusConfiguration.addProtectedResource(PlexusConfiguration.java:375)
      ... 43 more
      2008-10-21 09:00:38.187 INFO [WrapperListener_start_runner:] - org.mortbay.log: Started SelectChannelConnector@0.0.0.0:8081
      2008-10-21 09:00:54.093 INFO [WrapperListener_stop_runner:] - org.sonatype.jsecurity.web.PlexusConfiguration: Adding new protected resource with path='/content/**' and filterExpression='contentAuthcBasic,contentTperms'

        Attachments

          Activity

            People

            • Assignee:
              dip Dmitry Platonoff
              Reporter:
              koconnor Kristine O'Connor
              Last Updated By:
              Rich Seddon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: