cancel
Showing results for 
Search instead for 
Did you mean: 

Please HELP me about 'No root found for : root path:....'

madoatz
Champ in-the-making
Champ in-the-making
I can't start Alfresco ..

===== Error ======

No root found for : root path: /app:company_home/st:sites

how i can recover it's. i don't need to loss all of data in alfresco T_T…

===== Full Console Error =====

Jan 18, 2010 10:28:00 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Jan 18, 2010 10:28:00 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1514 ms
Jan 18, 2010 10:28:00 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 18, 2010 10:28:00 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Jan 18, 2010 10:28:00 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Jan 18, 2010 10:28:05 AM org.apache.catalina.core.StandardContext addApplication
Listener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is
already configured for this context. The duplicate definition has been ignored.
AbandonedObjectPool is used (org.apache.commons.dbcp.AbandonedObjectPool@12e5c94
)
   LogAbandoned: false
   RemoveAbandoned: true
   RemoveAbandonedTimeout: 30
10:28:35,993  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading pro
perties file from class path resource [alfresco/file-servers.properties]
10:28:39,258  DEBUG [alfresco.util.OpenOfficeConnectionTester] preRegister calle
d. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@d115db, name=log4j:logger=org.a
lfresco.util.OpenOfficeConnectionTester
10:28:55,136  INFO  [domain.schema.SchemaBootstrap] Schema managed by database d
ialect org.hibernate.dialect.MySQLInnoDBDialect.
10:28:56,710  INFO  [domain.schema.SchemaBootstrap] No changes were made to the
schema.
10:29:00,790 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco ro
ot data directory ('dir.root') is: F:\Alfresco_data
10:29:00,853 User:System INFO  [admin.patch.PatchExecuter] Checking for patches
to apply …
10:29:01,349 User:System INFO  [admin.patch.PatchExecuter] No patches were requi
red.
10:29:01,362 User:System INFO  [repo.module.ModuleServiceImpl] Found 1 module(s)
.
10:29:01,427 User:System INFO  [repo.module.ModuleServiceImpl] Starting module '
org.alfresco.module.vti' version 1.0.
10:29:02,308 User:System DEBUG [alfresco.util.OpenOfficeConnectionTester] The co
nnection to OpenOffice has been established.
10:29:02,363 User:System INFO  [service.descriptor.DescriptorService] Alfresco J
VM - v1.6.0_13-b03; maximum heap size 739.563MB
10:29:02,364 User:System INFO  [service.descriptor.DescriptorService] Alfresco s
tarted (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed versi
on 3.0.0 (Stable 1526) schema 1002
2010-01-18 10:29:02.546::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2010-01-18 10:29:02.634::INFO:  jetty-6.1.14
2010-01-18 10:29:02.719::INFO:  Started SocketConnector@0.0.0.0:7070
10:29:02,753 User:System ERROR [web.context.ContextLoader] Context initializatio
n failed
java.lang.RuntimeException: No root found for :
   root path: /app:company_home/st:sites
        at org.alfresco.module.vti.handler.alfresco.VtiPathHelper$2.doWork(VtiPa
thHelper.java:502)
        at org.alfresco.module.vti.handler.alfresco.VtiPathHelper$2.doWork(VtiPa
thHelper.java:484)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(Au
thenticationUtil.java:437)
        at org.alfresco.module.vti.handler.alfresco.VtiPathHelper.onBootstrap(Vt
iPathHelper.java:482)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLi
fecycleBean.java:62)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1
.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecut
or.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:246)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:355)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:244)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:187)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
16)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jan 18, 2010 10:29:02 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 18, 2010 10:29:02 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class
reloading, using NOPLoggerRepository.
log4j:WARN No appenders could be found for logger (org.quartz.core.QuartzSchedul
erThread).
log4j:WARN Please initialize the log4j system properly.
10:29:12,345  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Fram
ework
10:29:16,415  INFO  [web.scripts.DeclarativeRegistry] Registered 67 Web Scripts
(+0 failed), 71 URLs
10:29:16,418  INFO  [web.scripts.AbstractRuntimeContainer] Initialised Presentat
ion Web Script Container (in 627.0637ms)
10:29:21,354  INFO  [web.scripts.DeclarativeRegistry] Registered 101 Web Scripts
(+0 failed), 105 URLs
10:29:21,355  INFO  [web.scripts.AbstractRuntimeContainer] Initialised WebFramew
ork Web Script Container (in 4889.9834ms)
10:29:21,461  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Fram
ework
Jan 18, 2010 10:29:21 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
Jan 18, 2010 10:29:21 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 80832 ms
6 REPLIES 6

mrogers
Star Contributor
Star Contributor
What happened to the sites folder?  
Have you upgraded your version of Alfresco or did someone delete it.

Does the sites folder actually exist?

madoatz
Champ in-the-making
Champ in-the-making
Thanks and Best Regards for your help.

i never to upgrade version.  and  i don't delete someone folder.
Please let's me know about where "sites" folder should be found ?
And how i can restore it's.   T_T.

Thank you very much in advance……   Smiley Sad

pondermuse
Champ in-the-making
Champ in-the-making
Hi,

I am experiencing this same problem but I do know it is happening because I have deleted the Sites space from Alfresco thinking it wasn't needed…

What is the easiest way of recreating the Sites space so that Alfresco server can be started successfully? Is this straightforward or will I need to re-install Alfresco?

Thanks for your help,
PM.

bergerrc
Champ in-the-making
Champ in-the-making
I solved this changing the configuration of VTI module in /WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context.

You must add new property in vti.properties as this:

vti.root.path=/app:company_home

And after you have to change the root path of VTI in vti-handler-alfresco3-context.xml. Looking for property "rootPath" and changing its value to
<property name="rootPath" value="${vti.root.path}" />

aascensao
Champ in-the-making
Champ in-the-making
Hi,

I have the same trouble here. The fact is that i'm working on a new structure of Spaces for a project, and accidentally moved the Sites Space to the Backup Space, i've created to reorganize the content later.

So, the Sites Space, is in <company_home>/BACKUP/Sites .. I've tried to follow the method bergerrc described to
vti.root.path=/app:company_home/BACKUP/st:sites
but Alfresco still doesn't recognize it…

Am i'm missing some sintaxe error, or it's just something else?

Best regards, and thanks.

ishan
Champ in-the-making
Champ in-the-making
Hi,

one year after this thread, i've had the same issue and could solve it with the hint.
I didn't change anything so I don't understand this behavior.

Can someone explain what happened?

Thanks
Ishan