Hi, 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.
The other issues that I see are: That the Aries JPA Container bundle doesn’t seem to be deployed (just the spec API and the EclipseLink Adapter) You have three different copies of the JPA API deployed (one at 2.2, and two at 2.1) As for the error you see: > org.osgi.service.jpa.EntityManagerFactoryBuilder.getPersistenceProviderName()Ljava/lang/String; This is a new method added to the JPA service API in version 1.1. If you’re seeing it appear as a LinkageError, a NoSuchMethodError, or possibly an AbstractMethodError then this indicates that you have a 1.0 implementation deployed that has broken import metadata (i.e. it’s importing a consumer range when it’s a provider). I hope this helps. Tim > On 11 Feb 2019, at 22:53, cobusstroebel <[email protected]> wrote: > > 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 across this thread > (http://mail-archives.apache.org/mod_mbox/aries-user/201808.mbox/%3CCAFXRvr9kT72keG=blsyrvnsu76budxz+t2y4pera+l5vqbj...@mail.gmail.com%3E) > and installed the same bundles except for eclipselink. > > However I am still getting the error. I have tried with all the latest > version of the bundles but still no joy. > Here is a list of all my bundles: > > 52 | Active | 80 | 0.0.0 | features.xml > 53 | Active | 80 | 5.6.0 | ScribeJava APIs > 54 | Active | 80 | 5.6.0 | ScribeJava Core > 55 | Active | 80 | 3.5.1 | Protocol Buffers [Core] > 56 | Active | 80 | 5.1.34 | Oracle Corporation's JDBC > Driver for MySQL > 57 | Active | 80 | 1.9.13 | Jackson JSON processor > 58 | Active | 80 | 1.9.13 | JAX-RS provider for JSON > content type, using Jackson data binding > 59 | Active | 80 | 1.9.13 | Data mapper for Jackson > JSON processor > 60 | Active | 80 | 1.9.13 | XML Compatibility > extensions for Jackson data binding > 62 | Active | 80 | 3.0.0 | Expression Language 3.0 > API > 63 | Active | 80 | 1.2.0 | CDI APIs > 64 | Active | 80 | 1.2 | javax.interceptor API > 66 | Active | 80 | 2.1.0.v201304241213 | Java Persistence API 2.1 > 67 | Active | 80 | 2.2.1.v201807122140 | Java Persistence API 2.2 > 69 | Active | 80 | 1.2 | javax.transaction API > 71 | Active | 80 | 20180813.0.0 | JSON in Java > 80 | Active | 80 | 2.7.1 | Apache Aries JPA Container > adapter for EclipseLink > 81 | Active | 80 | 2.7.1 | Apache Aries JPA > Specification 2.1 API > 83 | Active | 80 | 1.1.1 | Apache Aries Transaction > Blueprint > 84 | Active | 80 | 2.0.0 | Apache Aries Transaction > Blueprint > 85 | Active | 80 | 1.3.0 | Apache Aries Transaction > Manager > 86 | Active | 80 | 1.11.0 | Apache Commons Codec > 114 | Active | 80 | 5.2.0.4 | Apache ServiceMix :: > Bundles :: bcel > 116 | Active | 80 | 1.0.0.2 | Apache ServiceMix :: > Bundles :: javax.inject > 119 | Active | 80 | 1.4.5.1 | Apache ServiceMix :: > Bundles :: jaxp-ri > 121 | Active | 80 | 2.7.1.7 | Apache ServiceMix :: > Bundles :: xalan > 122 | Active | 80 | 2.12.0.1 | Apache ServiceMix :: > Bundles :: xercesImpl > 155 | Active | 80 | 3.5.2.v201711011707 | EclipseLink ANTLR > 156 | Active | 80 | 7.0.0.v201811131354 | EclipseLink ASM > 157 | Active | 80 | 2.7.4.v20190115-ad5b7c6b2a | EclipseLink Core > 158 | Active | 80 | 2.7.4.v20190115-ad5b7c6b2a | EclipseLink JPA > 159 | Active | 80 | 3.0.0.v20190108-e394cb40c1 | EclipseLink Hermes Parser > 160 | Active | 80 | 0.7.0 | OPS4J Pax JDBC MySQL > Driver Adapter > 165 | Active | 80 | 1.0.0.201505202023 | > org.osgi:org.osgi.service.jdbc > 167 | Active | 80 | 1.0.0 | OSGi Transaction Control > JPA Resource Provider - XA Transactions > 168 | Active | 80 | 1.0.0 | Apache Aries OSGi > Transaction Control Service - XA Transactions > 170 | Active | 80 | 0 | > wrap_file__C__Users_Cobus_20Stroebel_.m2_repository_xpp3_xpp3_min_1.1.4c_xpp3_min-1.1.4c.jar > 171 | Active | 80 | 1.4.10 | XStream Core > > > Kind Regards > Cobus > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
