cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco not starts

sbarcena
Champ in-the-making
Champ in-the-making
Hello to all,
I'm working with the version labs 3Stable (windows) I'm installed MyEclipse and I'm configured it as it explains in http: // wiki.alfresco.com/wiki/Alfresco_On_eclipse. Since I have done thin, alfresco does not start: I execute alf_start.bat and the following error appears in the tomcat console:

06-feb-2009 14:58:47 org.apache.coyote.http11.Http11Protocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
06-feb-2009 14:58:47 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1247 ms
06-feb-2009 14:58:47 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
06-feb-2009 14:58:47 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
06-feb-2009 14:58:47 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo alfresco.war de la aplicaci´┐¢n web
06-feb-2009 14:58:52 org.apache.catalina.core.StandardContext addApplicationList
ener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is
already configured for this context. The duplicate definition has been ignored.
14:59:33,453  WARN  [jmx.support.JmxUtils] Found more than one MBeanServer insta
nce. Returning first from list.
14:59:37,562  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading pro
perties file from class path resource [alfresco/file-servers.properties]
15:00:11,187  INFO  [domain.schema.SchemaBootstrap] Schema managed by database d
ialect org.hibernate.dialect.DerbyDialect.
15:00:11,218  INFO  [domain.schema.SchemaBootstrap] Alfresco is using the Apache
Derby default database. Please only use this while evaluating Alfresco, it is N
OT recommended for production or deployment!
15:00:17,625  INFO  [domain.schema.SchemaBootstrap] No changes were made to the
schema.
15:00:28,718 UserSmiley Frustratedystem WARN  [node.index.FullIndexRecoveryComponent] The index
es are not synchronized with the database.
15:00:53,375 UserSmiley Frustratedystem WARN  [node.index.AVMFullIndexRecoveryComponent]     In
dex for avm store website01 is out of date
15:00:53,421 UserSmiley Frustratedystem WARN  [node.index.AVMFullIndexRecoveryComponent]     In
dex for avm store website01–preview is out of date
15:00:53,484 UserSmiley Frustratedystem WARN  [node.index.AVMFullIndexRecoveryComponent]     In
dex for avm store website01–admin is out of date
15:00:53,546 UserSmiley Frustratedystem WARN  [node.index.AVMFullIndexRecoveryComponent]     In
dex for avm store website01–admin–preview is out of date
15:00:56,140 UserSmiley Frustratedystem INFO  [repo.admin.ConfigurationChecker] The Alfresco ro
ot data directory ('dir.root') is: C:\Alfresco\alf_data
15:00:57,140 UserSmiley Frustratedystem ERROR [repo.admin.ConfigurationChecker] CONTENT INTEGRI
TY ERROR: Indexes not found for 4 stores.
15:00:57,140 UserSmiley Frustratedystem INFO  [repo.admin.ConfigurationChecker] You may set 'in
dex.recovery.mode=FULL' if you need to rebuild the indexes.
15:00:57,140 UserSmiley Frustratedystem ERROR [repo.admin.ConfigurationChecker] Ensure that the
'dir.root' property is pointing to the correct data location.
15:00:57,140 UserSmiley Frustratedystem ERROR [web.context.ContextLoader] Context initializatio
n failed
org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property
is pointing to the correct data location.
        at org.alfresco.repo.admin.ConfigurationChecker.check(ConfigurationCheck
er.java:312)
        at org.alfresco.repo.admin.ConfigurationChecker.access$000(Configuration
Checker.java:72)
        at org.alfresco.repo.admin.ConfigurationChecker$1.execute(ConfigurationC
hecker.java:178)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:320)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:246)
        at org.alfresco.repo.admin.ConfigurationChecker.onBootstrap(Configuratio
nChecker.java:182)
        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)
06-feb-2009 15:00:57 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
06-feb-2009 15:00:57 org.apache.catalina.core.StandardContext start
GRAVE: Fall´┐¢ en arranque del Contexto [/alfresco] debido a errores previos
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class
reloading, using NOPLoggerRepository.
06-feb-2009 15:01:02 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo share.war de la aplicaci´┐¢n web
15:01:10,484  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Fram
ework
06-feb-2009 15:01:10 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo studio.war de la aplicaci´┐¢n web
15:01:16,187  INFO  [web.scripts.DeclarativeRegistry] Registered 67 Web Scripts
(+0 failed), 71 URLs
15:01:16,203  INFO  [web.scripts.AbstractRuntimeContainer] Initialised Presentat
ion Web Script Container (in 687.79083ms)
15:02:19,171  INFO  [web.scripts.DeclarativeRegistry] Registered 101 Web Scripts
(+0 failed), 105 URLs
15:02:19,187  INFO  [web.scripts.AbstractRuntimeContainer] Initialised WebFramew
ork Web Script Container (in 62937.91ms)
15:02:19,375  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Fram
ework
06-feb-2009 15:02:20 org.apache.coyote.http11.Http11Protocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
06-feb-2009 15:02:20 org.apache.catalina.startup.Catalina start
INFO: Server startup in 212930 ms



Any idea?
1 REPLY 1

openpj
Elite Collaborator
Elite Collaborator
It seems you have your alf_data directory that not matched with your Alfresco database, I think you must drop database and recreate it to solve this problem.

Hope this helps.