Re: Karaf 4.2.2, Java 11, OpenJFX 11 and PaxExam

2018-12-27 Thread Kerry
= 18 ] WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/home/kerry/intellijprojects/flexfx/it/tests/target/paxexam/unpack/106f6824-a4ac-4a12-af4b-aecdd0b6bd9c

Re: Karaf 4.2.2, Java 11, OpenJFX 11 and PaxExam

2018-12-26 Thread Kerry
figuration and need to work out what has changed (I've previously had the tests working under earlier versions of Karaf and Java) Kerry On 23/12/2018 23:21, Freeman Fang wrote: > > - > Freeman(Yue) Fang > > Red Hat, Inc.  > > > > > >> On Dec 24, 2018, a

Karaf 4.2.2, Java 11, OpenJFX 11 and PaxExam

2018-12-23 Thread Kerry
/) and this zip file includes native libraries as well as JARs. These are what I think I should be installing automatically but I'm uncertain how I can go about this with PaxExam. Does anyone have any suggestions? Thanks, Kerry.

Re: Running Camel in a Karaf OSGi container

2018-10-16 Thread Kerry
. Kerry On 16/10/18 20:36, John F. Berry wrote: > I'd love to share my code.. just make sure to have your Alka-Seltzer ready :P > This is my original route using Java DSL to solve a small route issue. (I did > anonymize a few things in the code before sending it out to public view) >

Re: Running Camel in a Karaf OSGi container

2018-10-16 Thread Kerry
Hi John, Are you able to share any of your code or an example project? also are you familiar already with OSGi or is it only Karaf that you are new to? thanks Kerry On 16/10/18 19:54, John F. Berry wrote: > New user to Karaf due to the fact that my development work in Apache Ca

Re: JPA (Hibernate) with Apache Karaf 4.2

2018-06-05 Thread Kerry
annotation is used by SCR. François Papon fpa...@apache.org Open3m - https://www.open3m.io Le 05/06/2018 à 00:13, alex09 a écrit : Hi Kerry, nice examples, I like playing around with this and it's well structured and comprehensible. Just for interest: I realised that it doesn't matter here

Re: JPA (Hibernate) with Apache Karaf 4.2

2018-06-03 Thread Kerry
Cheers Alex will make a note of that. I see you're using Karaf 4.2.X which I didn't test against. Kerry On 02/06/18 18:18, alex09 wrote: Hi Kerry, thanks, it's working now. However, from a plain Karaf installation I had to `feature:install aries-blueprint`would be good to mention somewhere

Re: JPA (Hibernate) with Apache Karaf 4.2

