You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Aleksandar Vidakovic (Jira)" <ji...@apache.org> on 2022/04/24 00:57:00 UTC
[jira] [Resolved] (FINERACT-1499) Exception while Startup : Driver org.mariadb.jdbc.Driver claims to not accept jdbcUrl, 'jdbc:mariadb://localhost:3306/fineract_tenants'
[ https://issues.apache.org/jira/browse/FINERACT-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksandar Vidakovic resolved FINERACT-1499.
--------------------------------------------
Resolution: Fixed
> Exception while Startup : Driver org.mariadb.jdbc.Driver claims to not accept jdbcUrl, 'jdbc:mariadb://localhost:3306/fineract_tenants'
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FINERACT-1499
> URL: https://issues.apache.org/jira/browse/FINERACT-1499
> Project: Apache Fineract
> Issue Type: Bug
> Affects Versions: 1.6.0
> Reporter: Manoj Mohanan
> Assignee: Manoj Mohanan
> Priority: Major
> Fix For: 1.6.0
>
>
>
> While starting fineract with Maria DB, Fineract is not able to connect to DB. This happened while running
> ./gradlew clean bootRun
> on local dev environment with Ubuntu 20.4.
> the following exception is thrown
>
> org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'hikariTenantDataSource' threw exception; nested exception is java.lang.RuntimeException: Driver org.mariadb.jdbc.Driver claims to not accept jdbcUrl, 'jdbc:mariadb://localhost:3306/fineract_tenants'
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
> at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
> ... 137 common frames omitted
> Caused by: java.lang.RuntimeException: Driver org.mariadb.jdbc.Driver claims to not accept jdbcUrl, 'jdbc:mariadb://localhost:3306/fineract_tenants'
> at com.zaxxer.hikari.util.DriverDataSource.<init>(DriverDataSource.java:110)
> at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:331)
> at com.zaxxer.hikari.pool.PoolBase.<init>(PoolBase.java:114)
> at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:108)
> at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
> at org.apache.fineract.infrastructure.core.config.HikariCpConfig.hikariTenantDataSource(HikariCpConfig.java:45)
> at org.apache.fineract.infrastructure.core.config.HikariCpConfig$$EnhancerBySpringCGLIB$$f2ef3540.CGLIB$hikariTenantDataSource$1(<generated>)
> at org.apache.fineract.infrastructure.core.config.HikariCpConfig$$EnhancerBySpringCGLIB$$f2ef3540$$FastClassBySpringCGLIB$$8fc6d73d.invoke(<generated>)
> at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
> at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
> at org.apache.fineract.infrastructure.core.config.HikariCpConfig$$EnhancerBySpringCGLIB$$f2ef3540.hikariTenantDataSource(<generated>)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
> ... 138 common frames omitted
--
This message was sent by Atlassian Jira
(v8.20.7#820007)