Je souhaiterai installer Alfresco Community Edition 6.1.2

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
ltsaty
Member II

Je souhaiterai installer Alfresco Community Edition 6.1.2

Bonjour

Quelqu'un a-t-il une procédure d'installation d'Alfresco Community Edition 6.1.2 sur un CentOs ?

Elle pourrait m'aider énormément

Cordialement

Léon Tsaty

7 Replies
Moderator
Moderator

Re: Je souhaiterai installer Alfresco Community Edition 6.1.2

Bonjour,

La documentation détaille comment installer Alfresco community à partir du zip de distribution : https://docs.alfresco.com/community/concepts/install-community-intro.html

Y.

ltsaty
Member II

Re: Je souhaiterai installer Alfresco Community Edition 6.1.2

Bonjour

Pour votre réponse, mais en suivant cette proc il n' y a que tomcat qui démarre.

alfresco.sh start ne donne rien

Cordialement

Moderator
Moderator

Re: Je souhaiterai installer Alfresco Community Edition 6.1.2

Bonjour,

Pourriez-vous détailler l'erreur que vous rencontrer ? Si vous disposez d'un fichier de logs il permettra d'en savoir d'avantage sur ce qui vous bloque.

Y.

ltsaty
Member II

Re: Je souhaiterai installer Alfresco Community Edition 6.1.2

Bonjour

Voici un extrait de mes logs

2019-04-17 10:54:20,284 WARN Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.CustomEditorConfigurer#0' defined in class path resource : Cannot resolve reference to bean 'customPropertyEditorRegistrar' while setting bean property 'propertyEditorRegistrars' with key ; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customPropertyEditorRegistrar' defined in class path resource : Cannot resolve reference to bean 'NamespaceService' while setting bean property 'namespaceService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource : Cannot resolve reference to bean 'tenantService' while setting bean property 'tenantService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantService' defined in URL : Cannot resolve reference to bean 'tenantAdminDAO' while setting bean property 'tenantAdminDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantAdminDAO' defined in class path resource : Cannot resolve reference to bean 'repoSqlSessionTemplate' while setting bean property 'sqlSessionTemplate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repoSqlSessionTemplate' defined in class path resource : Cannot resolve reference to bean 'repoSqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repoSqlSessionFactory' defined in class path resource : Cannot resolve reference to bean 'dialectResourceLoader' while setting bean property 'resourceLoader'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectResourceLoader' defined in class path resource : Cannot create inner bean 'org.springframework.beans.factory.config.PropertyPathFactoryBean#59423e16' of type while setting bean property 'dialectClass'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPathFactoryBean#59423e16' defined in class path resource : Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialect': FactoryBean threw exception on object creation; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'

2019-04-17 10:54:20,290 ERROR Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.CustomEditorConfigurer#0' defined in class path resource : Cannot resolve reference to bean 'customPropertyEditorRegistrar' while setting bean property 'propertyEditorRegistrars' with key ; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customPropertyEditorRegistrar' defined in class path resource : Cannot resolve reference to bean 'NamespaceService' while setting bean property 'namespaceService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource : Cannot resolve reference to bean 'tenantService' while setting bean property 'tenantService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantService' defined in URL : Cannot resolve reference to bean 'tenantAdminDAO' while setting bean property 'tenantAdminDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantAdminDAO' defined in class path resource : Cannot resolve reference to bean 'repoSqlSessionTemplate' while setting bean property 'sqlSessionTemplate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repoSqlSessionTemplate' defined in class path resource : Cannot resolve reference to bean 'repoSqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repoSqlSessionFactory' defined in class path resource : Cannot resolve reference to bean 'dialectResourceLoader' while setting bean property 'resourceLoader'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectResourceLoader' defined in class path resource : Cannot create inner bean 'org.springframework.beans.factory.config.PropertyPathFactoryBean#59423e16' of type while setting bean property 'dialectClass'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPathFactoryBean#59423e16' defined in class path resource : Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialect': FactoryBean threw exception on object creation; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'

at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:378)

at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)

at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:401)

at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:159)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1648)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1400)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:575)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)

at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:171)

at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:691)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:528)

at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)

at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)

at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)

at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5278)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)

at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

cordialement

Léon

De : ycoulon <community@alfresco.com>

Envoyé : jeudi 18 avril 2019 13:33

À : Léon TSATY <Leon.TSATY@OZITEM.COM>

Objet : Re: - Re: Je souhaiterai installer Alfresco Community Edition 6.1.2

Alfresco Community <https://community.alfresco.com/?et=watches.email.thread>

Re: Je souhaiterai installer Alfresco Community Edition 6.1.2

reply from Yann C.<https://community.alfresco.com/people/ycoulon?et=watches.email.thread> in French User Group - View the full discussion<https://community.alfresco.com/message/843668-re-je-souhaiterai-installer-alfresco-community-edition-612?commentID=843668&et=watches.email.thread#comment-843668>

Moderator
Moderator

Re: Je souhaiterai installer Alfresco Community Edition 6.1.2

Bonjour,

L'erreur est assez explicite : 

Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'

Je vous invite à installer le driver JDBC pour mysql. Vous pouvez vous référer à la documentation : https://docs.alfresco.com/community/tasks/mysql-config.html

Y.

ltsaty
Member II

Re: Je souhaiterai installer Alfresco Community Edition 6.1.2

Bonjour

Merci monsieur Coulon pour la réponse, suis-je obligé d’utiliser mySQL ? Je peux pas utiliser PostgreSQL ?

Cordialement

Léon

De : ycoulon <community@alfresco.com>

Envoyé : jeudi 25 avril 2019 09:55

À : Léon TSATY <Leon.TSATY@OZITEM.COM>

Objet : Re: - Re: Je souhaiterai installer Alfresco Community Edition 6.1.2

Alfresco Community <https://community.alfresco.com/?et=watches.email.thread>

Re: Je souhaiterai installer Alfresco Community Edition 6.1.2

reply from Yann C.<https://community.alfresco.com/people/ycoulon?et=watches.email.thread> in French User Group - View the full discussion<https://community.alfresco.com/message/843822-re-je-souhaiterai-installer-alfresco-community-edition-612?commentID=843822&et=watches.email.thread#comment-843822>

Moderator
Moderator

Re: Je souhaiterai installer Alfresco Community Edition 6.1.2

Bonjour,

Vos logs font références à à la configuration actuel issue de votre fichier "alfresco-global.properties".

Vous pouvez consulter la documentation suivante : https://docs.alfresco.com/community/concepts/intro-db-setup.html

Y.