Re: Unsupported URL scheme using bundle:watch

2014-06-27 Thread jkraushaar
Update: In order to work properly the following property has also to be added to etc/system.properties: openejb.deployments.classpath.filter.descriptors = true Regards, Jochen -- View this message in context:

Re: Unsupported URL scheme using bundle:watch

2014-06-24 Thread jkraushaar
Hi, I thought responsibility for the OSGi version of OpenEJB moved to the Karaf team (mentioned here: https://issues.apache.org/jira/browse/OPENEJB-2086). Perhaps it should be described on the OpenEJB page at the Karaf manual? Regards, Jochen -- View this message in context:

Re: Unsupported URL scheme using bundle:watch

2014-06-24 Thread Achim Nierbeck
Well, the OpenEJB support kind of stalled right now. AFAIK the transition to Karaf isn't fullfilled yet. There have also been some discussions if it wouldn't be best to move it to ServiceMix instead. But it's safe to open an issue for the Karf documentation to clearer specify this sentence in the

Re: Unsupported URL scheme using bundle:watch

2014-06-24 Thread Jean-Baptiste Onofré
Hi Jochen, the OpenEJB moves to Karaf is pending, it's not yet done. I still plan to work on it as soon as the new Karaf releases will be out. Regards JB On 06/24/2014 10:20 AM, jkraushaar wrote: Hi, I thought responsibility for the OSGi version of OpenEJB moved to the Karaf team (mentioned

Re: Unsupported URL scheme using bundle:watch

2014-06-24 Thread jkraushaar
Thank you Achim and JB. I created an issue and added some further configuration information I stumbled upon: https://issues.apache.org/jira/browse/KARAF-3066 Regards, Jochen -- View this message in context:

Re: Unsupported URL scheme using bundle:watch

2014-06-24 Thread Jean-Baptiste Onofré
Hi Jochen, thanks for that. I took the Jira and I will enhance the manual for 3.0.2. Regards JB On 06/24/2014 11:27 AM, jkraushaar wrote: Thank you Achim and JB. I created an issue and added some further configuration information I stumbled upon:

Re: Unsupported URL scheme using bundle:watch

2014-06-23 Thread sprinz
Sorry for the late answer: I was not clear enough regarding the updated bundle. The process is as follows: - Karaf is watching all urls with 'bundle:watch *' - I build a SNAPSHOT osgi bundle with 'mvn clean install' (NOT the org.apache.openejb.core-osgi 4.5.2 bundle) - Karaf tries to update the

Re: Unsupported URL scheme using bundle:watch

2014-06-23 Thread Achim Nierbeck
How did you install those bundles, did you install a feature where the EJB bundle has been marked as dependency? The only possibility might be that the feature resolver actually should refresh, not update, the ejb bundle because it should be rewired. This might be a bug. Do you have a simple

Re: Unsupported URL scheme using bundle:watch

2014-06-23 Thread jkraushaar
The cause of this error is method org.apache.openejb.config.DeploymentsResolver.loadFromClasspath(...) in Release 4.5.2 of OpenEJB. Here the URLs of all JARs loaded by the given ClassLoader are collected. Then the system JARs get removed from the list. Normally also the OpenEJB JARs should be

Re: Unsupported URL scheme using bundle:watch

2014-06-23 Thread Achim Nierbeck
Hi, as I haven't used EJB/OpenEJB in Karaf yet I wasn't aware of this. But this doesn't seem to be a bug in Karaf. It looks a lot more like it's something that needs documentation at the OpenEJB project, if not already done there :) regards, Achim 2014-06-23 17:07 GMT+02:00 jkraushaar

Re: Unsupported URL scheme using bundle:watch

2014-06-18 Thread Achim Nierbeck
Hi, how did you install the bundle in question? is it a maven coordinate? Like, mvn:groupId/artifactId/version or is it a file: or is it a combination of wrap and file or maven? cause I think the later is hard for the bundle:watch to determine if it's updated. regards, Achim 2014-06-18

Re: Unsupported URL scheme using bundle:watch

2014-06-18 Thread sprinz
Hi, the bundle in question is org.apache.openejb.core-osgi 4.5.2. It is installed as a maven coordinate: mvn:org.apache.openejb/openejb-core-osgi/4.5.2. Regards, Simon -- View this message in context:

Re: Unsupported URL scheme using bundle:watch

2014-06-18 Thread Achim Nierbeck
Looks good so far, the only thing that puzzles me, it's a released version, why would you want to do a bundle:watch / dev:watch on that. I'm not even sure this works. regards, Achim 2014-06-18 15:56 GMT+02:00 sprinz simon.pr...@doubleslash.de: Hi, the bundle in question is