Dev - Nexus
  1. Dev - Nexus
  2. NEXUS-826

allow unc paths for local storage on windows

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2, 1.1
    • Component/s: None
    • Labels:
      None

      Description

      Services can't access mapped folders and only the validation is preventing unc paths from working.

        Activity

        Hide
        Brian Fox added a comment -

        Make sure there's an IT for this, perhaps the IT can check if it's windows and only run there.

        Show
        Brian Fox added a comment - Make sure there's an IT for this, perhaps the IT can check if it's windows and only run there.
        Hide
        mpowers added a comment -

        Here you go kristine, please test when you have time.

        You should see that UNC paths on windows are now allowed for overriding local storage in a repository.

        example: \\localhost(share-name)\blah\blah

        will now be accepted where (share-name) is a windows share that has been created on your local machine

        Show
        mpowers added a comment - Here you go kristine, please test when you have time. You should see that UNC paths on windows are now allowed for overriding local storage in a repository. example: \\localhost(share-name)\blah\blah will now be accepted where (share-name) is a windows share that has been created on your local machine
        Hide
        mpowers added a comment -

        Note that i did not create an IT test, as it would require a file share be active on everyone's machine to access via
        localhost. I simply created a unit test that validates the functionality

        Show
        mpowers added a comment - Note that i did not create an IT test, as it would require a file share be active on everyone's machine to access via localhost. I simply created a unit test that validates the functionality
        Hide
        Kristine O'Connor added a comment -

        Hey Max - I couldn't figure this out on XP - I did move the folder into the Shared Documents folder, which can be accessed by all users of the local machine. However when I attempt to browse the repo, I take a 400 or 500 error, depending on how I put in the path.

        For example, the path to the folder I set up is C:\Documents and Settings\All Users\Documents\sharefoldertest\testsave. If in the override location I put in \\localhost\sharefolertest\testsave, I take a 400 error.

        If I put in \\localhost\Documents and Settings\All Users\Documents\sharefoldertest\testsave, and attempt to browse the repo, I take a 500 error.

        From nexus.log - first one listed is from the 400 error, second one is the 500 error.
        2008-09-23 14:08:33.531 WARN [btpool0-8:] - /nexus: ResourceStoreContentResource, illegal argument:URI has an authority component
        2008-09-23 14:08:36.218 INFO [btpool0-8:] - org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter: Unable to authorize user [User6] for read to /nexus/service/local/repositories/central/content/ from address/host [127.0.0.1/127.0.0.1]
        2008-09-23 14:08:37.656 INFO [btpool0-8:] - org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter: Unable to authorize user [User6] for read to /nexus/service/local/repositories/releases_rso/content/ from address/host [127.0.0.1/127.0.0.1]
        2008-09-23 14:08:46.046 WARN [btpool0-8:] - /nexus: ResourceStoreContentResource, illegal argument:URI has an authority component
        2008-09-23 14:08:49.359 WARN [btpool0-8:] - /nexus: ResourceStoreContentResource, illegal argument:URI has an authority component

        2008-09-23 14:31:17.500 WARN [btpool0-11:] - /nexus: IO error!
        org.sonatype.nexus.proxy.StorageException: Could not create the baseDir directory on path \\localhost\Documents and Settings\All Users\Documents\sharefoldertest\testsave
        at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.getBaseDir(DefaultFSLocalRepositoryStorage.java:113)
        at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.getFileFromBase(DefaultFSLocalRepositoryStorage.java:128)
        at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:271)
        at org.sonatype.nexus.proxy.repository.DefaultRepository.doRetrieveItem(DefaultRepository.java:86)
        at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:439)
        at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:884)
        at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:685)
        at org.sonatype.nexus.rest.AbstractResourceStoreContentResource.getRepresentationHandler(AbstractResourceStoreContentResource.java:407)
        at org.sonatype.nexus.rest.AbstractNexusResourceHandler.represent(AbstractNexusResourceHandler.java:462)
        at org.restlet.resource.Resource.getRepresentation(Resource.java:301)
        at org.restlet.resource.Resource.handleGet(Resource.java:463)
        at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handleGet(AbstractNexusResourceHandler.java:387)
        at org.restlet.Finder.handle(Finder.java:351)
        at org.restlet.Filter.doHandle(Filter.java:150)
        at org.restlet.Filter.handle(Filter.java:195)
        at org.restlet.Router.handle(Router.java:502)
        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:502)
        at org.sonatype.plexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33)
        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:342)
        at org.restlet.Filter.doHandle(Filter.java:150)
        at org.restlet.Filter.handle(Filter.java:195)
        at org.restlet.Router.handle(Router.java:502)
        at org.restlet.Filter.doHandle(Filter.java:150)
        at org.restlet.Filter.handle(Filter.java:195)
        at org.restlet.Router.handle(Router.java:502)
        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:888)
        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:790)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
        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.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.headerComplete(HttpConnection.java:829)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        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)

        Show
        Kristine O'Connor added a comment - Hey Max - I couldn't figure this out on XP - I did move the folder into the Shared Documents folder, which can be accessed by all users of the local machine. However when I attempt to browse the repo, I take a 400 or 500 error, depending on how I put in the path. For example, the path to the folder I set up is C:\Documents and Settings\All Users\Documents\sharefoldertest\testsave. If in the override location I put in \\localhost\sharefolertest\testsave, I take a 400 error. If I put in \\localhost\Documents and Settings\All Users\Documents\sharefoldertest\testsave, and attempt to browse the repo, I take a 500 error. From nexus.log - first one listed is from the 400 error, second one is the 500 error. 2008-09-23 14:08:33.531 WARN [btpool0-8:] - /nexus: ResourceStoreContentResource, illegal argument:URI has an authority component 2008-09-23 14:08:36.218 INFO [btpool0-8:] - org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter: Unable to authorize user [User6] for read to /nexus/service/local/repositories/central/content/ from address/host [127.0.0.1/127.0.0.1] 2008-09-23 14:08:37.656 INFO [btpool0-8:] - org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter: Unable to authorize user [User6] for read to /nexus/service/local/repositories/releases_rso/content/ from address/host [127.0.0.1/127.0.0.1] 2008-09-23 14:08:46.046 WARN [btpool0-8:] - /nexus: ResourceStoreContentResource, illegal argument:URI has an authority component 2008-09-23 14:08:49.359 WARN [btpool0-8:] - /nexus: ResourceStoreContentResource, illegal argument:URI has an authority component 2008-09-23 14:31:17.500 WARN [btpool0-11:] - /nexus: IO error! org.sonatype.nexus.proxy.StorageException: Could not create the baseDir directory on path \\localhost\Documents and Settings\All Users\Documents\sharefoldertest\testsave at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.getBaseDir(DefaultFSLocalRepositoryStorage.java:113) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.getFileFromBase(DefaultFSLocalRepositoryStorage.java:128) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:271) at org.sonatype.nexus.proxy.repository.DefaultRepository.doRetrieveItem(DefaultRepository.java:86) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:439) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:884) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:685) at org.sonatype.nexus.rest.AbstractResourceStoreContentResource.getRepresentationHandler(AbstractResourceStoreContentResource.java:407) at org.sonatype.nexus.rest.AbstractNexusResourceHandler.represent(AbstractNexusResourceHandler.java:462) at org.restlet.resource.Resource.getRepresentation(Resource.java:301) at org.restlet.resource.Resource.handleGet(Resource.java:463) at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handleGet(AbstractNexusResourceHandler.java:387) at org.restlet.Finder.handle(Finder.java:351) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:502) 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:502) at org.sonatype.plexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) 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:342) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:502) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:502) 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:888) 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:790) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) 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.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.headerComplete(HttpConnection.java:829) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) 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)
        Hide
        mpowers added a comment -

        Kristine back to you.

        Valid paths are

        file:////someserver/share/pathundershare

        or

        \\someserver\share\pathundershare

        Show
        mpowers added a comment - Kristine back to you. Valid paths are file:////someserver/share/pathundershare or \\someserver\share\pathundershare
        Hide
        Kristine O'Connor added a comment -

        Hey Max - going to need your help with this one on XP. I still can't figure out how to share a dir, so my shared dir is under the Shared Documents folder on my machine. I have my path as \\localhost\sharefoldertest\testsave, and that testsave dir is actually created in C:\Documents and Settings\All Users\Documents\sharefoldertest\testsave. When I select a repo to browse after entering this as the override storage location, I take a 500 error. From the nexus.log:

        INFO | jvm 1 | 2008/09/24 15:22:56 | 2008-09-24 15:22:56,359 ERROR [org.sonatype.nexus.rest.ApplicationBridge] - IO error!
        INFO | jvm 1 | 2008/09/24 15:22:56 | org.sonatype.nexus.proxy.StorageException: Could not create the baseDir directory on path \\localhost\sharefoldertest\testsave
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.getBaseDir(DefaultFSLocalRepositoryStorage.java:112)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.getFileFromBase(DefaultFSLocalRepositoryStorage.java:127)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:270)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.repository.DefaultRepository.doRetrieveItem(DefaultRepository.java:86)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:439)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:884)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:685)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.rest.AbstractResourceStoreContentResource.getRepresentationHandler(AbstractResourceStoreContentResource.java:407)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.getRepresentation(AbstractNexusResourceHandler.java:464)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.resource.Resource.handleGet(Resource.java:415)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handleGet(AbstractNexusResourceHandler.java:373)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Finder.handle(Finder.java:293)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Router.handle(Router.java:445)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Router.handle(Router.java:445)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Application.handle(Application.java:294)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Router.handle(Router.java:445)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Router.handle(Router.java:445)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Component.handle(Component.java:231)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Server.handle(Server.java:282)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.Server.handle(Server.java:324)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

        Show
        Kristine O'Connor added a comment - Hey Max - going to need your help with this one on XP. I still can't figure out how to share a dir, so my shared dir is under the Shared Documents folder on my machine. I have my path as \\localhost\sharefoldertest\testsave, and that testsave dir is actually created in C:\Documents and Settings\All Users\Documents\sharefoldertest\testsave. When I select a repo to browse after entering this as the override storage location, I take a 500 error. From the nexus.log: INFO | jvm 1 | 2008/09/24 15:22:56 | 2008-09-24 15:22:56,359 ERROR [org.sonatype.nexus.rest.ApplicationBridge] - IO error! INFO | jvm 1 | 2008/09/24 15:22:56 | org.sonatype.nexus.proxy.StorageException: Could not create the baseDir directory on path \\localhost\sharefoldertest\testsave INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.getBaseDir(DefaultFSLocalRepositoryStorage.java:112) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.getFileFromBase(DefaultFSLocalRepositoryStorage.java:127) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:270) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.repository.DefaultRepository.doRetrieveItem(DefaultRepository.java:86) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:439) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:884) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:685) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.rest.AbstractResourceStoreContentResource.getRepresentationHandler(AbstractResourceStoreContentResource.java:407) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.getRepresentation(AbstractNexusResourceHandler.java:464) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.resource.Resource.handleGet(Resource.java:415) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handleGet(AbstractNexusResourceHandler.java:373) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Finder.handle(Finder.java:293) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Application.handle(Application.java:294) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Component.handle(Component.java:231) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.restlet.Server.handle(Server.java:282) INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100) INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) INFO | jvm 1 | 2008/09/24 15:22:56 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399) INFO | jvm 1 | 2008/09/24 15:22:56 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/09/24 15:22:56 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
        Hide
        Kristine O'Connor added a comment -

        I verified that this is now working correctly and not generating any errors. Due to my XP Home OS, my paths were set to \\oconnorhouse\override\test and file:////oconnorhouse/override/test. In both instances, after ensuring the test directory was empty, setting this as the override storage location and reindexing placed the .index folder and zip and properties files in the specified dir. Closing defect.

        Show
        Kristine O'Connor added a comment - I verified that this is now working correctly and not generating any errors. Due to my XP Home OS, my paths were set to \\oconnorhouse\override\test and file:////oconnorhouse/override/test . In both instances, after ensuring the test directory was empty, setting this as the override storage location and reindexing placed the .index folder and zip and properties files in the specified dir. Closing defect.

          People

          • Assignee:
            Unassigned
            Reporter:
            Brian Fox
            Last Updated By:
            Rich Seddon
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

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

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 1m Time Not Required
              1m