Hello.
I continue to experience issues with MariaDB.
I also installed the MariaDB connector, but without any improvement.
I continue to get messages in the logs like this:
16:50:03,817 ERROR [org.dcm4chee.arc.qmgt.impl.QueueManagerEJB] (Thread-23 (ActiveMQ-client-global-threads)) Failed to update status of Task[id=ID:203337f2-bb52-11e8-ac1b-b2ace980ee1a] in DB onProcessingStart:
...
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not extract ResultSet
....
Caused by: org.hibernate.exception.GenericJDBCException: could not extract ResultSet
...
Caused by: java.sql.SQLException: execute() is called on closed statement
Or also:
16:50:03,816 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (Thread-23 (ActiveMQ-client-global-threads)) SQL Error: 0, SQLState: null
16:50:03,816 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (Thread-23 (ActiveMQ-client-global-threads)) execute() is called on closed statement
16:50:03,816 ERROR [org.jboss.as.ejb3.invocation] (Thread-23 (ActiveMQ-client-global-threads)) WFLYEJB0034: EJB Invocation failed on component QueueManagerEJB for method public org.dcm4chee.arc.entity.QueueMessage org.dcm4chee.arc.qmgt.impl.QueueManagerEJB.onProcessingStart(java.lang.String): javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not extract ResultSet
I've tinkered with the datasource configuration, but also without any success:
<datasource jndi-name="java:/PacsDS" pool-name="pacsds">
<connection-url>jdbc:mysql://mariadb:3306/pacsdb?autoReconnect=true</connection-url>
<driver>mysql</driver>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<pool>
<min-pool-size>10</min-pool-size>
<max-pool-size>100</max-pool-size>
<prefill>true</prefill>
</pool>
<statement>
<prepared-statement-cache-size>32</prepared-statement-cache-size>
<share-prepared-statements/>
</statement>
<security>
<user-name>pacs</user-name>
<password>pass</password>
</security>
</datasource>
What do you think?
Thanks,
A.