cancel
Showing results for 
Search instead for 
Did you mean: 

Full repository import (restore) throws dictionary exception

bpeters
Champ in-the-making
Champ in-the-making
Hi,

When I try to execute a full repository import using the boorstrap restore I receive an exception (system cannot locate apsect-root in the repository dictionary, see exception below).

I am using Alfresco 2.1.0 and tried to execute the restore with both the war and tomcat distributions. I am using a fresh install (removed alf_data and created a new alfresco database in MySQL).

In previous versions (1.4) I never had problems doing a restore. Is something changed? Am I missing something, or is this a known problem?

Thanks in advance for any help.


09:11:40,002 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Created store: user://alfrescoUserStore
09:11:40,042 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/export_users.acp
09:11:41,234 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import started at Wed Aug 01 09:11:41 CEST 2007 (1185952301234)
09:11:41,244 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import completed at Wed Aug 01 09:11:41 CEST 2007 (1185952301244)
09:11:41,244 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Error occured at Wed Aug 01 09:11:41 CEST 2007 (1185952301244)
09:11:41,244 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Exception: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 11; column 24 due to error: Aspect name {http://www.alfresco.org/model/system/1.0}aspect_root is not valid; cannot find in Repository dictionary
09:11:41,244 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import duration: 10 ms (Note: excluding commit time)
09:11:41,244 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes created: 0
09:11:41,244 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes linked: 0
09:11:41,244 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Aspects Added: 0
09:11:41,244 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Properties set: 0
09:11:41,244 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Content set: 0
09:11:41,244 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Permissions set: 0
09:11:41,294 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:444)
   at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBootstrap.java:666)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:241)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349)
   at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
   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:3763)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
   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:809)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
   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:1021)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
   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:709)
   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:294)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 11; column 24 due to error: Aspect name {http://www.alfresco.org/model/system/1.0}aspect_root is not valid; cannot find in Repository dictionary
   at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:190)
   at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:360)
   at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:235)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:430)
   … 35 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Aspect name {http://www.alfresco.org/model/system/1.0}aspect_root is not valid; cannot find in Repository dictionary
   at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewParser.java:309)
   at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:176)
   … 38 more
34 REPLIES 34

kosumi
Champ in-the-making
Champ in-the-making
Is there any immediate solution to this problem? TIA

erangaj
Champ in-the-making
Champ in-the-making
I also received the same error. I'm using V2.1

gilles
Champ in-the-making
Champ in-the-making
David, Derek,     we need your help!

davidc
Star Contributor
Star Contributor
It's a bug.  A fix has just gone into 2.1 enterprise.

gilles
Champ in-the-making
Champ in-the-making
Thanks for your answer, David.
Do you know when it will be fixed in the Community?

prototribe
Champ in-the-making
Champ in-the-making
Hello,

I'm bumping this as its created a substantial problem for us. We need to upgrade to get various fixes, but our upgrade path is now blocked due to this bug.

I'm fearful that we may have to begin looking elsewhere for a document management solution as our business users have lost nearly all patience with Alfresco.

Alfresco offers many fantastic features, and we would like to continue using it, but need the simple things to work. Like upgrades, commas in filenames, etc..

Thanks for all the work thats been put into Alfresco so far.

derek
Star Contributor
Star Contributor
It's a bug. A fix has just gone into 2.1 enterprise.
This fix will be brought into the community code over the next few weeks.  The Enterprise 2.1.0 is at the final Beta stage; release may be at the end of this week.

Regards

schneika
Champ in-the-making
Champ in-the-making
We have the same error at Full Repository Import with "invalid aspect_root" in export_users.acp.
Are there new experiences?
Release-Date for V2.1E or V2.x CE with that fixes?

kevinr
Star Contributor
Star Contributor
2.1E was finalised yestarday - the download email should be out today.

The fixes are marked for merge into community ASAP.

Thanks,

Kevin

kevinr
Star Contributor
Star Contributor
The fix has gone into community codeline. You can either get code from the public SVN or wait for tonights nightly build.

Thanks,

Kevin