Hi Lukasz, We don't have such guide for now, but it makes sense as there's some changes.
About your question, I would recommend to use the features provided by Karaf as the examples are based on this. In your case, did you check you don't have different JPA versions ? (like 2.0/2.1) ? Regards JB On 28/03/2019 08:59, Lukasz Lech wrote: > Hello, > > > > Do you have some guide for upgrading from karaf 4.1.x line to 4.2.x line? > > > > I have a legacy app that wasn’t possible to upgrade because of some > critical bugs introduced with library updates (PostgreSQL support > issues), now I’ve tried to install our app from 4.1.3 to 4.2.4 and I’m > getting errors that are totally puzzling me: > > > > org.osgi.service.blueprint.container.ComponentDefinitionException: > Unsupported node namespace: > http://aries.apache.org/xmlns/transactions/v2.0.0 > > > > java.lang.LinkageError: loader constraint violation in interface itable > initialization: when resolving method > "org.apache.aries.jpa.container.impl.AriesEntityManagerFactoryBuilder.createEntityManagerFactory(Ljava/util/Map;)Ljavax/persistence/EntityManagerFactory;" > the class loader (instance of > org/apache/felix/framework/BundleWiringImpl$BundleClassLoader) of the > current class, > org/apache/aries/jpa/container/impl/AriesEntityManagerFactoryBuilder, > and the class loader (instance of > org/apache/felix/framework/BundleWiringImpl$BundleClassLoader) for > interface org/osgi/service/jpa/EntityManagerFactoryBuilder have > different Class objects for the type > javax/persistence/EntityManagerFactory used in the signature > > > > Our app installs Aries JPA 2.7.0 > (mvn:org.apache.aries.jpa/jpa-features/2.7.0/xml/features). > > Is there anything that need to be upgraded etc.? > > > > Thank you for any hints. > > > > Best regards, > > Lukasz Lech > > > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
