[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16945839#comment-16945839
 ] 

Oliver Benavides Soto commented on OPENMEETINGS-2116:
-----------------------------------------------------

this is the error:

ERROR 10-06 12:56:30.648 o.a.o.s.q.s.ReminderJob:114 [Bean#0_Worker-1] - DB 
seems to be down
DEBUG 10-06 12:56:30.649 o.a.o.u.c.CryptProvider:39 [Bean#0_Worker-1] - get:: 
configKeyCryptClassName: null
ERROR 10-06 12:56:45.645 o.a.o.s.q.s.ReminderJob:114 [Bean#0_Worker-7] - DB 
seems to be down
DEBUG 10-06 12:56:45.645 o.a.o.u.c.CryptProvider:39 [Bean#0_Worker-7] - get:: 
configKeyCryptClassName: null
ERROR 10-06 12:57:00.643 o.a.o.s.q.s.ReminderJob:114 [Bean#0_Worker-3] - DB 
seems to be down
DEBUG 10-06 12:57:00.644 o.a.o.u.c.CryptProvider:39 [Bean#0_Worker-3] - get:: 
configKeyCryptClassName: null
ERROR 10-06 12:57:15.644 o.a.o.s.q.s.ReminderJob:114 [Bean#0_Worker-2] - DB 
seems to be down
DEBUG 10-06 12:57:15.645 o.a.o.u.c.CryptProvider:39 [Bean#0_Worker-2] - get:: 
configKeyCryptClassName: null
ERROR 10-06 12:57:25.672 o.q.c.JobRunShell:216 [Bean#0_Worker-6] - Job 
DEFAULT.sendMails threw an unhandled Exception: 
org.springframework.scheduling.quartz.JobMethodInvocationFailedException: 
Invocation of method 'sendMails' on target class [class 
org.apache.openmeetings.core.mail.MailHandler] failed; nested exception is 
org.springframework.transaction.CannotCreateTransactionException: Could not 
open JPA EntityManager for transaction; nested exception is 
<openjpa-3.1.0-rafcec21a1d489dff682a3ce7986fac6a1c80e8e0 fatal general error> 
org.apache.openjpa.persistence.PersistenceException: Cannot create 
PoolableConnectionFactory (Could not create connection to database server. 
Attempted reconnect 3 times. Giving up.)
 at 
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:276)
 at 
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:75)
 at org.quartz.core.JobRunShell.run(JobRunShell.java:207)
 at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560)
Caused by: org.springframework.transaction.CannotCreateTransactionException: 
Could not open JPA EntityManager for transaction; nested exception is 
<openjpa-3.1.0-rafcec21a1d489dff682a3ce7986fac6a1c80e8e0 fatal general error> 
org.apache.openjpa.persistence.PersistenceException: Cannot create 
PoolableConnectionFactory (Could not create connection to database server. 
Attempted reconnect 3 times. Giving up.)
 at 
org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:446)
 at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:378)
 at 
org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:475)
 at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:289)
 at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
 at 
org.apache.openmeetings.db.dao.basic.ConfigurationDao$$EnhancerBySpringCGLIB$$2c2ad263.getString(<generated>)
 at org.apache.openmeetings.core.mail.MailHandler.init(MailHandler.java:101)
 at 
org.apache.openmeetings.core.mail.MailHandler.sendMails(MailHandler.java:283)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
 at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
 at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:280)
 at 
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:267)
 ... 3 common frames omitted
Caused by: org.apache.openjpa.persistence.PersistenceException: Cannot create 
PoolableConnectionFactory (Could not create connection to database server. 
Attempted reconnect 3 times. Giving up.)
 at 
org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:109)
 at 
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:650)
 at 
org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1541)
 at 
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:532)
 at 
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:457)
 at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:123)
 at 
org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:68)
 at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:84)
 at 
org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:1107)
 at 
org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:1096)
 at 
org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:659)
 at 
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:207)
 at 
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:166)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:262)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:177)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:167)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:64)
 at 
org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:464)
 at 
org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:390)
 ... 18 common frames omitted
Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory 
(Could not create connection to database server. Attempted reconnect 3 times. 
Giving up.)
 at 
org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:735)
 at 
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:605)
 at 
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:809)
 at 
org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:118)
 at 
org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:87)
 at 
org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:93)
 ... 36 common frames omitted
Caused by: java.sql.SQLNonTransientConnectionException: Could not create 
connection to database server. Attempted reconnect 3 times. Giving up.
 at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
 at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
 at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
 at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
 at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
 at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:905)
 at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:830)
 at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:455)
 at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240)
 at 
com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:199)
 at 
org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:53)
 at 
org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:355)
 at 
org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:116)
 at 
org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:731)
 ... 41 common frames omitted
Caused by: com.mysql.cj.exceptions.CJException: Access denied for user 
'openmeetings'@'localhost' (using password: YES)
 at jdk.internal.reflect.GeneratedConstructorAccessor72.newInstance(Unknown 
Source)
 at 
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
 at 
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
 at 
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
 at 
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
 at 
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:129)
 at 
com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:816)
 at 
com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:741)
 at 
com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:709)
 at 
com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:132)
 at 
com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:540)
 at 
com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:202)
 at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1452)
 at com.mysql.cj.NativeSession.connect(NativeSession.java:165)
 at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:849)
 ... 49 common frames omittedERROR 10-06 12:57:25.675 o.q.c.ErrorLogger:2460 
[Bean#0_Worker-6] - Job (DEFAULT.sendMails threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception.
 at org.quartz.core.JobRunShell.run(JobRunShell.java:218)
 at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560)
Caused by: 
org.springframework.scheduling.quartz.JobMethodInvocationFailedException: 
Invocation of method 'sendMails' on target class [class 
org.apache.openmeetings.core.mail.MailHandler] failed; nested exception is 
org.springframework.transaction.CannotCreateTransactionException: Could not 
open JPA EntityManager for transaction; nested exception is 
<openjpa-3.1.0-rafcec21a1d489dff682a3ce7986fac6a1c80e8e0 fatal general error> 
org.apache.openjpa.persistence.PersistenceException: Cannot create 
PoolableConnectionFactory (Could not create connection to database server. 
Attempted reconnect 3 times. Giving up.)
 at 
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:276)
 at 
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:75)
 at org.quartz.core.JobRunShell.run(JobRunShell.java:207)
 ... 1 common frames omitted

> Fail to install Openmeetings with MYSQL in Centos 7
> ---------------------------------------------------
>
>                 Key: OPENMEETINGS-2116
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2116
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: 5.0.0-M2
>            Reporter: Oliver Benavides Soto
>            Assignee: Maxim Solodovnik
>            Priority: Critical
>
> In Centos 7, when I check mysql DB from the installation URL, everything is 
> ok, but when I complete all the steps and finish, It fail to access the DB 
> with error: java.sql.SQLNonTransientConnectionException: Could not create 
> connection to database server. Attempted reconnect 3 times. Giving up



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to