Uploaded image for project: 'Dev - Nexus'
  1. Dev - Nexus
  2. NEXUS-805

nexus.xml not found when using a network drive for working directory

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.1
    • Fix Version/s: None
    • Component/s: Configuration
    • Labels:
      None
    • Environment:
      Windows XP

      Description

      Tried to configure Nexus to use a working directory on my NAS which is mounted as a network drive. If I copy the path from the log and paste into explorer the files opens up without a problem!

      Exception from wrapper.log

      INFO   | jvm 1    | 2008/09/15 18:01:49 | 2008-09-15 18:01:49,745 ERROR [org.mortbay.log] - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@185572a{/nexus,../../../runtime/apps/nexus/webapp}
      INFO   | jvm 1    | 2008/09/15 18:01:49 | java.lang.IllegalStateException: Could not initialize Nexus.
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:45)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.jetty.Server.doStart(Server.java:222)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:250)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:219)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:97)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:486)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:69)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:851)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:815)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:407)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:198)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.sonatype.appbooter.PlexusContainerHost.startContainer(PlexusContainerHost.java:221)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.sonatype.appbooter.jsw.PlexusJSWListener.start(PlexusJSWListener.java:101)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.sonatype.nexus.Nexus', it could not be started.
      INFO   | jvm 1    | 2008/09/15 18:01:49 |       role: org.sonatype.nexus.Nexus
      INFO   | jvm 1    | 2008/09/15 18:01:49 |   roleHint: default
      INFO   | jvm 1    | 2008/09/15 18:01:49 | classRealm: plexus
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:155)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:432)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:426)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:39)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	... 31 more
      INFO   | jvm 1    | 2008/09/15 18:01:49 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:221)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:97)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	... 35 more
      INFO   | jvm 1    | 2008/09/15 18:01:49 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error starting component
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:37)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:219)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	... 39 more
      INFO   | jvm 1    | 2008/09/15 18:01:49 | Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus!
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:1526)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	... 41 more
      INFO   | jvm 1    | 2008/09/15 18:01:49 | Caused by: java.io.FileNotFoundException: J:\Products\Maven\nexus_workingdir\conf\nexus.xml (The system cannot find the path specified)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at java.io.FileOutputStream.open(Native Method)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at java.io.FileOutputStream.<init>(Unknown Source)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at java.io.FileOutputStream.<init>(Unknown Source)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.sonatype.nexus.configuration.application.source.FileConfigurationSource.saveConfiguration(FileConfigurationSource.java:296)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.sonatype.nexus.configuration.application.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:148)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.loadConfiguration(DefaultNexusConfiguration.java:172)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:1449)
      INFO   | jvm 1    | 2008/09/15 18:01:49 | 	... 42 more
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              deleted_user Deleted User
              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: