Re: Container management JPA example

2014-06-01 Thread ellirael
Jamie, thanks. Have you tried those recipes? Is is working with Karaf 3.0.1 and container management JPA? Container management JPA is one of the main Karaf features. And I cannot stop trying to use it. -- View this message in context: http://karaf.922171.n3.nabble.com/Container-management-JPA-e

Re: Container management JPA example

2014-06-01 Thread Jean-Baptiste Onofré
Hi, yes, it should work with Karaf 3.0.1 (it's the target version of the cookbook). And yes, CMP should be supported as well. FYI, I'm working on JPA 2.1 support in Aries JPA, and I will add a itest (using Pax Exam as started by Christian in Aries). Regards JB On 06/01/2014 04:16 PM, elli

Re: Container management JPA example

2014-06-01 Thread Jamie G.
Yes, as JB has stated - its from the up coming Apache Karaf Cookbook (Packt Publishing). We're hoping it'll be available soon :) Cheers, Jamie On Sun, Jun 1, 2014 at 1:49 PM, Jean-Baptiste Onofré wrote: > Hi, > > yes, it should work with Karaf 3.0.1 (it's the target version of the > cookbook). >

Where can I find some examples of bundle for Karaf 3?

2014-06-01 Thread lionceau
Hello, I start to use Apache Karaf and I would like to know where can I found some bundles for Apache Karaf 3 ??? That will be great if I can find a bundle to manage a database and if i can find some game for bundle Thank you for your answer. -- View this message in context: http://karaf

Re: I can deploy a jar(Sudoku) in Karaf 3 but can't use it .. why ?

2014-06-01 Thread lionceau
OMG , i understand why .. because i use the aQute.sudoku.jar and i sould use this aQute.webrpc.jar link . Then , when i use aQute.sudoku.jar, I have the same problem , i can't run the bundle When i use aQute.webrpc.jar I have this error : karaf@ro

Re: Where can I find some examples of bundle for Karaf 3?

2014-06-01 Thread Jean-Baptiste Onofré
Hi, Not sure to understand what you mean. To manage a database, you can install the jdbc feature and use it: http://karaf.apache.org/manual/latest/users-guide/jdbc.html ServiceMix provides a lot of OSGi bundles that you can deploy in Karaf: http://repo.maven.apache.org/maven2/org/apache/service

Re: I can deploy a jar(Sudoku) in Karaf 3 but can't use it .. why ?

2014-06-01 Thread Jean-Baptiste Onofré
The bundle requires SCR (the package org.osgi.service.component is provided by Felix SCR). So try to install the scr feature first: feature:install scr and after try to start your bundle, it should be better. Regards JB On 06/01/2014 08:57 PM, lionceau wrote: OMG , i understand why .. becaus

Re: I can deploy a jar(Sudoku) in Karaf 3 but can't use it .. why ?

2014-06-01 Thread lionceau
Thank you very much. Now it's working well. -- View this message in context: http://karaf.922171.n3.nabble.com/I-can-deploy-a-jar-Sudoku-in-Karaf-3-but-can-t-use-it-why-tp4033368p4033373.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: I can deploy a jar(Sudoku) in Karaf 3 but can't use it .. why ?

2014-06-01 Thread Jean-Baptiste Onofré
You're welcome. I advice you to take a look on the Karaf user guide and OSGi specification to understand some core concepts: it will help you to understand what's going on in the container. I have an introduction "training" material for both OSGi and Karaf, I will check if I can put it on th