Re: Missing commands when injecting SessionFactory in a PAX-Exam test

2016-05-19 Thread Jean-Baptiste Onofré
Hi, Do you have the credential populated for the session ? Regards JB On 05/19/2016 06:15 PM, Vincent Zurczak wrote: Hi, I am working on a PAX-Exam test for Karaf 4 and I need to install a bundle DURING the test (not before). I followed Achim's sample here [0] and injected a SessionFactory in

Re: Something like maven to feature functionality, but without Karaf

2016-05-19 Thread Jean-Baptiste Onofré
Hi Dan, why not using the karaf minimal distro or create a static custom distro (as shown in the demo) ? Regards JB On 05/19/2016 06:49 PM, Daniel McGreal wrote: Hi Karaf users! Not strictly a Karaf based question, but I figure that Karaf users may well have experience here. I enjoy using

Re: Installing bundle from maven on Karaf Restart failing on Karaf 3.0.5

2016-05-19 Thread Debraj Manna
Jean, Were you able to reproduce this? On May 12, 2016 12:10 AM, "Debraj Manna" wrote: > Jean, > > I added only jackson-core on my start-up properties (removed > jackson-annotations) > > # joda-time/joda-time/2.9/joda-time-2.9.jar=10 > mvn\:com.fasterxml.jackson.core/jackson-core/2.7.4 = 80 > >

Re: Karaf JTA and JDBC DataSource

2016-05-19 Thread dpravin
Hello, I am not able to set DBCP2 pool properties for Oracle database using following properties. dataSourceName=oraDS osgi.jndi.service.name=jdbc/oraDS osgi.jdbc.driver.name=oracle-pool url=jdbc:oracle:thin:@//<>:14550/<> user=user password=password pool.initialSize=2 pool.validationQuery=selec

Re: Something like maven to feature functionality, but without Karaf

2016-05-19 Thread Krzysztof Sobkowiak
Hi Daniel Please try these urls * http://www.apache.org/dyn/closer.lua/karaf/4.0.5/apache-karaf-minimal-4.0.5.tar.gz. * http://www.apache.org/dyn/closer.lua/karaf/3.0.6/apache-karaf-minimal-3.0.6.tar.gz But the both versions support Java 7, 8 (and 6 in case of 3.0.x) Regards Krzysztof

Re: Something like maven to feature functionality, but without Karaf

2016-05-19 Thread Daniel McGreal
Thanks Achim, All three good points :) I knew you could customise the distribution but didn't realise it could be made smaller. Is the minimal version downloadable somewhere or I should make it via the assembly? Do you know what version would I need for Java 1.5 compatibility? Thanks, Dan. > O

Re: Something like maven to feature functionality, but without Karaf

2016-05-19 Thread Achim Nierbeck
Hi Daniel, for pure Felix it would just be the fileinstaller. Did you check if the minimal karaf is actually small enough? Another possibility would be to create custom Karafs with profiles. Just to give you some ideas to look at. :-) regards, Achim 2016-05-19 18:49 GMT+02:00 Daniel McGreal : >

Something like maven to feature functionality, but without Karaf

2016-05-19 Thread Daniel McGreal
Hi Karaf users! Not strictly a Karaf based question, but I figure that Karaf users may well have experience here. I enjoy using Karaf. One of the best bits is the ability to base my deployment model from my compile model via the karaf-maven-plugin and generation of the feature file and provisi

Missing commands when injecting SessionFactory in a PAX-Exam test

2016-05-19 Thread Vincent Zurczak
Hi, I am working on a PAX-Exam test for Karaf 4 and I need to install a bundle DURING the test (not before). I followed Achim's sample here [0] and injected a SessionFactory in my test. This seems to be working. When I list the commands available in the session's registry, I find many well-kno