org.sonatype.nexus.proxy.AccessDeniedException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I've created an M2 group repository which has: 1) Maven central proxy 2) A virtual M2 repo for http://download.java.net/maven/1 Then I created a user which has read permissions for the group. This user can download artifacts from central through the group. but gets a 403 error trying to access artifacts from download.java.net. If I explicitly grant read permission to the M1 repo, the user can download artifacts. Configuration is attached. {code} 2010-03-11 19:49:26 DEBUG [9.1/orb-9.1.jar] - o.s.s.a.ExceptionCa~ - Realm: XmlAuthenticatingRealm user: rich does NOT have permisison: nexus:target:2:m1:read 2010-03-11 19:49:26 DEBUG [9.1/orb-9.1.jar] - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: rich does NOT have permisison: nexus:target:2:m1:read 2010-03-11 19:49:26 DEBUG [9.1/orb-9.1.jar] - o.s.n.p.a.NexusItem~:default - Subject is authenticated, but has none of the needed permissions, rejecting. 2010-03-11 19:49:26 DEBUG [9.1/orb-9.1.jar] - o.s.p.r.r.ManagedPl~:content - Got exception during processing GET http://localhost:8081/nexus/content/groups/agroup/com/sun/corba/orb/9.1/orb-9.1.jar org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='m1', path='/com.sun.corba/jars/orb-9.1.jar', action='read'! at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:40) at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1150) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:527) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.dereferenceLink(DefaultRepositoryRouter.java:161) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.mangle(DefaultRepositoryRouter.java:413) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:179) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:134) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:263) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:322) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) 2010-03-11 19:49:26 DEBUG [9.1/orb-9.1.jar] - org.mortbay.log - RESPONSE /nexus/content/groups/agroup/com/sun/corba/orb/9.1/orb-9.1.jar 403 2010-03-11 19:49:34 DEBUG [cal/log/config?] - org.mortbay.log - REQUEST /nexus/service/local/log/config on org.mortbay.jetty.HttpConnection@2d46a823 2010-03-11 19:49:34 DEBUG [cal/log/config?] - org.mortbay.log - Got Session ID 1j8cj4vr3c16j from cookie {code}
    via by Rich Seddon,
  • I've created an M2 group repository which has: 1) Maven central proxy 2) A virtual M2 repo for http://download.java.net/maven/1 Then I created a user which has read permissions for the group. This user can download artifacts from central through the group. but gets a 403 error trying to access artifacts from download.java.net. If I explicitly grant read permission to the M1 repo, the user can download artifacts. Configuration is attached. {code} 2010-03-11 19:49:26 DEBUG [9.1/orb-9.1.jar] - o.s.s.a.ExceptionCa~ - Realm: XmlAuthenticatingRealm user: rich does NOT have permisison: nexus:target:2:m1:read 2010-03-11 19:49:26 DEBUG [9.1/orb-9.1.jar] - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: rich does NOT have permisison: nexus:target:2:m1:read 2010-03-11 19:49:26 DEBUG [9.1/orb-9.1.jar] - o.s.n.p.a.NexusItem~:default - Subject is authenticated, but has none of the needed permissions, rejecting. 2010-03-11 19:49:26 DEBUG [9.1/orb-9.1.jar] - o.s.p.r.r.ManagedPl~:content - Got exception during processing GET http://localhost:8081/nexus/content/groups/agroup/com/sun/corba/orb/9.1/orb-9.1.jar org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='m1', path='/com.sun.corba/jars/orb-9.1.jar', action='read'! at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:40) at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1150) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:527) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.dereferenceLink(DefaultRepositoryRouter.java:161) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.mangle(DefaultRepositoryRouter.java:413) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:179) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:134) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:263) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:322) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) 2010-03-11 19:49:26 DEBUG [9.1/orb-9.1.jar] - org.mortbay.log - RESPONSE /nexus/content/groups/agroup/com/sun/corba/orb/9.1/orb-9.1.jar 403 2010-03-11 19:49:34 DEBUG [cal/log/config?] - org.mortbay.log - REQUEST /nexus/service/local/log/config on org.mortbay.jetty.HttpConnection@2d46a823 2010-03-11 19:49:34 DEBUG [cal/log/config?] - org.mortbay.log - Got Session ID 1j8cj4vr3c16j from cookie {code}
    via by Rich Seddon,
  • I use a user to deploy in the repository. I add on settings.xml <server> <id>frontools_snapshot</id> <username>test</username> <password>c8s6s9q9f4</password> </server> <server> <id>frontools_release</id> <username>test</username> <password>c8s6s9q9f4</password> </server> And in my pom.xml <properties> <frontools.deploy.host>ftmvnrepo.fr.world.socgen</frontools.deploy.host> <frontools.deploy.port>8081</frontools.deploy.port> <frontools.deploy.site.rootpath>/home/frtdevrep/public_html/maven_site</frontools.deploy.site.rootpath> <frontools.deploy.site.path>${groupId}/</frontools.deploy.site.path> <frontools.deploy.path>nexus/content/repositories</frontools.deploy.path> </properties> <distributionManagement> <repository> <id>frontools_release</id> <name>Frontools Inhouse Internal Release Repository</name> <url>http://${frontools.deploy.host}:${frontools.deploy.port}/${frontools.deploy.path}/frontools_releases </url> </repository> <snapshotRepository> <id>frontools_snapshot</id> <name>Frontools Inhouse Internal Snapshot Repository</name> <url>http://${frontools.deploy.host}:${frontools.deploy.port}/${frontools.deploy.path}/frontools_snapshots </url> <uniqueVersion>true</uniqueVersion> </snapshotRepository> <site> <id>frontools</id> <name>www-frontools</name> <url>scp://${frontools.deploy.host}/${frontools.deploy.site.rootpath}/ </url> </site> </distributionManagement> The deployment works when you are deploy on snapshotRepository but it does not work when you deploy on releaseRepository. The error is : 2008-10-07 15:31:06.487 ERROR [btpool0-217:] - org.mortbay.log: /nexus/content/repositories/frontools_releases/test/test/0.0.1/test-0.0.1.jar java.lang.IllegalStateException: Got exception during target mapping! at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.getActionFromHttpVerb(NexusTargetMappingAuthorizationFilter.java:120) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.isAccessAllowed(NexusTargetMappingAuthorizationFilter.java:168) at org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:139) at org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:169) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='frontools_releases', path='/test/test/0.0.1/test-0.0.1.jar', action='read'! at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:30) at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1219) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:678) at org.sonatype.nexus.proxy.router.AbstractRegistryDrivenRepositoryRouter.doRetrieveItem(AbstractRegistryDrivenRepositoryRouter.java:163) at org.sonatype.nexus.proxy.router.AbstractRepositoryRouter.retrieveItem(AbstractRepositoryRouter.java:157) at org.sonatype.nexus.proxy.router.AbstractRegistryDrivenRepositoryRouter.doRetrieveItem(AbstractRegistryDrivenRepositoryRouter.java:163) at org.sonatype.nexus.proxy.router.AbstractRepositoryRouter.retrieveItem(AbstractRepositoryRouter.java:157) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.getActionFromHttpVerb(NexusTargetMappingAuthorizationFilter.java:110) ... 30 more I think I do not make a mistake (maybe). I don't know why it does not work but I think when I attemp to deploy on a release Repository, it will take the anoymous user (because when I add the rigtht on anonymous user, it will work). It was working on 1.0.0.
    via by Alexandre Navarro,
  • login as admin, run 'expire cache' on a repo: {noformat} jvm 1 | 2009-05-18 21:16:17 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/data_cache/repositories/thirdparty/content on org.mortbay.jetty.HttpConnection@808512 jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:21 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:21 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:21 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'delete' action to permission: nexus:permToCatchAllUnprotecteds:delete jvm 1 | 2009-05-18 21:16:21 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:permToCatchAllUnprotecteds:delete jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/data_cache/repositories/thirdparty/content 204 jvm 1 | 2009-05-18 21:16:22 INFO - o.s.n.f.FeedRecorder:default - Expiring caches for repository 3rd party from path / and below. : Process started on Mon May 18 21:16:22 CST 2009, not yet finished. jvm 1 | 2009-05-18 21:16:22 INFO - o.s.n.p.r.Repository:maven2 - Expiring local cache in repository ID='thirdparty' from path='/' jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.w.Walker:default - Start walking on ResourceStore thirdparty from path '/'. jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.r.Repository:maven2 - getTargetsForRequest() :: thirdparty:/ jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.t.TargetReg~:default - Resolving targets for repository='thirdparty' for path='/' jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.r.GroupRepo~:maven2 - getTargetsForRequest() :: public:/ jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.t.TargetReg~:default - Resolving targets for repository='public' for path='/' jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.a.NexusItem~:default - Subject is not authenticated, rejecting. jvm 1 | 2009-05-18 21:16:22 WARN - o.s.n.p.w.Walker:default - Got exception while doing retrieve, bailing out. jvm 1 | org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='thirdparty', path='/', action='read'! jvm 1 | at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:40) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1179) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:615) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:74) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:477) jvm 1 | at org.sonatype.nexus.tasks.ExpireCacheTask.doRun(ExpireCacheTask.java:46) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:619) jvm 1 | 2009-05-18 21:16:22 INFO - o.s.n.p.w.Walker:default - Aborted walking on repository ID='thirdparty' from path='/', cause: jvm 1 | org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='thirdparty', path='/', action='read'! jvm 1 | at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:40) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1179) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:615) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:74) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:477) jvm 1 | at org.sonatype.nexus.tasks.ExpireCacheTask.doRun(ExpireCacheTask.java:46) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:619) jvm 1 | 2009-05-18 21:16:22 INFO - o.s.n.f.FeedRecorder:default - Expiring caches for repository 3rd party from path / and below. : Process started on Mon May 18 21:16:22 CST 2009, finished on Mon May 18 21:16:22 CST 2009 with error. Error message is: org.sonatype.nexus.proxy.walker.WalkerException, Aborted walking on repository ID='thirdparty' from path='/'. Strack trace: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='thirdparty' from path='/'. jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:162) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:95) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:477) jvm 1 | at org.sonatype.nexus.tasks.ExpireCacheTask.doRun(ExpireCacheTask.java:46) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:619) jvm 1 | Caused by: org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='thirdparty', path='/', action='read'! jvm 1 | at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:40) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1179) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:615) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:74) jvm 1 | ... 11 more jvm 1 | jvm 1 | org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='thirdparty' from path='/'. jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:162) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:95) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:477) jvm 1 | at org.sonatype.nexus.tasks.ExpireCacheTask.doRun(ExpireCacheTask.java:46) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:619) jvm 1 | Caused by: org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='thirdparty', path='/', action='read'! jvm 1 | at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:40) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1179) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:615) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:74) jvm 1 | ... 11 more jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@613b4a jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@808512 jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:27 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:27 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:27 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:27 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@613b4a jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:32 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:32 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:32 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:32 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@808512 jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:37 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:37 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:37 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:37 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@613b4a jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:42 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:42 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:42 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:42 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@808512 jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:47 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:47 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:47 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:47 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 {noformat}
    via by Juven Xu,
  • {noformat} jvm 1 | 2012-02-09 22:18:59 WARN [ributesUpgrader] - org.sonatype.nexus.plugins.p2.repository.proxy.P2ProxyRepository - Could not retrieve list of repository mirrors. All downloads will come from repository canonical URL jvm 1 | org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='nx-galileo', path='/artifacts.xml', action='read'! jvm 1 | at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:42) ~[nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1238) [nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:579) [nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.plugins.p2.repository.proxy.P2ProxyRepository.configureMirrors(P2ProxyRepository.java:188) [nexus-p2-repository-plugin-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.plugins.p2.repository.proxy.P2ProxyRepository.doRetrieveItem(P2ProxyRepository.java:445) [nexus-p2-repository-plugin-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:769) [nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.plugins.p2.repository.proxy.P2ProxyRepository.retrieveItem(P2ProxyRepository.java:397) [nexus-p2-repository-plugin-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:82) [nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.recreateAttributes(AbstractRepository.java:523) [nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.attributes.upgrade.AttributeUpgraderThread.run(AttributeUpgraderThread.java:117) [nexus-proxy-2.0-RC2.jar:na] {noformat}
    via by Tamás Cservenák,
  • {noformat} jvm 1 | 2012-02-09 22:18:59 WARN [ributesUpgrader] - org.sonatype.nexus.plugins.p2.repository.proxy.P2ProxyRepository - Could not retrieve list of repository mirrors. All downloads will come from repository canonical URL jvm 1 | org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='nx-galileo', path='/artifacts.xml', action='read'! jvm 1 | at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:42) ~[nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1238) [nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:579) [nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.plugins.p2.repository.proxy.P2ProxyRepository.configureMirrors(P2ProxyRepository.java:188) [nexus-p2-repository-plugin-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.plugins.p2.repository.proxy.P2ProxyRepository.doRetrieveItem(P2ProxyRepository.java:445) [nexus-p2-repository-plugin-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:769) [nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.plugins.p2.repository.proxy.P2ProxyRepository.retrieveItem(P2ProxyRepository.java:397) [nexus-p2-repository-plugin-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:82) [nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.recreateAttributes(AbstractRepository.java:523) [nexus-proxy-2.0-RC2.jar:na] jvm 1 | at org.sonatype.nexus.proxy.attributes.upgrade.AttributeUpgraderThread.run(AttributeUpgraderThread.java:117) [nexus-proxy-2.0-RC2.jar:na] {noformat}
    via by Tamás Cservenák,
  • A virtual OBR repository shadowing a maven release proxy repository is not able to update it's metadata in response to a smart proxy preemptive fetch due to lack of privileges. {quote} 2014-05-01 13:07:19,745-0500 WARN [esh-1-thread-19] *SYSTEM org.sonatype.nexus.obr.shadow.ObrShadowRepository - Could not sync shadow ObrShadowRepository(id=obv) for event RepositoryItemEventCacheUpdate(sender="abc" [id=abc], abc:/com/osgiknowhow/sandbox/pig-latin-client/1.0.1/pig-latin-client-1.0.1.jar) org.sonatype.nexus.proxy.StorageException: A storage exception occured! at org.sonatype.nexus.obr.util.ObrUtils.updateObr(ObrUtils.java:323) ~[na:na] at org.sonatype.nexus.obr.shadow.ObrShadowRepository.updateLink(ObrShadowRepository.java:145) ~[na:na] at org.sonatype.nexus.obr.shadow.ObrShadowRepository.createLink(ObrShadowRepository.java:124) ~[na:na] at org.sonatype.nexus.proxy.repository.AbstractShadowRepository.onRepositoryItemEvent(AbstractShadowRepository.java:113) ~[nexus-core-2.8.0-05.jar:2.8.0-05] at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_55] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_55] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doCacheItem(AbstractProxyRepository.java:879) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doCacheItem(AbstractMavenRepository.java:482) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.proxy.maven.maven2.M2Repository.doCacheItem(M2Repository.java:231) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveRemoteItem(AbstractProxyRepository.java:1364) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1103) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:986) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveArtifactItem(AbstractMavenRepository.java:408) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:391) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.proxy.maven.maven2.M2Repository.doRetrieveItem(M2Repository.java:395) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:757) [nexus-core-2.8.0-05.jar:2.8.0-05] at com.sonatype.nexus.plugins.smartproxy.event.internal.handler.ItemHandlerSupport.fetchItem(ItemHandlerSupport.java:190) [nexus-smartproxy-plugin-2.8.0-05/:na] at com.sonatype.nexus.plugins.smartproxy.event.internal.handler.ItemHandlerSupport.doFetchItem(ItemHandlerSupport.java:205) [nexus-smartproxy-plugin-2.8.0-05/:na] at com.sonatype.nexus.plugins.smartproxy.event.internal.handler.ItemHandlerSupport.access$000(ItemHandlerSupport.java:48) [nexus-smartproxy-plugin-2.8.0-05/:na] at com.sonatype.nexus.plugins.smartproxy.event.internal.handler.ItemHandlerSupport$PreemptiveFetchItemEvent.perform(ItemHandlerSupport.java:254) [nexus-smartproxy-plugin-2.8.0-05/:na] at com.sonatype.nexus.plugins.smartproxy.event.internal.handler.ItemHandlerSupport$PreemptiveFetchItemEventInspector.inspect(ItemHandlerSupport.java:270) [nexus-smartproxy-plugin-2.8.0-05/:na] at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_55] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_55] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [guava-16.0.1.jar:na] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [guava-16.0.1.jar:na] at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34) [guava-16.0.1.jar:na] at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:117) [guava-16.0.1.jar:na] at org.sonatype.nexus.threads.MDCAwareRunnable.run(MDCAwareRunnable.java:41) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) [shiro-core-1.2.2.jar:1.2.2] at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) [shiro-core-1.2.2.jar:1.2.2] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_55] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_55] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_55] Caused by: org.sonatype.nexus.proxy.StorageException: A storage exception occured! at org.sonatype.nexus.obr.util.ObrUtils.retrieveObrItem(ObrUtils.java:178) ~[na:na] at org.sonatype.nexus.obr.util.ObrUtils.updateObr(ObrUtils.java:301) ~[na:na] ... 40 common frames omitted Caused by: org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='obv', path='/.meta/obr.xml', action='read'! at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:48) ~[nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1174) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:587) [nexus-core-2.8.0-05.jar:2.8.0-05] at org.sonatype.nexus.obr.util.ObrUtils.retrieveObrItem(ObrUtils.java:166) ~[na:na] ... 41 common frames omitted {quote}
    via by Rich Seddon,
  • It is possible more than one thread can attempt to merge obr group metadata at the same time. This causes a virtual deadlock situation and prevents other threads trying to read the metadata. Example thread stacks that can be seen on dumps when in this situation: {noformat} 2014-07-18 02:27:17 WARN [esh-1-thread-35509] <unknown-user> org.sonatype.nexus.obr.shadow.ObrShadowRepository - Could not sync shadow ObrShadowRepository(id=obr-dev-tmp-releases) for event RepositoryItemEventCacheUpdate(sender="Dev Temporary Release" [id=dev-tmp-release-proxy], dev-tmp-release-proxy:/com/com/service/obligor-common/1.0.0.0/obligor-common-1.0.0.0.jar) org.sonatype.nexus.proxy.StorageException: A storage exception occured! at org.sonatype.nexus.obr.util.ObrUtils.updateObr(ObrUtils.java:337) ~[na:na] at org.sonatype.nexus.obr.shadow.ObrShadowRepository.updateLink(ObrShadowRepository.java:146) ~[na:na] at org.sonatype.nexus.obr.shadow.ObrShadowRepository.createLink(ObrShadowRepository.java:125) ~[na:na] at org.sonatype.nexus.proxy.repository.AbstractShadowRepository.onRepositoryItemEvent(AbstractShadowRepository.java:146) ~[nexus-core-2.7.0-06.jar:2.7.0-06] at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) [goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) [goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) [goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) [goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) [goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) [goodies-eventbus-1.7.4.jar:1.7.4] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doCacheItem(AbstractProxyRepository.java:867) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.proxy.maven.maven2.M2Repository.doCacheItem(M2Repository.java:232) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveRemoteItem(AbstractProxyRepository.java:1346) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1091) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:974) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveArtifactItem(AbstractMavenRepository.java:426) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:405) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.proxy.maven.maven2.M2Repository.doRetrieveItem(M2Repository.java:396) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:749) [nexus-core-2.7.0-06.jar:2.7.0-06] at com.sonatype.nexus.plugins.smartproxy.event.internal.handler.ItemHandlerSupport.fetchItem(ItemHandlerSupport.java:191) [nexus-smartproxy-plugin-2.7.0-06.jar:2.7.0-06] at com.sonatype.nexus.plugins.smartproxy.event.internal.handler.ItemHandlerSupport.doFetchItem(ItemHandlerSupport.java:206) [nexus-smartproxy-plugin-2.7.0-06.jar:2.7.0-06] at com.sonatype.nexus.plugins.smartproxy.event.internal.handler.ItemHandlerSupport.access$000(ItemHandlerSupport.java:49) [nexus-smartproxy-plugin-2.7.0-06.jar:2.7.0-06] at com.sonatype.nexus.plugins.smartproxy.event.internal.handler.ItemHandlerSupport$PreemptiveFetchItemEvent.perform(ItemHandlerSupport.java:255) [nexus-smartproxy-plugin-2.7.0-06.jar:2.7.0-06] at com.sonatype.nexus.plugins.smartproxy.event.internal.handler.ItemHandlerSupport$PreemptiveFetchItemEventInspector.inspect(ItemHandlerSupport.java:275) [nexus-smartproxy-plugin-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.events.EventSubscriberHost$AsynchronousEventInspectorAdapter$1.run(EventSubscriberHost.java:253) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.threads.MDCAwareRunnable.run(MDCAwareRunnable.java:42) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) [shiro-core-1.2.2.jar:1.2.2] at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) [shiro-core-1.2.2.jar:1.2.2] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45] Caused by: org.sonatype.nexus.proxy.StorageException: A storage exception occured! at org.sonatype.nexus.obr.util.ObrUtils.retrieveObrItem(ObrUtils.java:192) ~[na:na] at org.sonatype.nexus.obr.util.ObrUtils.updateObr(ObrUtils.java:315) ~[na:na] ... 33 common frames omitted Caused by: org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='obr-dev-tmp-releases', path='/.meta/obr.xml', action='read'! at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:49) ~[nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1171) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:590) [nexus-core-2.7.0-06.jar:2.7.0-06] at org.sonatype.nexus.obr.util.ObrUtils.retrieveObrItem(ObrUtils.java:180) ~[na:na] ... 34 common frames omitted {noformat} ---- Example blocked thread: {noformat} qtp373859501-284195 id=284195 state=WAITING - waiting on <0x245d3463> (a java.util.concurrent.Semaphore$FairSync) - locked <0x245d3463> (a java.util.concurrent.Semaphore$FairSync) at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(AbstractQueuedSynchronizer.java:964) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1282) at java.util.concurrent.Semaphore.acquireUninterruptibly(Semaphore.java:500) at org.sonatype.sisu.locks.LocalResourceLock.acquire(LocalResourceLockFactory.java:83) at org.sonatype.sisu.locks.AbstractSemaphoreResourceLock.lockExclusive(AbstractSemaphoreResourceLock.java:60) at org.sonatype.nexus.proxy.item.SisuLockResource.lockExclusively(SisuLockResource.java:45) at org.sonatype.nexus.proxy.item.DefaultRepositoryItemUidLock.lock(DefaultRepositoryItemUidLock.java:39) at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:980) at org.sonatype.nexus.obr.metadata.DefaultObrResourceWriter.close(DefaultObrResourceWriter.java:140) at org.sonatype.nexus.obr.util.ObrUtils.close(ObrUtils.java:396) at org.sonatype.nexus.obr.group.ObrGroupRepository.mergeObrMetadata(ObrGroupRepository.java:240) at org.sonatype.nexus.obr.group.ObrGroupRepository.doRetrieveItem(ObrGroupRepository.java:129) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:749) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:592) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:155) at org.sonatype.nexus.web.content.NexusContentServlet.doGet(NexusContentServlet.java:359) at org.sonatype.nexus.web.content.NexusContentServlet.service(NexusContentServlet.java:331) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) {noformat} ---- Competing threads: {noformat} at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(AbstractQueuedSynchronizer.java:964) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1282) at java.util.concurrent.Semaphore.acquireUninterruptibly(Semaphore.java:500) at org.sonatype.sisu.locks.LocalResourceLock.acquire(LocalResourceLockFactory.java:83) at org.sonatype.sisu.locks.AbstractSemaphoreResourceLock.lockExclusive(AbstractSemaphoreResourceLock.java:69) at org.sonatype.nexus.proxy.item.SisuLockResource.lockExclusively(SisuLockResource.java:45) at org.sonatype.nexus.proxy.item.DefaultRepositoryItemUidLock.lock(DefaultRepositoryItemUidLock.java:39) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:157) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.storeItem(DefaultFSLocalRepositoryStorage.java:331) at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:996) at org.sonatype.nexus.obr.metadata.DefaultObrResourceWriter.close(DefaultObrResourceWriter.java:140) at org.sonatype.nexus.obr.util.ObrUtils.close(ObrUtils.java:396) at org.sonatype.nexus.obr.group.ObrGroupRepository.mergeObrMetadata(ObrGroupRepository.java:240) at org.sonatype.nexus.obr.group.ObrGroupRepository.doRetrieveItem(ObrGroupRepository.java:129) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:749) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:592) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:155) at org.sonatype.nexus.web.content.NexusContentServlet.doGet(NexusContentServlet.java:359) at org.sonatype.nexus.web.content.NexusContentServlet.service(NexusContentServlet.java:331) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) {noformat} {noformat} at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(AbstractQueuedSynchronizer.java:964) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1282) at java.util.concurrent.Semaphore.acquireUninterruptibly(Semaphore.java:500) at org.sonatype.sisu.locks.LocalResourceLock.acquire(LocalResourceLockFactory.java:83) at org.sonatype.sisu.locks.AbstractSemaphoreResourceLock.lockExclusive(AbstractSemaphoreResourceLock.java:60) at org.sonatype.nexus.proxy.item.SisuLockResource.lockExclusively(SisuLockResource.java:45) at org.sonatype.nexus.proxy.item.DefaultRepositoryItemUidLock.lock(DefaultRepositoryItemUidLock.java:39) at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:980) at org.sonatype.nexus.obr.metadata.DefaultObrResourceWriter.close(DefaultObrResourceWriter.java:140) at org.sonatype.nexus.obr.util.ObrUtils.close(ObrUtils.java:396) at org.sonatype.nexus.obr.group.ObrGroupRepository.mergeObrMetadata(ObrGroupRepository.java:240) at org.sonatype.nexus.obr.group.ObrGroupRepository.doRetrieveItem(ObrGroupRepository.java:129) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:749) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:592) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:155) at org.sonatype.nexus.web.content.NexusContentServlet.doGet(NexusContentServlet.java:359) at org.sonatype.nexus.web.content.NexusContentServlet.service(NexusContentServlet.java:331) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) {noformat} Waiting threads: {noformat} at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(AbstractQueuedSynchronizer.java:964) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1282) at java.util.concurrent.Semaphore.acquireUninterruptibly(Semaphore.java:500) at org.sonatype.sisu.locks.LocalResourceLock.acquire(LocalResourceLockFactory.java:83) at org.sonatype.sisu.locks.AbstractSemaphoreResourceLock.lockShared(AbstractSemaphoreResourceLock.java:50) at org.sonatype.nexus.proxy.item.SisuLockResource.lockShared(SisuLockResource.java:39) at org.sonatype.nexus.proxy.item.DefaultRepositoryItemUidLock.lock(DefaultRepositoryItemUidLock.java:36) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:746) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:592) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:155) at org.sonatype.nexus.web.content.NexusContentServlet.doGet(NexusContentServlet.java:359) at org.sonatype.nexus.web.content.NexusContentServlet.service(NexusContentServlet.java:331) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) {noformat}
    via by Peter Lynch,
  • I use a user to deploy in the repository. I add on settings.xml <server> <id>frontools_snapshot</id> <username>test</username> <password>c8s6s9q9f4</password> </server> <server> <id>frontools_release</id> <username>test</username> <password>c8s6s9q9f4</password> </server> And in my pom.xml <properties> <frontools.deploy.host>ftmvnrepo.fr.world.socgen</frontools.deploy.host> <frontools.deploy.port>8081</frontools.deploy.port> <frontools.deploy.site.rootpath>/home/frtdevrep/public_html/maven_site</frontools.deploy.site.rootpath> <frontools.deploy.site.path>${groupId}/</frontools.deploy.site.path> <frontools.deploy.path>nexus/content/repositories</frontools.deploy.path> </properties> <distributionManagement> <repository> <id>frontools_release</id> <name>Frontools Inhouse Internal Release Repository</name> <url>http://${frontools.deploy.host}:${frontools.deploy.port}/${frontools.deploy.path}/frontools_releases </url> </repository> <snapshotRepository> <id>frontools_snapshot</id> <name>Frontools Inhouse Internal Snapshot Repository</name> <url>http://${frontools.deploy.host}:${frontools.deploy.port}/${frontools.deploy.path}/frontools_snapshots </url> <uniqueVersion>true</uniqueVersion> </snapshotRepository> <site> <id>frontools</id> <name>www-frontools</name> <url>scp://${frontools.deploy.host}/${frontools.deploy.site.rootpath}/ </url> </site> </distributionManagement> The deployment works when you are deploy on snapshotRepository but it does not work when you deploy on releaseRepository. The error is : 2008-10-07 15:31:06.487 ERROR [btpool0-217:] - org.mortbay.log: /nexus/content/repositories/frontools_releases/test/test/0.0.1/test-0.0.1.jar java.lang.IllegalStateException: Got exception during target mapping! at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.getActionFromHttpVerb(NexusTargetMappingAuthorizationFilter.java:120) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.isAccessAllowed(NexusTargetMappingAuthorizationFilter.java:168) at org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:139) at org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:169) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='frontools_releases', path='/test/test/0.0.1/test-0.0.1.jar', action='read'! at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:30) at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1219) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:678) at org.sonatype.nexus.proxy.router.AbstractRegistryDrivenRepositoryRouter.doRetrieveItem(AbstractRegistryDrivenRepositoryRouter.java:163) at org.sonatype.nexus.proxy.router.AbstractRepositoryRouter.retrieveItem(AbstractRepositoryRouter.java:157) at org.sonatype.nexus.proxy.router.AbstractRegistryDrivenRepositoryRouter.doRetrieveItem(AbstractRegistryDrivenRepositoryRouter.java:163) at org.sonatype.nexus.proxy.router.AbstractRepositoryRouter.retrieveItem(AbstractRepositoryRouter.java:157) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.getActionFromHttpVerb(NexusTargetMappingAuthorizationFilter.java:110) ... 30 more I think I do not make a mistake (maybe). I don't know why it does not work but I think when I attemp to deploy on a release Repository, it will take the anoymous user (because when I add the rigtht on anonymous user, it will work). It was working on 1.0.0.
    via by Alexandre Navarro,
  • login as admin, run 'expire cache' on a repo: {noformat} jvm 1 | 2009-05-18 21:16:17 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/data_cache/repositories/thirdparty/content on org.mortbay.jetty.HttpConnection@808512 jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:21 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:21 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:21 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'delete' action to permission: nexus:permToCatchAllUnprotecteds:delete jvm 1 | 2009-05-18 21:16:21 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:permToCatchAllUnprotecteds:delete jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:21 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/data_cache/repositories/thirdparty/content 204 jvm 1 | 2009-05-18 21:16:22 INFO - o.s.n.f.FeedRecorder:default - Expiring caches for repository 3rd party from path / and below. : Process started on Mon May 18 21:16:22 CST 2009, not yet finished. jvm 1 | 2009-05-18 21:16:22 INFO - o.s.n.p.r.Repository:maven2 - Expiring local cache in repository ID='thirdparty' from path='/' jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.w.Walker:default - Start walking on ResourceStore thirdparty from path '/'. jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.r.Repository:maven2 - getTargetsForRequest() :: thirdparty:/ jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.t.TargetReg~:default - Resolving targets for repository='thirdparty' for path='/' jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.r.GroupRepo~:maven2 - getTargetsForRequest() :: public:/ jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.t.TargetReg~:default - Resolving targets for repository='public' for path='/' jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.p.a.NexusItem~:default - Subject is not authenticated, rejecting. jvm 1 | 2009-05-18 21:16:22 WARN - o.s.n.p.w.Walker:default - Got exception while doing retrieve, bailing out. jvm 1 | org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='thirdparty', path='/', action='read'! jvm 1 | at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:40) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1179) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:615) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:74) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:477) jvm 1 | at org.sonatype.nexus.tasks.ExpireCacheTask.doRun(ExpireCacheTask.java:46) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:619) jvm 1 | 2009-05-18 21:16:22 INFO - o.s.n.p.w.Walker:default - Aborted walking on repository ID='thirdparty' from path='/', cause: jvm 1 | org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='thirdparty', path='/', action='read'! jvm 1 | at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:40) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1179) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:615) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:74) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:477) jvm 1 | at org.sonatype.nexus.tasks.ExpireCacheTask.doRun(ExpireCacheTask.java:46) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:619) jvm 1 | 2009-05-18 21:16:22 INFO - o.s.n.f.FeedRecorder:default - Expiring caches for repository 3rd party from path / and below. : Process started on Mon May 18 21:16:22 CST 2009, finished on Mon May 18 21:16:22 CST 2009 with error. Error message is: org.sonatype.nexus.proxy.walker.WalkerException, Aborted walking on repository ID='thirdparty' from path='/'. Strack trace: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='thirdparty' from path='/'. jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:162) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:95) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:477) jvm 1 | at org.sonatype.nexus.tasks.ExpireCacheTask.doRun(ExpireCacheTask.java:46) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:619) jvm 1 | Caused by: org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='thirdparty', path='/', action='read'! jvm 1 | at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:40) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1179) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:615) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:74) jvm 1 | ... 11 more jvm 1 | jvm 1 | org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='thirdparty' from path='/'. jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:162) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:95) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:477) jvm 1 | at org.sonatype.nexus.tasks.ExpireCacheTask.doRun(ExpireCacheTask.java:46) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:619) jvm 1 | Caused by: org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='thirdparty', path='/', action='read'! jvm 1 | at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:40) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1179) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:615) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:74) jvm 1 | ... 11 more jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@613b4a jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:22 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:22 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@808512 jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:27 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:27 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:27 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:27 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:27 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@613b4a jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:32 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:32 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:32 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:32 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:32 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@808512 jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:37 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:37 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:37 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:37 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:37 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@613b4a jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:42 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:42 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:42 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:42 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:42 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - REQUEST /nexus/service/local/repository_statuses on org.mortbay.jetty.HttpConnection@808512 jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - Got Session ID 7434C725896D1D8535F5A04DA4BF9F95 from cookie jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - sessionManager=org.mortbay.jetty.servlet.HashSessionManager@1a07791 jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - session=null jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - servlet=nexus jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - chain=nexusFilter->nexus jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - servlet holder=nexus jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - call filter nexusFilter jvm 1 | 2009-05-18 21:16:47 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:47 INFO - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [127.0.0.1/127.0.0.1] jvm 1 | 2009-05-18 21:16:47 DEBUG - o.s.n.s.f.a.HttpVer~ - MAPPED 'read' action to permission: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:47 DEBUG - o.s.s.a.ExceptionCa~ - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: org.jsecurity.subject.SimplePrincipalCollection@59b3d992 is has permisison: nexus:repostatus:read jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - call servlet nexus jvm 1 | 2009-05-18 21:16:47 DEBUG - org.mortbay.log - RESPONSE /nexus/service/local/repository_statuses 202 {noformat}
    via by Juven Xu,
    • org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='m1', path='/com.sun.corba/jars/orb-9.1.jar', action='read'! at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:40) at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1150) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:527) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.dereferenceLink(DefaultRepositoryRouter.java:161) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.mangle(DefaultRepositoryRouter.java:413) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:179) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:134) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:263) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:322) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
    No Bugmate found.