cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy the self built alfresco.war ???

jian
Champ in-the-making
Champ in-the-making
I retrieved the most recent source, and built the alfresco.war successfully. But I'm having problem to use the self built alfresco.war.

First I followed the instruction on "Alfresco SVN Development Environment", I can't start alfresco. The tomcat log said:

Bootstrap failed.

Then I tried to use the self built alfresco.war to replace the working alfresco.war from 1.4 community bin distribution, but got the same problem and error.

Where is the problem?
Thanks,
Jian
4 REPLIES 4

gavinc
Champ in-the-making
Champ in-the-making
Do you see an alfresco.log file?

If so, can you post the stack trace you find in there?

khandan
Champ in-the-making
Champ in-the-making
i can not deploy alfresco and tomcat logged following error:

[web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:448)
at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBootstrap.java:670)
.
.
.
Caused by: org.alfresco.service.cmr.view.ImporterException: Path /sys:system within node user://alfrescoUserStore/f84c4d55-7892-11db-bcae-a1d2fad9dc23 does not exist - the path must resolve to a valid location
at org.alfresco.repo.importer.ImporterComponent.getNodeRef(ImporterComponent.java:255)
at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:210)
at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:429)
… 33 more
16:01:06,172 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:448)

gavinc
Champ in-the-making
Champ in-the-making
It may be that your alf_data directory and database is out of sync.

Try removing your alf_data folder and re-creating your database and starting  Tomcat again.

richard_tsai
Champ in-the-making
Champ in-the-making
I used to update both in alfresco.war AND webapps/alfresco, because my Alfresco have some customized setting in there. I don't want it to be extracted again. It shouldn't be your case. Just FYI.