cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Alfresco 1.2 failed at bootstrap

gertthiel
Champ in-the-making
Champ in-the-making
Hi,

I tried to install Alfresco 1.2 (a brand new install, no update). It failed at the bootstrap. Can you help?

TIA

Gert Thiel

01:05:02,555 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer
not available: Failed to execute command: imconvert /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_230
06.gif  /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_23007.png
01:06:43,094 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:390)
        at org.alfresco.repo.importer.ImporterBootstrap.onApplicationEvent(ImporterBootstrap.java:569)
        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(AbstractRefreshableWebApplicatio
nContext.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:3692)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
        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:680)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
        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.service.cmr.view.ImporterException: Failed to import package at line 19; column 17 due to error: Content URL
classpath:alfresco/bootstrap/Alfresco Tutorial does not exist.
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:171)
        at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:345)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:212)
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:374)
        … 32 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Content URL classpath:alfresco/bootstrap/Alfresco Tutorial does not exis
t.
        at org.alfresco.repo.importer.ImporterComponent$DefaultStreamHandler.importStream(ImporterComponent.java:1475)
        at org.alfresco.repo.importer.ImporterComponent$NodeImporter.importContent(ImporterComponent.java:624)
        at org.alfresco.repo.importer.ImporterComponent$NodeImporter.importNode(ImporterComponent.java:539)
        at org.alfresco.repo.importer.view.ViewParser.importNode(ViewParser.java:812)
        at org.alfresco.repo.importer.view.ViewParser.processEndType(ViewParser.java:776)
        at org.alfresco.repo.importer.view.ViewParser.processEndElement(ViewParser.java:756)
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:163)
        … 35 more
01:06:43,596 ERROR [org.apache.catalina.core.ContainerBase.[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:390)
        at org.alfresco.repo.importer.ImporterBootstrap.onApplicationEvent(ImporterBootstrap.java:569)
        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(AbstractRefreshableWebApplicatio
nContext.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:3692)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
        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:680)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
        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.service.cmr.view.ImporterException: Failed to import package at line 19; column 17 due to error: Content URL
classpath:alfresco/bootstrap/Alfresco Tutorial does not exist.

        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:171)
        at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:345)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:212)
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:374)
        … 32 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Content URL classpath:alfresco/bootstrap/Alfresco Tutorial does not exis
t.

        at org.alfresco.repo.importer.ImporterComponent$DefaultStreamHandler.importStream(ImporterComponent.java:1475)
        at org.alfresco.repo.importer.ImporterComponent$NodeImporter.importContent(ImporterComponent.java:624)
        at org.alfresco.repo.importer.ImporterComponent$NodeImporter.importNode(ImporterComponent.java:539)
        at org.alfresco.repo.importer.view.ViewParser.importNode(ViewParser.java:812)
        at org.alfresco.repo.importer.view.ViewParser.processEndType(ViewParser.java:776)
        at org.alfresco.repo.importer.view.ViewParser.processEndElement(ViewParser.java:756)
8 REPLIES 8

paulhh
Champ in-the-making
Champ in-the-making
Hi Gert - good to hear from you again!

Can you tell us which bundle/platform you're using - I haven't seen this problem before, but it sounds like the bootstrap folder is corrupt or not there in webapps/alfresco/WEB-INF/classes/alfresco/bootstrap.

Cheers
Paul.

paulhh
Champ in-the-making
Champ in-the-making
Can you check what pdf is in the bootstrap folder and what name is in the messages/bootstrap-tutorial.properties file?

Cheers
Paul.

gertthiel
Champ in-the-making
Champ in-the-making
Hi Gert - good to hear from you again!
Thanks!

Can you tell us which bundle/platform you're using - I haven't seen this problem before, but it sounds like the bootstrap folder is corrupt or not there in webapps/alfresco/WEB-INF/classes/alfresco/bootstrap.
I used alfresco-tomcat-1.2.0.tar.gz which I installed under /opt.

