Hi,
it seems it took longer than expected - but for a good reason: I have found a bug in OpenJPA and also provided a quick fix for it.

Anyway, the reference repo was updated again with a new branch for MariaDB and container-managed DataSource:

https://github.com/Tirasa/syncopeOnJBoss/tree/MariaDB_ContainerDataSource

Again, in the README.md there are instructions about how to configure MariaDB and Wildfly, and to test. I have been able to run it successfully, I wouldn't expect troubles on your side.

Finally, WRT the e-mail below, please note that I have also renamed

https://github.com/Tirasa/syncopeOnJBoss/tree/MariaDB_NoContainerDataSource

to

https://github.com/Tirasa/syncopeOnJBoss/tree/MariaDB_ApplicationDataSource

HTH
Regards.

On 14/12/2016 09:43, Francesco Chicchiriccò wrote:
Hi,
I have updated the reference repo for JBoss / Wildfly with a branch dedicated to MariaDB:

https://github.com/Tirasa/syncopeOnJBoss/tree/MariaDB_NoContainerDataSource

In the README.md there are instructions about how to configure MariaDB and to test. I have been able to run it successfully, I wouldn't expect troubles on your side.

Please note that you will need to remove any DataSource definition from Wildfly: such new branch is using application-managed DataSource instead. I will update here shortly with another branch working with container-managed DataSource.

HTH
Regards.

On 08/12/2016 08:02, ilgrosso wrote:
Hi,
the steps reported look generally good, at a glance.

It seems that your problem is the unavailability of the MariaDB JDBC Driver
at some point.

I haven't the chance to give it a try before tomorrow, but you could
attempt, in the meantime, to:

1. check if the DataSource was correctly defined for MariaDB in Wildfly 10;
see http://stackoverflow.com/a/39868576

2. if this still does not work, remove any Datasource definition from
Wildfly and add instead the following Maven depedency:

<dependency>
     <groupId>org.mariadb.jdbc</groupId>
     <artifactId>mariadb-java-client</artifactId>
     <version>1.5.5</version>
</dependency

to core/pom.xml

HTH
Regards.

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/


Reply via email to