AnsweredAssumed Answered

importing alfresco repository

Question asked by sanghamitra on Oct 30, 2007
Latest reply on Nov 14, 2008 by derek
Hi,
I am running two different alfresco servers in two different machines.
I am trying to export the alfresco repository from one machine and import it in the second machine.
I was able to export the repository properly however while trying to import the repository I am getting errors and alfresco doesn't start up.
The steps i followed are those given in the below link::
http://wiki.alfresco.com/wiki/Export_and_Import#Web_Client_Export_.26_Import_of_a_Complete_Repository


SpacesStore
13:57:21,479 DEBUG [repo.importer.ImporterBootstrap] Importing alfresco/extensio
n/restore/export_spaces.acp
13:57:21,495 DEBUG [repo.importer.ImporterBootstrap] Import started at Tue Oct 3
0 13:57:21 IST 2007 (1193732841495)
13:57:39,631 DEBUG [repo.importer.ImporterBootstrap] Import completed at Tue Oct
30 13:57:39 IST 2007 (1193732859631)
13:57:39,631 DEBUG [repo.importer.ImporterBootstrap] Error occured at Tue Oct 30
13:57:39 IST 2007 (1193732859631)
13:57:39,631 DEBUG [repo.importer.ImporterBootstrap] Exception: org.alfresco.ser
vice.cmr.view.ImporterException: Failed to import package at line 3028; column 5
4 due to error: Element {http://www.alfresco.org/view/repository/1.0}authority m
ust have a value
13:57:39,631 DEBUG [repo.importer.ImporterBootstrap] Import duration: 18136 ms (
Note: excluding commit time)
13:57:39,631 DEBUG [repo.importer.ImporterBootstrap]  Nodes created: 122
13:57:39,631 DEBUG [repo.importer.ImporterBootstrap]  Nodes linked: 0
13:57:39,631 DEBUG [repo.importer.ImporterBootstrap]  Aspects Added: 219
13:57:39,631 DEBUG [repo.importer.ImporterBootstrap]  Properties set: 1393
13:57:39,631 DEBUG [repo.importer.ImporterBootstrap]  Content set: 74
13:57:39,631 DEBUG [repo.importer.ImporterBootstrap]  Permissions set: 7
13:57:39,913 ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootst
rap.java:444)
        at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBoot
strap.java:666)
        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:241)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:349)
        at org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3764)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
216)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
0)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

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

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:4
48)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        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:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import pac
kage at line 3028; column 54 due to error: Element {http://www.alfresco.org/view
/repository/1.0}authority must have a value
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:190)

        at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterCom
ponent.java:360)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterCompo
nent.java:235)
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootst
rap.java:430)
        … 35 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Element {http://www.
alfresco.org/view/repository/1.0}authority must have a value
        at org.alfresco.repo.importer.view.ViewParser.processAccessControlEntry(
ViewParser.java:589)
        at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewPa
rser.java:329)
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:176)

        … 38 more
13:57:39,928 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending contex
t initialized event to listener instance of class org.springframework.web.contex
t.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootst
rap.java:444)
        at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBoot
strap.java:666)
        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:241)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:349)
        at org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3764)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
216)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
0)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

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

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:4
48)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        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:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import pac
kage at line 3028; column 54 due to error: Element {http://www.alfresco.org/view
/repository/1.0}authority must have a value
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:190)

        at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterCom
ponent.java:360)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterCompo
nent.java:235)
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootst
rap.java:430)
        … 35 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Element {http://www.
alfresco.org/view/repository/1.0}authority must have a value
        at org.alfresco.repo.importer.view.ViewParser.processAccessControlEntry(
ViewParser.java:589)
        at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewPa
rser.java:329)
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:176)

        … 38 more
13:57:39,944 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending contex
t initialized event to listener instance of class org.alfresco.web.app.ContextLi
stener
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootst
rap.java:444)
        at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBoot
strap.java:666)
        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:241)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:349)
        at org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3764)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
216)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
0)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

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

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:4
48)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        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:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import pac
kage at line 3028; column 54 due to error: Element {http://www.alfresco.org/view
/repository/1.0}authority must have a value
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:190)

        at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterCom
ponent.java:360)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterCompo
nent.java:235)
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootst
rap.java:430)
        … 35 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Element {http://www.
alfresco.org/view/repository/1.0}authority must have a value
        at org.alfresco.repo.importer.view.ViewParser.processAccessControlEntry(
ViewParser.java:589)
        at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewPa
rser.java:329)
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:176)

        … 38 more
Oct 30, 2007 1:57:39 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 30, 2007 1:57:39 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
Oct 30, 2007 1:57:41 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 30, 2007 1:57:41 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Oct 30, 2007 1:57:42 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 297518 ms

Could someone please help me resolve this issue.
I am completely clueless how to proceed futher.

Thanks in anticipation
Sanghamitra

Outcomes