cancel
Showing results for 
Search instead for 
Did you mean: 

Full Repository Import Produces Errors

johnlpower
Champ in-the-making
Champ in-the-making
We have a production Alfresco server running and wanted to test the full repository export / import on a separate server.  Server is configured to use MySQL and is configured to run as a service.  Full repository has been exported from another server.  New server has been installed and configured , acp files have been copied to …/alfresco/extension/restore and restore-context.xml.sample has been modified to reflect the correct files names and renamed to .xml.  Upon starting the tomcat service for the first time, the following log file is created.  Looking for some help . . .

I may very well be missing something but am struggling with the lack of detail around this process.

Thanks in advance for your help . . .

John



Aug 10, 2007 12:44:51 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Alfresco\tomcat\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Alfresco\java\bin;C:\Alfresco\tomcat\bin;C:\Program Files\MySQL\MySQL Server 5.0\bin
Aug 10, 2007 12:44:52 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Aug 10, 2007 12:44:52 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2313 ms
Aug 10, 2007 12:44:52 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 10, 2007 12:44:52 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Aug 10, 2007 12:44:52 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 10, 2007 12:44:53 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
12:45:20,765 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
12:45:23,828 WARN  [alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
12:45:26,750 INFO  [domain.schema.SchemaBootstrap] Generating unmodified schema creation script: C:\Alfresco\tomcat\temp\Alfresco\AlfrescoSchemaCreate-org.hibernate.dialect.MySQLInnoDBDialect-15834.sql
12:45:26,796 INFO  [domain.schema.SchemaBootstrap] Executing database script: C:\Alfresco\tomcat\temp\Alfresco\AlfrescoSchemaCreate-org.hibernate.dialect.MySQLInnoDBDialect-15834.sql
12:45:51,359 INFO  [domain.schema.SchemaBootstrap] Executing database script: classpath:alfresco/dbscripts/create/2.0/${db.script.dialect}/AlfrescoPostCreate-2.0-FKIndexes.sql
12:45:52,718 DEBUG [repo.importer.ImporterBootstrap] Created store: user://alfrescoUserStore
12:45:52,750 DEBUG [repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/20070810_users.acp
12:45:53,484 DEBUG [repo.importer.ImporterBootstrap] Import started at Fri Aug 10 12:45:53 PDT 2007 (1186775153484)
12:45:56,718 DEBUG [repo.importer.ImporterBootstrap] Import completed at Fri Aug 10 12:45:56 PDT 2007 (1186775156718)
12:45:56,718 DEBUG [repo.importer.ImporterBootstrap] Import duration: 3234 ms (Note: excluding commit time)
12:45:56,718 DEBUG [repo.importer.ImporterBootstrap]  Nodes created: 82
12:45:56,718 DEBUG [repo.importer.ImporterBootstrap]  Nodes linked: 0
12:45:56,718 DEBUG [repo.importer.ImporterBootstrap]  Aspects Added: 0
12:45:56,718 DEBUG [repo.importer.ImporterBootstrap]  Properties set: 930
12:45:56,718 DEBUG [repo.importer.ImporterBootstrap]  Content set: 0
12:45:56,718 DEBUG [repo.importer.ImporterBootstrap]  Permissions set: 1
12:45:57,546 DEBUG [repo.importer.ImporterBootstrap] Created store: system://system
12:45:57,546 DEBUG [repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/20070810_system.acp
12:45:57,546 DEBUG [repo.importer.ImporterBootstrap] Import started at Fri Aug 10 12:45:57 PDT 2007 (1186775157546)
12:45:57,687 DEBUG [repo.importer.ImporterBootstrap] Import completed at Fri Aug 10 12:45:57 PDT 2007 (1186775157687)
12:45:57,687 DEBUG [repo.importer.ImporterBootstrap] Import duration: 141 ms (Note: excluding commit time)
12:45:57,687 DEBUG [repo.importer.ImporterBootstrap]  Nodes created: 3
12:45:57,687 DEBUG [repo.importer.ImporterBootstrap]  Nodes linked: 0
12:45:57,687 DEBUG [repo.importer.ImporterBootstrap]  Aspects Added: 0
12:45:57,687 DEBUG [repo.importer.ImporterBootstrap]  Properties set: 33
12:45:57,687 DEBUG [repo.importer.ImporterBootstrap]  Content set: 1
12:45:57,687 DEBUG [repo.importer.ImporterBootstrap]  Permissions set: 0
12:45:58,109 DEBUG [repo.importer.ImporterBootstrap] Created store: workspace://lightWeightVersionStore
12:46:03,312 DEBUG [repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/20070810_versions.acp
12:46:03,546 DEBUG [repo.importer.ImporterBootstrap] Import started at Fri Aug 10 12:46:03 PDT 2007 (1186775163546)
12:46:03,546 DEBUG [repo.importer.ImporterBootstrap] Import completed at Fri Aug 10 12:46:03 PDT 2007 (1186775163546)
12:46:03,546 DEBUG [repo.importer.ImporterBootstrap] Error occured at Fri Aug 10 12:46:03 PDT 2007 (1186775163546)
12:46:03,546 DEBUG [repo.importer.ImporterBootstrap] Exception: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 11; column 29 due to error: Aspect name {http://www.alfresco.org/model/versionstore/1.0}versionStoreRoot is not valid; cannot find in Repository dictionary
12:46:03,546 DEBUG [repo.importer.ImporterBootstrap] Import duration: 0 ms (Note: excluding commit time)
12:46:03,546 DEBUG [repo.importer.ImporterBootstrap]  Nodes created: 0
12:46:03,546 DEBUG [repo.importer.ImporterBootstrap]  Nodes linked: 0
12:46:03,546 DEBUG [repo.importer.ImporterBootstrap]  Aspects Added: 0
12:46:03,546 DEBUG [repo.importer.ImporterBootstrap]  Properties set: 0
12:46:03,546 DEBUG [repo.importer.ImporterBootstrap]  Content set: 0
12:46:03,546 DEBUG [repo.importer.ImporterBootstrap]  Permissions set: 0
12:46:03,609 ERROR [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.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: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 29 due to error: Aspect name {http://www.alfresco.org/model/versionstore/1.0}versionStoreRoot is not valid; cannot find in Repository dictionary
   at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:179)
   at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:352)
   at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:230)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:430)
   … 33 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Aspect name {http://www.alfresco.org/model/versionstore/1.0}versionStoreRoot is not valid; cannot find in Repository dictionary
   at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewParser.java:298)
   at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:165)
   … 36 more
12:46:03,609 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: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.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: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 29 due to error: Aspect name {http://www.alfresco.org/model/versionstore/1.0}versionStoreRoot is not valid; cannot find in Repository dictionary
   at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:179)
   at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:352)
   at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:230)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:430)
   … 33 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Aspect name {http://www.alfresco.org/model/versionstore/1.0}versionStoreRoot is not valid; cannot find in Repository dictionary
   at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewParser.java:298)
   at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:165)
   … 36 more
12:46:03,609 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
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.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: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 29 due to error: Aspect name {http://www.alfresco.org/model/versionstore/1.0}versionStoreRoot is not valid; cannot find in Repository dictionary
   at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:179)
   at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:352)
   at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:230)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:430)
   … 33 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Aspect name {http://www.alfresco.org/model/versionstore/1.0}versionStoreRoot is not valid; cannot find in Repository dictionary
   at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewParser.java:298)
   at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:165)
   … 36 more
Aug 10, 2007 12:46:03 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 10, 2007 12:46:03 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
Aug 10, 2007 12:46:05 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 10, 2007 12:46:06 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Aug 10, 2007 12:46:06 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/94  config=null
Aug 10, 2007 12:46:06 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Aug 10, 2007 12:46:06 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 73984 ms
2 REPLIES 2

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

What version of the repository are you using?

Thanks,
Roy

kevinr
Star Contributor
Star Contributor