Bonjour à tous,je tente depuis quelques temps d'installer la dernière version community d'Alfresco mais hélas, j'obtiens deux erreurs bloquantes.Voici la configuration utilisée :- Debian 6 - 64b- Mysql 5.1- Tomcat 6- Alfresco 4.0.b (sources war)Lors du lancement d'Alfresco, voici les erreurs obtenues dans le fichier alfresco.log
20:38:38,938 WARN [org.hibernate.cfg.SettingsFactory] Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connexion refusée. Vérifiez que le nom de machine et le port sont corrects et que postmaster accepte les connexions TCP/IP.)
…
et
20:38:38,954 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionKeysRegistry' defined in class path resource [alfresco/encryption-context.xml]: Cannot resolve reference to bean 'transactionService' while setting bean property 'transactionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
…
Pour le problème "encryptionKeysRegistry", j'ai suivi les instructions du wiki :Manual Keystore Generation
A new keystore can be generated using the Java keytool command as follows.
keytool -genseckey -alias metadata -keypass <metadata key password> -storepass <key store password> -keystore keystore -storetype JCEKS -keyalg DESede
Make sure the key store is placed in the location specified by the property "encryption.keystore.location" and that the passwords you have used in the keytool commands are placed in the file specified by the property "encryption.keystore.keyMetaData.location".
http://wiki.alfresco.com/wiki/Data_Encryption
Le fichiers alfresco-global.properties a été modifié en conséquence :
encryption.keystore.location=${dir.root}/keystore
encryption.keystore.keyMetaData.location=${dir.root}/keystore_password
Quelqu'un a t'il des pistes pour résoudre ces problèmes ?Merci pour votre aide,Vincent