AnsweredAssumed Answered

Migration 1.3 to 1.4

Question asked by emaatouk on Jan 23, 2007
Latest reply on Jan 24, 2007 by kevinr
Hello evrybody,

I have always the same problem and I don't see many documentations for  it.

I have two servers: One on Win XP with MySQL 5 database
                             One on Fedora with Oracle Database.

The both use alfresco v1.3 community.
I wish, if it's possible easily, upgrade my pcs for using the v1.4.

For the first pc  (win XP), I have done the full export via the client web, ans I have reinitialized my database, i have deleted my alf_data folder.
Then I have launched the wizard importation like indicated in Alfresco Documentation.(http://wiki.alfresco.com/wiki/Export_and_Import)

The importation start but it takes a long time (2h for 260 mo) and it failed ( Context Initialization failed - Bootstrap error)

For the 2nd (Fedora), It's near the same, i have this error:

22 janv. 2007 16:58:16 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive alfresco.war de l'application web
16:58:43,915 INFO  [domain.schema.SchemaBootstrap] Exécution du script de base de données : /opt/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.Oracle9Dialect-58054.sql
16:58:51,508 INFO  [domain.schema.SchemaBootstrap] Exécution du script de base de données : classpath:alfresco/dbscripts/create/1.4/${db.script.dialect}/post-create-indexes.sql
16:58:56,496 DEBUG [repo.importer.ImporterBootstrap] Created store: user://alfrescoUserStore
16:58:56,505 DEBUG [repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/export_users.acp
16:58:56,964 DEBUG [repo.importer.ImporterBootstrap] Import started at Mon Jan 22 16:58:56 CET 2007 (1169481536961)
16:59:01,501 DEBUG [repo.importer.ImporterBootstrap] Import completed at Mon Jan 22 16:59:01 CET 2007 (1169481541501)
16:59:01,502 DEBUG [repo.importer.ImporterBootstrap] Import duration: 4540 ms (Note: excluding commit time)
16:59:01,502 DEBUG [repo.importer.ImporterBootstrap]  Nodes created: 54
16:59:01,502 DEBUG [repo.importer.ImporterBootstrap]  Nodes linked: 0
16:59:01,502 DEBUG [repo.importer.ImporterBootstrap]  Aspects Added: 0
16:59:01,503 DEBUG [repo.importer.ImporterBootstrap]  Properties set: 597
16:59:01,503 DEBUG [repo.importer.ImporterBootstrap]  Content set: 0
16:59:01,503 DEBUG [repo.importer.ImporterBootstrap]  Permissions set: 0
16:59:02,437 DEBUG [repo.importer.ImporterBootstrap] Created store: system://system
16:59:02,439 DEBUG [repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/export_system.acp
16:59:02,443 DEBUG [repo.importer.ImporterBootstrap] Import started at Mon Jan 22 16:59:02 CET 2007 (1169481542441)
16:59:02,565 DEBUG [repo.importer.ImporterBootstrap] Import completed at Mon Jan 22 16:59:02 CET 2007 (1169481542565)
16:59:02,566 DEBUG [repo.importer.ImporterBootstrap] Import duration: 124 ms (Note: excluding commit time)
16:59:02,566 DEBUG [repo.importer.ImporterBootstrap]  Nodes created: 2
16:59:02,566 DEBUG [repo.importer.ImporterBootstrap]  Nodes linked: 0
16:59:02,566 DEBUG [repo.importer.ImporterBootstrap]  Aspects Added: 0
16:59:02,566 DEBUG [repo.importer.ImporterBootstrap]  Properties set: 26
16:59:02,567 DEBUG [repo.importer.ImporterBootstrap]  Content set: 0
16:59:02,567 DEBUG [repo.importer.ImporterBootstrap]  Permissions set: 0
16:59:02,679 DEBUG [repo.importer.ImporterBootstrap] Created store: workspace://lightWeightVersionStore
16:59:03,458 DEBUG [repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/export_versions.acp
16:59:03,461 DEBUG [repo.importer.ImporterBootstrap] Import started at Mon Jan 22 16:59:03 CET 2007 (1169481543461)
16:59:10,582 DEBUG [repo.importer.ImporterBootstrap] Import completed at Mon Jan 22 16:59:10 CET 2007 (1169481550582)
16:59:10,583 DEBUG [repo.importer.ImporterBootstrap] Import duration: 7121 ms (Note: excluding commit time)
16:59:10,583 DEBUG [repo.importer.ImporterBootstrap]  Nodes created: 99
16:59:10,583 DEBUG [repo.importer.ImporterBootstrap]  Nodes linked: 4
16:59:10,583 DEBUG [repo.importer.ImporterBootstrap]  Aspects Added: 0
16:59:10,583 DEBUG [repo.importer.ImporterBootstrap]  Properties set: 817
16:59:10,583 DEBUG [repo.importer.ImporterBootstrap]  Content set: 4
16:59:10,584 DEBUG [repo.importer.ImporterBootstrap]  Permissions set: 1
16:59:11,673 DEBUG [repo.importer.ImporterBootstrap] Created store: archive://SpacesStore
16:59:12,769 ERROR [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: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: java.lang.OutOfMemoryError: Java heap space
16:59:12,774 ERROR [[Catalina].[localhost].[/alfresco]] Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) 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: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: java.lang.OutOfMemoryError: Java heap space
16:59:12,778 ERROR [[Catalina].[localhost].[/alfresco]] Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.alfresco.web.app.ContextListener
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: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: java.lang.OutOfMemoryError: Java heap space
22 janv. 2007 16:59:12 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
22 janv. 2007 16:59:12 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/alfresco] suite aux erreurs précédentes
22 janv. 2007 16:59:12 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
22 janv. 2007 16:59:13 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
22 janv. 2007 16:59:13 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/112  config=null
22 janv. 2007 16:59:13 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
22 janv. 2007 16:59:13 org.apache.catalina.startup.Catalina start
INFO: Server startup in 58033 ms
22 janv. 2007 16:59:39 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
J'espère que l'un d'entre vous à la solution, et que je vais enfin pouvoir "apprécier" alfresco 1.4

Thanks

(In the both situation, I don't use the conversion script 1-3 to 1-4 acp. I don't know what you do with this….)

Outcomes