Re: Upgrading Karaf 2.3.5 to 2.4.0 (or 3.0.2)

2014-11-26 Thread Oliver Pajonk
A quick follow-up to that: I had problems with Java 8 and JPA (more specifically, OpenJPA enhancing of Java-8-targeted class files) - should that work, or is that not part of the full Java8 support scope. That would be completely fine, I just would like to know :-) 2014-11-25 22:26 GMT+01:00

Re: Upgrading Karaf 2.3.5 to 2.4.0 (or 3.0.2)

2014-11-26 Thread Achim Nierbeck
I don't think OpenJPA is part of the Karaf distribution ;) so there is no way for us to extend this support to OpenJPA regards, Achim 2014-11-26 11:43 GMT+01:00 Oliver Pajonk oli...@pjnk.de: A quick follow-up to that: I had problems with Java 8 and JPA (more specifically, OpenJPA enhancing

Re: Upgrading Karaf 2.3.5 to 2.4.0 (or 3.0.2)

2014-11-26 Thread Achim Nierbeck
Follow-up on the OpenJPA part, the sources I used for my ApacheCon talk where compiled with Java8 (targeted version 1.7) and did run nicely with Apache Karaf 3.0.2 and OpenJPA running with Java8. So I didn't have an issue with that so far. regards, Achim 2014-11-26 11:46 GMT+01:00 Achim

Re: Upgrading Karaf 2.3.5 to 2.4.0 (or 3.0.2)

2014-11-26 Thread Jean-Baptiste Onofré
Clearly, Achim talked about Java8 support of Karaf itself. We can't support Java8 for all projects running in Karaf if they don't support on their own. My $0.02. Regards JB On 11/26/2014 11:43 AM, Oliver Pajonk wrote: A quick follow-up to that: I had problems with Java 8 and JPA (more

Re: Updating an existing bundle on Karaf

2014-11-26 Thread joaocmfcm
I could make it work by simply going to the Web Console and manually click on the refresh package imports of each bundle (B C and D). But I still want to know if there's a way of installing the fixed bundle over the existing one deployed on Karaf. Let's say bundle A is 555 and it is active. If I

Re: Upgrading Karaf 2.3.5 to 2.4.0 (or 3.0.2)

2014-11-26 Thread Oliver Pajonk
JB: Fair enough, I did not really expect anything else. I just wanted to make sure I did not miss something :-) Achim: I guess then the target 1.7 is the trick :). Since I wanted to use lambdas I had to set target to 1.8, which did not work. Anyway, thanks for the quick reply! 2014-11-26 11:52

Re: Updating an existing bundle on Karaf

2014-11-26 Thread Jean-Baptiste Onofré
It's what I said in my previous email: bundle:update 55 file://path/to/bunle.jar Regards JB On 11/26/2014 11:55 AM, joaocmfcm wrote: I could make it work by simply going to the Web Console and manually click on the refresh package imports of each bundle (B C and D). But I still want to know

XA Database and aries.xa.aware

2014-11-26 Thread garethahealy
I have been playing around with some database code [1], and randomly on my google travels spotted [2]. So i am trying to understand when/why i should use: aries.xa.aware=true From my current setup, i believe i am using XA connections, so what benefit is there in adding the aries.xa.aware into the

Re: XA Database and aries.xa.aware

2014-11-26 Thread Charlie Mordant
Hi, Using aries.xa.aware ensures that your transaction is handled by Aries (Auto enlisted) so you’ll be able to mix multi-databases transactions, mixed JMS/JDBC ones. 2014-11-26 12:41 GMT+01:00 garethahealy garethahe...@gmail.com: I have been playing around with some database code [1], and

Re: XA Database and aries.xa.aware

2014-11-26 Thread Charlie Mordant
Hi, Using aries.xa.aware ensures that your transaction is handled by Aries (Auto enlisted) so you’ll be able to mix multi-databases transactions, mixed JMS/JDBC ones. Le 26 nov. 2014 à 12:41, garethahealy garethahe...@gmail.com a écrit : I have been playing around with some database

Re: Unable to 'wrap' non-osgi maven artifacts with Bundle Info

2014-11-26 Thread ronfulkerson
That was the issue. Thank you for your help! On Tue, Nov 25, 2014 at 5:30 PM, Stuart McCulloch [via Karaf] ml-node+s922171n4036682...@n3.nabble.com wrote: Since this is an XML file I believe you need to use amp; to represent the ampersand between the two bnd instructions On Wednesday, 26

Re: Free-form Version Coercion to OSGi Compatible Version

2014-11-26 Thread Achim Nierbeck
Hi, Karaf is using and under the hood. So you best take a look at the end tools. Regards, Achim sent from mobile device Am 26.11.2014 16:54 schrieb Nick Baker nba...@pentaho.com: Hey All, We’ve written a deployer to transform WebJars (http://www.webjars.org) into bundles compatible with

Re: Karaf support in Eclipse

2014-11-26 Thread Jean-Baptiste Onofré
Hi, For dev, you don't need any Karaf integration. EIK is interesting to extend dev and embed Karaf inside Eclipse. By the way: 1/ the latest EIK SNAPSHOT should support both, did you try it ? 2/ if you see any issue with the SNAPSHOT, we love contribution ;) Regards JB On 11/26/2014 06:24

Re: Karaf support in Eclipse

2014-11-26 Thread tvogel
JB, Thanks for the quick reply! I did not try it because the support page did not include my versions. I will try it. Regarding not needing it for development, my OSGi development to date has been with Eclipse RCP applications. For these I create a target environment in Eclipse so that

Re: Karaf support in Eclipse

2014-11-26 Thread Jean-Baptiste Onofré
You should deploy the bundles in Karaf: it's more a itest standpoint IMHO, no ? Regards JB On 11/26/2014 07:38 PM, tvogel wrote: JB, Thanks for the quick reply! I did not try it because the support page did not include my versions. I will try it. Regarding not needing it for

Re: Free-form Version Coercion to OSGi Compatible Version

2014-11-26 Thread chris . gray
Hi Achim, I guess you mean: Karaf is using *bnd* under the hood. So you best take a look at the *bnd* tools. Gotta love those whacky spellcheckers ;-) Regards, Chris Hi, Karaf is using and under the hood. So you best take a look at the end tools. Regards, Achim sent from mobile device

Re: Free-form Version Coercion to OSGi Compatible Version

2014-11-26 Thread Achim Nierbeck
ooops, sorry yes I meant bnd tool, aren't those spellcheckers lovely and I can't really tell if I switched to english before or if it's the german one :-D anyways it's best to take a look at the bnd tools project it inherited from aqute bnd. Karaf itself doesn't do much with bnd, it's

Re: Free-form Version Coercion to OSGi Compatible Version

2014-11-26 Thread Nick Baker
Haha yep. That makes more sense. People laugh at ny BlackBerry, but the auto correct is awesome. Thanks! Nick Sent from my BlackBerry. I am AFK at the moment Original Message From: chris.g...@kiffer.ltd.uk Sent: Wednesday, November 26, 2014 3:04 PM To: user@karaf.apache.org Reply To: