AnsweredAssumed Answered

Problemes démarrage de Alfresco apres importation de la BD

Question asked by aigle83 on Dec 2, 2010
Latest reply on Dec 3, 2010 by jayjayecl
Salut tout le monde,
Rq: Tout était bon avant que j'ai essayé cette manipulation.
j'ai essayé de démarrer alfresco en pointant sur une nouvelle base de donnée alfresco (Mysql), mais sans résultat, en fait je n'ai pas changé de serveur, c'est le même sauf que j'ai exécuté un script sql qui est le backup d'une autre base de donnée Alfresco.
voila les erreurs que j'ai lors du démarrage :

13:38:01,015 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
13:38:01,031 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
13:38:01,921 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] Index recovery started: 2 468 transactions.
13:38:02,046 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    10 % complete.
13:38:02,046 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    20 % complete.
13:38:02,046 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    30 % complete.
13:38:02,062 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    40 % complete.
13:38:15,125 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    50 % complete.
13:38:15,125 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    60 % complete.
13:38:15,125 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    70 % complete.
13:38:15,125 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    80 % complete.
13:38:16,875 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    90 % complete.
13:38:16,875 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    100 % complete.
13:38:18,406 INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] Index recovery completed.
13:38:18,437 INFO  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Rebuilding indexes for 1 AVM Stores
13:38:18,437 INFO  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent]     Rebuilding index for sitestore
13:38:18,500 INFO  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent]   Reindex   100% complete
13:38:18,500 INFO  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Finished rebuilding indexes for AVM Stores
13:38:18,953 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: D:\ALF_CMS\Alfresco\alf_data
13:38:18,968 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
13:38:18,968 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
13:38:18,968 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 11020000 Ensure that the 'dir.root' property is pointing to the correct data location.
   at org.alfresco.repo.admin.ConfigurationChecker.check(ConfigurationChecker.java:332)
   at org.alfresco.repo.admin.ConfigurationChecker.access$000(ConfigurationChecker.java:68)
   at org.alfresco.repo.admin.ConfigurationChecker$1.execute(ConfigurationChecker.java:180)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:247)
   at org.alfresco.repo.admin.ConfigurationChecker.onBootstrap(ConfigurationChecker.java:184)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
   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:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
13:38:26,812 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 51 Web Scripts (+0 failed), 58 URLs
13:38:36,843 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
13:38:36,843 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
13:38:36,875 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 10968.669ms)

Bien sur après avoir exécuté le script backup, j'ai effacé le contenu du répertoire alf_data, et j'ai positionné le paramètre index.recovery.mode à FULL.

Y a t'il une solution pour reussir cette manipulation ?
Merci de votre aide.

Outcomes