<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alfresco connection with MariaDB in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110534#M30912</link>
    <description>&lt;P&gt;Hi &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes we are able to connect to the database directly using the jdbc.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Yiannis,&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2020 13:54:15 GMT</pubDate>
    <dc:creator>giannis</dc:creator>
    <dc:date>2020-05-18T13:54:15Z</dc:date>
    <item>
      <title>Alfresco connection with MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110530#M30908</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are usign Alfresco Content Services 6.2, and MariaDB 10.4.12.&lt;/P&gt;&lt;P&gt;The MariaDB is installed in other machine.&lt;/P&gt;&lt;P&gt;We are using the&amp;nbsp;mysql-connector-java-5.1.32-bin.jar and in the alfresco properties we have the following parameters.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;db.driver&lt;/SPAN&gt;&lt;SPAN&gt;=com.mysql.jdbc.Driver&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;db.url&lt;/SPAN&gt;&lt;SPAN&gt;=jdbc:mysql://host:3306/alfresco?&lt;/SPAN&gt;&lt;SPAN&gt;useUnicode&lt;/SPAN&gt;&lt;SPAN&gt;=true&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;characterEncoding&lt;/SPAN&gt;&lt;SPAN&gt;=UTF-8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;db.name&lt;/SPAN&gt;&lt;SPAN&gt;=alfresco&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;db.username&lt;/SPAN&gt;&lt;SPAN&gt;=user&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;db.password&lt;/SPAN&gt;&lt;SPAN&gt;=pass&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;db.host&lt;/SPAN&gt;&lt;SPAN&gt;=host&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;db.port&lt;/SPAN&gt;&lt;SPAN&gt;=3306&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;db.pool.max&lt;/SPAN&gt;&lt;SPAN&gt;=275&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;user.name.caseSensitive&lt;/SPAN&gt;&lt;SPAN&gt;=true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;When we start the alfresco we are getting the following error:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;2020-05-14 17:09:45,123 ERROR [org.springframework.web.context.ContextLoader] [main] Context initialization failed&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.CustomEditorConfigurer#0' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'customPropertyEditorRegistrar' while setting bean property 'propertyEditorRegistrars' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customPropertyEditorRegistrar' defined in class path resource [alfresco/core-services-context.xml]: 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 [alfresco/core-services-context.xml]: 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 [jar:file:/opt/apache-tomcat-9.0.34/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.134.1.jar!/alfresco/mt/mt-context.xml]: 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 [alfresco/dao/dao-context.xml]: 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 [alfresco/ibatis/ibatis-context.xml]: 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 [alfresco/ibatis/ibatis-context.xml]: 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 [alfresco/ibatis/ibatis-context.xml]: Cannot create inner bean 'org.springframework.beans.factory.config.PropertyPathFactoryBean#687239e9' of type [org.springframework.beans.factory.config.PropertyPathFactoryBean] while setting bean property 'dialectClass'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPathFactoryBean#687239e9' defined in class path resource [alfresco/ibatis/ibatis-context.xml]: 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 create PoolableConnectionFactory (Communications link failure&lt;/P&gt;&lt;P&gt;The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)&lt;BR /&gt;at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:314)&lt;BR /&gt;at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)&lt;BR /&gt;at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:399)&lt;BR /&gt;at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:159)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1681)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1433)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)&lt;BR /&gt;at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:171)&lt;BR /&gt;at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:705)&lt;BR /&gt;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)&lt;BR /&gt;at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)&lt;BR /&gt;at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)&lt;BR /&gt;at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)&lt;BR /&gt;at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)&lt;BR /&gt;at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4690)&lt;BR /&gt;at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5151)&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)&lt;BR /&gt;at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)&lt;BR /&gt;at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)&lt;BR /&gt;at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)&lt;BR /&gt;at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978)&lt;BR /&gt;at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1849)&lt;BR /&gt;at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)&lt;BR /&gt;at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)&lt;BR /&gt;at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)&lt;BR /&gt;at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)&lt;BR /&gt;at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773)&lt;BR /&gt;at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)&lt;BR /&gt;at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)&lt;BR /&gt;at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)&lt;BR /&gt;at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)&lt;BR /&gt;at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)&lt;BR /&gt;at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)&lt;BR /&gt;at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)&lt;BR /&gt;at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)&lt;BR /&gt;at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)&lt;BR /&gt;at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)&lt;BR /&gt;at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)&lt;BR /&gt;at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)&lt;BR /&gt;at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)&lt;BR /&gt;at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)&lt;BR /&gt;at org.apache.catalina.startup.Catalina.start(Catalina.java:633)&lt;BR /&gt;at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.base/java.lang.reflect.Method.invoke(Method.java:566)&lt;BR /&gt;at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)&lt;BR /&gt;at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Please for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 15:54:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110530#M30908</guid>
      <dc:creator>giannis</dc:creator>
      <dc:date>2020-05-14T15:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco connection with MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110531#M30909</link>
      <description>&lt;P&gt;Did you change db properties before first start?&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 03:54:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110531#M30909</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-05-18T03:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco connection with MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110532#M30910</link>
      <description>&lt;P&gt;Yes, I have changed the db properties with the database information.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Yiannis&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 08:16:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110532#M30910</guid>
      <dc:creator>giannis</dc:creator>
      <dc:date>2020-05-18T08:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco connection with MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110533#M30911</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/31561"&gt;@giannis&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Can you connect to the database using another means - directly using the jdbc driver, for example?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 13:23:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110533#M30911</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-05-18T13:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco connection with MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110534#M30912</link>
      <description>&lt;P&gt;Hi &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes we are able to connect to the database directly using the jdbc.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Yiannis,&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 13:54:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110534#M30912</guid>
      <dc:creator>giannis</dc:creator>
      <dc:date>2020-05-18T13:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco connection with MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110535#M30913</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;After following this instractions&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/6.2/tasks/configfiles-change-path.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.2/tasks/configfiles-change-path.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And delete the old files from tomcat/webapps the issue was fixed.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 08:51:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110535#M30913</guid>
      <dc:creator>giannis</dc:creator>
      <dc:date>2020-05-29T08:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco connection with MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110536#M30914</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/31561"&gt;@giannis&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Glad you got it fixed - &amp;amp; thanks for reporting how you did it.&lt;/P&gt;
&lt;P&gt;Have a great weekend!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 12:58:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-connection-with-mariadb/m-p/110536#M30914</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-05-29T12:58:33Z</dc:date>
    </item>
  </channel>
</rss>

