Re: Error Creating XA DataSource

2019-02-14 Thread cobusstroebel
Hi Tim Tim Ward-2 wrote > I note that since the last set of logs/trace the version of EclipseLink > has increased from 2.6.x to 2.7.x. This changes the JPA version from 2.1 > to 2.2, which currently isn’t supported by Aries JPA or the Tx Control JPA > provider. This will be one of the issues. I

Re: Error Creating XA DataSource

2019-02-14 Thread cobusstroebel
Hi Tim Tim Ward-2 wrote > I note that since the last set of logs/trace the version of EclipseLink > has increased from 2.6.x to 2.7.x. This changes the JPA version from 2.1 > to 2.2, which currently isn’t supported by Aries JPA or the Tx Control JPA > provider. This will be one of the issues. I

Re: Error Creating XA DataSource

2019-02-11 Thread cobusstroebel
I can see that I am getting closer to the solution. To install the version 1.0.0 of the Transaction Control, I had to install version 2.7.1 of Aries JPA Container. Now I am getting this error: org.osgi.service.jpa.EntityManagerFactoryBuilder.getPersistenceProviderName()Ljava/lang/String; I came

Re: Error Creating XA DataSource

2019-02-10 Thread cobusstroebel
Hi Tim Thanks for all your help. I changed my code to use the JPAEntityManagerProvider that is created when I drop in my configuration as explained by the "Creating a resource using a factory configuration" part here: http://aries.apache.org/modules/tx-control/xaJPA.html

Re: Error Creating XA DataSource

2019-02-09 Thread cobusstroebel
When switching to the vanilla DataSourceFactory the error disappears but now when I try to access the entity manager from the JPAEntityManagerProvider it throws this error: /Unable to acquire a connection from driver [null], user [null] and URL [null]. Verify that you have set the expected

How to provide a transactional entity manager to a third party

2019-02-07 Thread cobusstroebel
I am trying to use the Axon Framework inside Apache Karaf. During the configuration of the Axon Framework I want to setup a JpaTokenStore which requires an EntityManager. Configurer configurer = DefaultConfigurer.defaultConfiguration() .configureAggregate(MyAggregate.class)

Error Creating XA DataSource

2019-02-07 Thread cobusstroebel
I am using Karaf 4.0.3 with the following features enabled: jndi transaction-api transaction jpa eclipselink pax-jdbc-config pax-jdbc-mysql pax-jdbc-pool-aries mvn:javax.validation/validation-api/1.1.0.Final