Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-21 Thread sekaijin
Thank for all I'm running karaf pltaform like servicemix 4.0 I.E. karaf 2.2.2 and camel 2.8.1 and camel-jpa 2.8.1 define Apache ServiceMix :: Specs :: Java Persistence API 1.4 (1.8.0) not Apache Geronimo JSR-317 JPA 2.0 Spec API (1.1) I've defined a hermes-jpa features initialy for jpa jndi tran

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-20 Thread Christian Müller
Hello! Camel use the "Apache Geronimo JSR-317 JPA 2.0 Spec API (1.1)" bundle in its camel-jpa component [1] too. [1] https://svn.apache.org/repos/asf/camel/trunk/platforms/karaf/features/src/main/resources/features.xml Best, Christian On Tue, Nov 20, 2012 at 10:02 AM, sekaijin wrote: > Hello,

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-20 Thread Christian Schneider
Sounds good. You can do cat on the mvn: urls of the repos and grep for the bundle uri. Christian On 11/20/2012 10:02 AM, sekaijin wrote: > Hello, > I tried the opposite: > uninstall > Apache ServiceMix :: Specs :: Java Persistence API 1.4 (1.8.0) > insatall > Apache Geronimo JSR-317 JPA 2.0 Spe

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-20 Thread sekaijin
Hello, I tried the opposite: uninstall Apache ServiceMix :: Specs :: Java Persistence API 1.4 (1.8.0) insatall Apache Geronimo JSR-317 JPA 2.0 Spec API (1.1) and It works Now I have to find out which feature install Apache ServiceMix :: Specs :: Java Persistence API A + JYT -- View this messa

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-20 Thread sekaijin
Hello, I'd actually several versions of JPA in bundles I uninstalled Apache Geronimo JSR-317 JPA 2.0 Spec API (1.1) but this does not change. thank A+JYT -- View this message in context: http://camel.465427.n5.nabble.com/Christian-Schneider-Karaf-Tutorial-Part-6-Database-Access-problem-t

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-19 Thread Christian Müller
could you execute: exports | grep "javax.persistence.spi" What do you see? Best, Christian On Mon, Nov 19, 2012 at 6:23 PM, sekaijin wrote: > thank you, > I deleted everything > I redémaré Karaf > > > the feature [installed ] [1.0.2-SNAPSHOT] camel-activemq hermes > is > activemq > camel-j

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-19 Thread sekaijin
thank you, I deleted everything I redémaré Karaf the feature [installed ] [1.0.2-SNAPSHOT] camel-activemq hermes is activemq camel-jms activemq-blueprint activemq-camel th feature [installed ] [1.0.2-SNAPSHOT] hermes-ressources hermes is wrap:mvn:ojdbc/ojdbc/14 mvn:commons-lang/commons-lan

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-19 Thread Christian Schneider
Hi, the exception Caused by: java.lang.ClassCastException: org.apache.openjpa.persistence.PersistenceProviderImpl cannot be cast to javax.persistence.spi.PersistenceProvider typically means that you have two interfaces PeristenceProvider on your classpath. So either there are two bundles that