cancel
Showing results for 
Search instead for 
Did you mean: 

Bootstrap failed

jlbarrera
Champ in-the-making
Champ in-the-making
Hello! when i try run alfresco a received the next error…

Whats happened?



Excepci?n enviando evento de contexto destru?do a instancia de escuchador de clase org.alfresco.web.app.ContextListener

org.alfresco.web.app.ContextListener
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:422)
        at org.alfresco.repo.importer.ImporterBootstrap.onApplicationEvent(ImporterBootstrap.java:615)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:45)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:225)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:323)
        at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3727)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.alfresco.repo.search.SearcherException: More than one root node in index: 2
        at org.alfresco.repo.search.impl.lucene.query.LeafScorer.initialise(LeafScorer.java:220)
        at org.alfresco.repo.search.impl.lucene.query.LeafScorer.<init>(LeafScorer.java:134)
        at org.alfresco.repo.search.impl.lucene.query.PathScorer.createPathScorer(PathScorer.java:147)
        at org.alfresco.repo.search.impl.lucene.query.PathQuery$StructuredFieldWeight.scorer(PathQuery.java:250)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:85)
        at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:64)
        at org.apache.lucene.search.Hits.<init>(Hits.java:43)
        at org.apache.lucene.search.Searcher.search(Searcher.java:33)
        at org.apache.lucene.search.Searcher.search(Searcher.java:27)
        at org.alfresco.repo.search.impl.lucene.LuceneSearcherImpl.query(LuceneSearcherImpl.java:254)
        at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:77)
        at org.alfresco.repo.importer.ImporterComponent$NodeImporter.resolveImportedNodeRef(ImporterComponent.java:1009)
        at org.alfresco.repo.importer.ImporterComponent$NodeImporter.end(ImporterComponent.java:719)
        at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:346)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:212)
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:403)
        … 32 more

5 REPLIES 5

jlbarrera
Champ in-the-making
Champ in-the-making
More info about the error:

i try install alfresco from source code. When i run alfresco with the old database of system, it is imposible login in alfresco. Then i delete the database and i create a new database and i assigned the permissions and run alfresco again, then i get the above exception .

But however the tables of database are created, What`s happened?

thanks! some ideas?

kevinr
Star Contributor
Star Contributor
The "more than one root node error" occurs due to a configuration problem. It looks like the system has been bootstrapped with a clean alf_data directory but not a clean database. Can you try deleting and recreating the schema and deleting the alf_data directory also.

Thanks,

Kevin

jlbarrera
Champ in-the-making
Champ in-the-making
Ok thanks! now alfresco run, but now i have other problem:

When i try login in alfresco: Unable to login - unknown username/password.

user and password admin…??

gavinc
Champ in-the-making
Champ in-the-making
Did you make sure you cleaned ALL alf_data folders AND the database at the same time?

The error you're seeing now is a symptom of the database and the index files being out of sync.

Make sure everything is cleaned up before re-starting the server.

jlbarrera
Champ in-the-making
Champ in-the-making
Yes! OK

I delete the database, i delete the alf_data directory, i create the new database and i assigned the permissions. I start the server and…all work fine

Thank you very much!
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.