AnsweredAssumed Answered

Problem with Bootstrap destination Repository from ACP files

Question asked by fjrodriguez on Jun 1, 2007
Latest reply on Jun 4, 2007 by fjrodriguez
Hello,

We have a problem doing the import with this method.
We have done all the steps which appear in the wiki about import/export.

This is the error: (Tomcat 5.5+Mysql5+Alfresco 1.4 Community)

13:13:19,062 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script: C:\tomcat\temp\Alfresco\AlfrescoSchemaCreate-org.hibernate.dialect.MySQLInnoDBDialect-12764.sql
13:13:43,640 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script: classpath:alfresco/dbscripts/create/1.4/${db.script.dialect}/post-create-indexes.sql
13:13:45,406 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Created store: user://alfrescoUserStore
13:13:45,437 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/keon_alfresco_users.acp
13:13:45,765 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import started at Fri Jun 01 13:13:45 CEST 2007 (1180696425765)
13:13:46,906 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import completed at Fri Jun 01 13:13:46 CEST 2007 (1180696426906)
13:13:46,906 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import duration: 1141 ms (Note: excluding commit time)
13:13:46,906 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes created: 10
13:13:46,906 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes linked: 0
13:13:46,921 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Aspects Added: 0
13:13:46,921 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Properties set: 99
13:13:46,921 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Content set: 0
13:13:46,921 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Permissions set: 0
13:13:47,187 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Created store: system://system
13:13:47,203 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/keon_alfresco_system.acp
13:13:47,203 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import started at Fri Jun 01 13:13:47 CEST 2007 (1180696427203)
13:13:47,296 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import completed at Fri Jun 01 13:13:47 CEST 2007 (1180696427296)
13:13:47,296 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import duration: 93 ms (Note: excluding commit time)
13:13:47,296 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes created: 2
13:13:47,296 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes linked: 0
13:13:47,296 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Aspects Added: 0
13:13:47,296 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Properties set: 28
13:13:47,296 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Content set: 0
13:13:47,296 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Permissions set: 0
13:13:47,453 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Created store: workspace://lightWeightVersionStore
13:13:47,468 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/keon_alfresco_versions.acp
13:13:47,468 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import started at Fri Jun 01 13:13:47 CEST 2007 (1180696427468)
13:13:47,500 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import completed at Fri Jun 01 13:13:47 CEST 2007 (1180696427500)
13:13:47,515 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import duration: 32 ms (Note: excluding commit time)
13:13:47,515 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes created: 0
13:13:47,515 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes linked: 0
13:13:47,515 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Aspects Added: 0
13:13:47,515 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Properties set: 5
13:13:47,515 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Content set: 0
13:13:47,515 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Permissions set: 1
13:13:47,671 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Created store: archive://SpacesStore
13:13:47,796 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/keon_alfresco_spaces_archive.acp
13:13:47,796 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import started at Fri Jun 01 13:13:47 CEST 2007 (1180696427796)
13:13:50,156 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import completed at Fri Jun 01 13:13:50 CEST 2007 (1180696430156)
13:13:50,156 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import duration: 2360 ms (Note: excluding commit time)
13:13:50,156 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes created: 21
13:13:50,156 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes linked: 0
13:13:50,156 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Aspects Added: 84
13:13:50,156 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Properties set: 338
13:13:50,156 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Content set: 10
13:13:50,156 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Permissions set: 11
13:13:52,046 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Created store: workspace://SpacesStore
13:13:52,125 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/keon_alfresco_spaces.acp
13:13:52,125 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import started at Fri Jun 01 13:13:52 CEST 2007 (1180696432125)
13:14:30,093 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import completed at Fri Jun 01 13:14:30 CEST 2007 (1180696470093)
13:14:30,093 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import duration: 37968 ms (Note: excluding commit time)
13:14:30,093 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes created: 508
13:14:30,093 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Nodes linked: 0
13:14:30,093 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Aspects Added: 189
13:14:30,093 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Properties set: 5032
13:14:30,093 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Content set: 21
13:14:30,093 DEBUG [org.alfresco.repo.importer.ImporterBootstrap]  Permissions set: 27
13:14:48,765 ERROR [org.alfresco.util.transaction.SpringAwareUserTransaction] Transaction didn't commitjava.lang.OutOfMemoryError: Java heap space
13:14:48,781 ERROR [org.springframework.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)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:54)
   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:3764)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
   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(LifecycleSupport.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:448)
   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(DelegatingMethodAccessorImpl.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: javax.transaction.RollbackException: Transaction didn't commit: Java heap space
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:404)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:441)
   … 33 more
13:14:48,781 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.springframework.web.context.ContextLoaderListener
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)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:54)
   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:3764)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
   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(LifecycleSupport.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:448)
   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(DelegatingMethodAccessorImpl.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: javax.transaction.RollbackException: Transaction didn't commit: Java heap space
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:404)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:441)
   … 33 more

Outcomes