AnsweredAssumed Answered

Bootstrap failed: the path must resolve to a valid location

Question asked by rafique on Oct 2, 2007
Latest reply on Oct 2, 2007 by mikeh
Gives this error and fails to start the web application context. I am using Alfresco 2.1 on Windows XP and Mysql 4.1.x (ran the db script for it).

Any idea what could be the cause?


CompilerOracle: exclude org/apache/lucene/index/IndexReader$1 doBody
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Me
ger mergeIndexes
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Me
ger mergeDeletions
Oct 2, 2007 12:39:03 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 2, 2007 12:39:03 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1985 ms
Oct 2, 2007 12:39:03 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 2, 2007 12:39:03 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Oct 2, 2007 12:39:03 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Oct 2, 2007 12:39:05 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
12:40:25,609 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI r
gistry - creating new one
12:40:37,657 INFO  [domain.schema.SchemaBootstrap] Schema managed by database d
alect org.hibernate.dialect.MySQLInnoDBDialect.
12:40:42,720 INFO  [domain.schema.SchemaBootstrap] No changes were made to the
chema.
12:40:49,455 ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBoots
rap.java:444)
        at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBoo
strap.java:666)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractL
fecycleBean.java:62)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$
.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecu
or.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.
ulticastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publi
hEvent(AbstractApplicationContext.java:241)
        at org.springframework.context.support.AbstractApplicationContext.refre
h(AbstractApplicationContext.java:349)
        at org.springframework.web.context.support.AbstractRefreshableWebApplic
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at org.springframework.web.context.ContextLoader.createWebApplicationCo
text(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationCont
xt(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitial
zed(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardConte
t.java:3764)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:
216)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas
.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:7
0)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:71
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:49
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.jav
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecyc
eSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:44
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:
48)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:70
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.alfresco.service.cmr.view.ImporterException: Path /sys:system wi
hin node user://alfrescoUserStore/664c5451-70b2-11dc-8931-4d5329de1171 does not
exist - the path must resolve to a valid location
        at org.alfresco.repo.importer.ImporterComponent.getNodeRef(ImporterComp
nent.java:268)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComp
nent.java:223)
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBoots
rap.java:426)
        … 35 more
12:40:49,471 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending conte
t initialized event to listener instance of class org.springframework.web.conte
t.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBoots
rap.java:444)
        at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBoo
strap.java:666)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractL
fecycleBean.java:62)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$
.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecu
or.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.
ulticastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publi
hEvent(AbstractApplicationContext.java:241)
        at org.springframework.context.support.AbstractApplicationContext.refre
h(AbstractApplicationContext.java:349)
        at org.springframework.web.context.support.AbstractRefreshableWebApplic
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at org.springframework.web.context.ContextLoader.createWebApplicationCo
text(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationCont
xt(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitial
zed(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardConte
t.java:3764)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:
216)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas
.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:7
0)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:71
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:49
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.jav
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecyc
eSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:44
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:
48)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:70
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.alfresco.service.cmr.view.ImporterException: Path /sys:system wi
hin node user://alfrescoUserStore/664c5451-70b2-11dc-8931-4d5329de1171 does not
exist - the path must resolve to a valid location
        at org.alfresco.repo.importer.ImporterComponent.getNodeRef(ImporterComp
nent.java:268)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComp
nent.java:223)
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBoots
rap.java:426)
        … 35 more
12:40:49,502 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending conte
t initialized event to listener instance of class org.alfresco.web.app.ContextL
stener
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBoots
rap.java:444)
        at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBoo
strap.java:666)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractL
fecycleBean.java:62)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$
.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecu
or.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.
ulticastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publi
hEvent(AbstractApplicationContext.java:241)
        at org.springframework.context.support.AbstractApplicationContext.refre
h(AbstractApplicationContext.java:349)
        at org.springframework.web.context.support.AbstractRefreshableWebApplic
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at org.springframework.web.context.ContextLoader.createWebApplicationCo
text(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationCont
xt(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitial
zed(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardConte
t.java:3764)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:
216)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas
.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:7
0)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:71
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:49
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.jav
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecyc
eSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:44
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:
48)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:70
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.alfresco.service.cmr.view.ImporterException: Path /sys:system wi
hin node user://alfrescoUserStore/664c5451-70b2-11dc-8931-4d5329de1171 does not
exist - the path must resolve to a valid location
        at org.alfresco.repo.importer.ImporterComponent.getNodeRef(ImporterComp
nent.java:268)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComp
nent.java:223)
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBoots
rap.java:426)
        … 35 more
Oct 2, 2007 12:40:49 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 2, 2007 12:40:49 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
Oct 2, 2007 12:40:55 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 2, 2007 12:40:55 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Oct 2, 2007 12:40:55 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 112429 ms

Outcomes