cancel
Showing results for 
Search instead for 
Did you mean: 

Bootstrap failed: the path must resolve to a valid location

rafique
Champ in-the-making
Champ in-the-making
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
3 REPLIES 3

mikeh
Star Contributor
Star Contributor
Hi

It's possible your version of MySQL is too old. Can you upgrade to v5?

Thanks,
Mike

rafique
Champ in-the-making
Champ in-the-making
Thanks Mike. The problem is solved with MySQL-5.0.15 and the web application is up and running.

It gave one error though (see logs), seems like it could not find the openoffice. I checked the option when the installer asked for download and install OpenOffice; Shouldn't it be downloaded by the installer? or do I need to download and install it separately ?


Tomcat console log:

CompilerOracle: exclude org/apache/lucene/index/IndexReader$1 doBody
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Mer
ger mergeIndexes
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Mer
ger mergeDeletions
Oct 2, 2007 2:33:15 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 2, 2007 2:33:15 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1922 ms
Oct 2, 2007 2:33:15 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 2, 2007 2:33:15 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Oct 2, 2007 2:33:15 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Oct 2, 2007 2:33:17 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
14:34:25,232 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI re
gistry - creating new one
14:34:37,920 INFO  [domain.schema.SchemaBootstrap] Schema managed by database di
alect org.hibernate.dialect.MySQLInnoDBDialect.
14:34:38,983 INFO  [domain.schema.SchemaBootstrap] Executing database script C:\
Alfresco\tomcat\temp\Alfresco\AlfrescoSchemaCreate-org.hibernate.dialect.MySQLIn
noDBDialect-15697.sql (Generated).
14:35:05,875 INFO  [domain.schema.SchemaBootstrap] Executing database script C:\
Alfresco\tomcat\temp\Alfresco\AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLIn
noDBDialect-15698.sql (Copied from classpath:alfresco/dbscripts/create/2.1/org.h
ibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-2.1-FKIndexes.sql).
14:35:06,109 INFO  [domain.schema.SchemaBootstrap] All executed statements writt
en to file C:\Alfresco\tomcat\temp\Alfresco\AlfrescoSchemaUpdate-All_Statements-
15699.sql.
14:39:41,629 ERROR [util.exec.RuntimeExecBootstrapBean] Bootstrap command failed
:
Execution result:
   os:         Windows XP
   command:    "C:/Alfresco/openoffice/program/soffice" "-accept=socket,host=loc
alhost,port=8100;urp;StarOffice.ServiceManager" "-env:UserInstallation=file:///C
:/Alfresco/oouser" -nologo -headless -nofirststartwizard -nocrashrep -norestore
   succeeded:  false
   exit code:  2
   out:
   err:        CreateProcess: "C:\Alfresco\openoffice\program\soffice" "-accept=
socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" "-env:UserInstall
ation=file:///C:/Alfresco/oouser" -nologo -headless -nofirststartwizard -nocrash
rep -norestore error=3
14:39:41,832 INFO  [service.descriptor.DescriptorService] Alfresco license: Crea
ting time trial license
14:39:45,379 INFO  [repo.admin.ConfigurationChecker] The Alfresco root data dire
ctory ('dir.root') is: C:\Alfresco\alf_data
14:39:45,520 INFO  [admin.patch.PatchExecuter] Checking for patches to apply …

14:39:47,848 INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.webscripts3
RESULT:
Imported view into bootstrap location: / (workspace://SpacesStore/6424024b-70c2-
11dc-83c9-2bae9c78a7d4)
=====================================
14:39:47,864 INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
14:39:50,333 WARN  [alfresco.util.OpenOfficeConnectionTester] A connection to Op
enOffice could not be established.
14:39:50,411 INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_
08-b03; maximum heap size 506.313MB
14:39:50,723 INFO  [service.descriptor.DescriptorService] Alfresco license: Ente
rprise Network granted to Trial User  to 30 days expiring Thu Nov 01 00:0
0:00 BDT 2007 (30 days remaining)
14:39:50,723 INFO  [service.descriptor.DescriptorService] Alfresco started (Ente
rprise Network): Current version 2.1.0 (112) schema 73 - Installed version 2.1.0
(112) schema 73
Oct 2, 2007 2:39:59 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 2, 2007 2:39:59 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Oct 2, 2007 2:40:00 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 404747 ms

mikeh
Star Contributor
Star Contributor
I'm not too familiar with the installer, but it's worth trying to run OpenOffice on it's own from C:\Alfresco\openoffice\program\soffice.exe to check it's happy.

Thanks,
Mike