2018-06-02 Thread Kerry
Alex, thanks for letting me know. I didn't rename a dependency in the simple-commands module when I renamed 'simple' to 'simple-dao'. I've pushed up a fix to master. Kerry On 01/06/18 21:12, alex09 wrote: Hi Kerry, yes, I cloned master of jpatest and started building with `mvn clean

Re: JPA (Hibernate) with Apache Karaf 4.2

2018-05-30 Thread Kerry
Alex, Are you building on the master branch from the top-level pom? Kerry On 30/05/18 11:57, alex09 wrote: Thanks Kerry! When building simple-commands, an artefact is missing: com.javatechnics.jpa simple 1.0.0-SNAPSHOT provided

Re: JPA (Hibernate) with Apache Karaf 4.2

2018-05-29 Thread Kerry
Hi Alex, I've created a simple project that shows how to use JPA in Karaf although it uses OpenJPA as the JPA provider: https://github.com/jtkb/jpatest Hopefully it will be straight forward enough for you to get to grips with JPA in an OSGi environment. Kerry On 29/05/18 19:54, alex09

Re: Recommanded way to use an XML parser in OSGi ?

2018-03-27 Thread Kerry
would make it that of the class which is the entry point from the 'outside world' into your bundle. Don't forget to reset the classloader before the thread leaves your bundle and do this inside a finally clause. Kerry On 27/03/18 22:16, Nicolas Brasey wrote: Ideally I would like to avoid

Re: Recommanded way to use an XML parser in OSGi ?

2018-03-27 Thread Kerry
of the class that has the failing code. Kerry ⁣Sent from BlueMail ​ On 27 Mar 2018, 14:17, at 14:17, Nicolas Brasey <nicolas.bra...@gmail.com> wrote: >Hi, > >I'm feeling frustrated because like everytime I'm adventuring with XML >in >an OSGi context, I end up wit

Re: Travis CI, Karaf & PAX Exam integration test failure

2018-01-13 Thread Kerry
Hi JB, Just an update on this one. I didn't find the exact reason while my build was failing but I was originally using PAX 4.8.0 but updated to 4.11.0 and the issue went away. Kerry On 08/01/18 18:38, Jean-Baptiste Onofré wrote: OK, weird if the system.properties and/or jre.properties

Re: Travis CI, Karaf & PAX Exam integration test failure

2018-01-08 Thread Kerry
I use Travis to use Oracle JDK so should be available. Also TestFX itself is tested on Travis so I expect that the package is available. I'll try a few other things. Kerry On 08/01/18 05:35, Jean-Baptiste Onofré wrote: cum.sun.glass.ui should be an optional import as it's not provided

Re: Travis CI, Karaf & PAX Exam integration test failure

2018-01-07 Thread Kerry
OK on my local dev machine.. for some reason my config.properties isn't being applied when in Travis? (guessing here). Kerry On 07/01/18 19:43, Jean-Baptiste Onofré wrote: Hi Kerry, I never used Travis with Karaf (we are using Jenkins for the itests). However, your issue doesn't look related

Re: Include Karaf feature in POM dependency

2017-12-04 Thread Kerry
On 30/11/17 17:00, Steinar Bang wrote: Kerry <karaf-u...@avionicengineers.com>: Yes that is what I meant, I have to use a template to create a features.xml. I've looked at the code for GenerateDescriptorMojo and searched the Karaf source for an example of what I need but couldn'

Re: Include Karaf feature in POM dependency

2017-11-27 Thread Kerry
undles individually everything works. I'll try playing around with it but this is obviously nothing to do with the GenerateDescriptorMojo. Kerry

Re: Pax Exam - Install wrapped Bundle

2017-08-28 Thread Kerry
) And the bundles are wrapped for me automatically, so I am not sure what the purpose of the wrappedBundle method is, it doesn;t seem to work for me. I'll investigate the link further to see if there is anything different. Kerry On 28/08/17 10:14, Oliver Lietz wrote: On Saturday 26 August 2017 12:28:18

Pax Exam - Install wrapped Bundle

2017-08-26 Thread Kerry
complaining that it cannot find a class within the TestFX JAR, and inspecting the Karaf instance after running the test, sure enough the JAR wasn't installed. There are no errors in the logs to say installation failed. Can anyone tell me what I am doing wrong? Kerry

Register a Karaf Command Dynamically

2017-08-19 Thread Kerry
Hi, I'd like to try and register a Karaf command dynamically i.e. not immediately at Bundle start up by at some unknown time in the future. I thought I could do this using the bundleContext.registerService() method like so: commandTwoServiceAction =

Re: Executing a Karaf command in Pax Exam Test

2017-08-13 Thread Kerry
/src/test/java/de/nierbeck/cassandra/itest/TestBase.java#L150-L180 btw. if in doubt, there are a couple of tests around that class using it. So there should be plenty of samples ;) regards, Achim 2017-08-13 14:06 GMT+02:00 Kerry <karaf-u...@avionicengineers.com <mailto:k

Executing a Karaf command in Pax Exam Test

2017-08-13 Thread Kerry
/advanced_integration_testing_with_pax_exam_karaf and it makes use of a 'CommandProcessor' interface but searching the current Karaf source code it appears this class no longer exists. Is there a way that I can achieve the above? Thanks Kerry

Re: Features archetype - bundle start-level

2016-02-12 Thread Kerry Billingham
50 true (obr) true false true true As you can see the features template is the standard one except for the bundle. Do I need to include (in the template) a reference to the startLevel specified in the POM on each bundle entry? Regards Kerry On 11/02/16

Features archetype - bundle start-level

2016-02-11 Thread Kerry Billingham
the project. Is there something I'm doing wrong or missing an extra configuration? Thanks Kerry

Karaf Features Maven archetype (karaf-feature-archetype)

2015-09-08 Thread Kerry Billingham
Kerry