Suite a la dernière remarque, j'ai refait l'installation de mon serveur et c'est fois modifier uniquement les fichiers (/shared/alfresco/alfresco/extension/):
- custom-repository.properties.xml
dir.root=d:/Alfresco21/alf_data
dir.indexes=d:/Alfresco21/alf_data/lucene-indexes
#
# Sample database connection properties
#
db.username=alfresco
db.password=alfresco
db.pool.initial=10
db.pool.max=100
# MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server)
#
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://localhost/alfresco
- custom.hibernate-dialect.properties
Et j'ai toujours l'imperssion qui ne tient pas compte du dir.root car il m'indique un message d'erreur :
15:54:26,574 WARN [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'. 'dir.root' should be overridden to point to a specific folder.
15:54:26,574 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: .\alf_data
15:54:26,636 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 5 stores.
15:54:26,636 INFO [org.alfresco.repo.admin.ConfigurationChecker] You may set 'index.recovery.mode=FULL' if you need to rebuild the indexes.
15:54:26,636 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
15:54:26,636 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
15:54:26,636 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
puis il a créé un répertoire alf_data a la racine du tomcat.