/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/bootstrap looks like:
-rw-r–r– 1 root root 3805577 2006-02-24 00:09 Alfresco-Tutorial.pdf
-rw-r–r– 1 root root    1379 2006-02-24 00:09 alfrescoUserStore.xml
-rw-r–r– 1 root root   32877 2006-02-24 00:09 categories.xml
-rw-r–r– 1 root root     931 2006-02-24 00:09 descriptor.xml
-rw-r–r– 1 root root    3658 2006-02-24 00:09 spaces.xml
-rw-r–r– 1 root root    2371 2006-02-24 00:09 system.xml
-rw-r–r– 1 root root     847 2006-02-24 00:09 tutorial.xml

Regarding what Alfresco seems to look for I found this inside alfresco.log:
org.alfresco.service.cmr.view.ImporterException: Content URL classpath:alfresco/bootstrap/Alfresco Tutorial does not exist.

Does that help?

Thanks for your patience.

Gert

gertthiel
Champ in-the-making
Champ in-the-making
Can you check what pdf is in the bootstrap folder and what name is in the messages/bootstrap-tutorial.properties file?

messages/bootstrap-tutorial.properties looks ok:
# Labels used in bootstrap Tutorial definitions

tutorial.space.name=Alfresco Tutorial
tutorial.space.description=Step by step guide to the Alfresco application

tutorial.document.name=Alfresco-Tutorial.pdf
tutorial.document.title=Alfresco Tutorial
tutorial.document.description=Getting started guide

But /opt/alfresco/tomcat/shared/classes/alfresco/messages does not:
tutorial.document.description=Einsteiger Leitfaden
tutorial.document.name=Alfresco Tutorial
tutorial.document.title=Alfresco Tutorial
tutorial.space.description=Schritt f?r Schritt Anleitung - Alfresco Applikation
tutorial.space.name=Alfresco Tutorial

I will try bootstrapping again with an edited message file.

gertthiel
Champ in-the-making
Champ in-the-making
Can you check what pdf is in the bootstrap folder and what name is in the messages/bootstrap-tutorial.properties file?

messages/bootstrap-tutorial.properties looks ok:
# Labels used in bootstrap Tutorial definitions

tutorial.space.name=Alfresco Tutorial
tutorial.space.description=Step by step guide to the Alfresco application

tutorial.document.name=Alfresco-Tutorial.pdf
tutorial.document.title=Alfresco Tutorial
tutorial.document.description=Getting started guide

But /opt/alfresco/tomcat/shared/classes/alfresco/messages does not:
tutorial.document.description=Einsteiger Leitfaden
tutorial.document.name=Alfresco Tutorial
tutorial.document.title=Alfresco Tutorial
tutorial.space.description=Schritt f?r Schritt Anleitung - Alfresco Applikation
tutorial.space.name=Alfresco Tutorial

I will try bootstrapping again with an edited message file.

gertthiel
Champ in-the-making
Champ in-the-making
Sorry for duplicate. I resend the posting form because I got an error message from phpBB.

paulhh
Champ in-the-making
Champ in-the-making
I think that's the problem - there must be a language pack file added to shared/classes/alfresco/messages that is overriding the one in WEB-INF.

Either remove the one in shared which contains the line:
tutorial.document.name=Alfresco Tutorial

or replace it with the line:
tutorial.document.name=Alfresco-Tutorial.pdf

It's using that name to look for the bootstrap content - it's possible to do that if you want to provide localized bootstrap data.

Generally, you should only put overrides or extensions into the shared directory, not copies of everything.

Regards
Paul.

gertthiel
Champ in-the-making
Champ in-the-making
I think that's the problem - there must be a language pack file added to shared/classes/alfresco/messages that is overriding the one in WEB-INF.

Either remove the one in shared which contains the line:
tutorial.document.name=Alfresco Tutorial

or replace it with the line:
tutorial.document.name=Alfresco-Tutorial.pdf

It's using that name to look for the bootstrap content - it's possible to do that if you want to provide localized bootstrap data.

Regards
Paul.

I did that (while you answered my post).
And it helped. Alfresco runs now.

I should re-enlist myself to the de_DE translator team :wink:

Thanks a lot, Paul.

Cheers,

Gert