Re: how to enable http2 in jetty

2018-10-24 Thread Bram Pouwelse
I managed to find the results of my old http2 experiment and pushed it to https://bitbucket.org/brampouwelse/felix-jetty-http2 Looking at it again it's a bit more than just a single bundle as the ALPN stuff needs to be on the boot classpath but it's close. But there is a nasty detail in how the

Re: how to enable http2 in jetty

2018-10-22 Thread Bram Pouwelse
As a user I really like the single bundle distribution that's currently provided. And I feel a bit foolish as I have a hard time locating my http2 experiment workspace... in that workspace I created a single bundle providing a ConnectorFactory and the additional Jetty dependencies that are

Ignore services that don’t explicitly target http whiteboard instance

2018-02-27 Thread Bram Pouwelse
Hi, Is it possible to have a whiteboard instance ignore services that don’t explicitly target that whiteboard instance by providing a osgi.http.whiteboard.target. I want to create an additional http service instance that’s only used for a single servlet but when creating an additional http

DM r11 Behavior change in Component.getServiceProperties() intentional?

2017-08-24 Thread Bram Pouwelse
Hi all, The behavior of Component.getServiceProperties() changed in the r11 release. Since this release the getServiceProperties method returns null if instead of an emtpy dictionary, this seems to be in-line with the javadoc (@return the properties or null if there are none) but it used to

Re: Felix and JavaFX

2017-07-09 Thread Bram Pouwelse
restling with the issue and that is a good sign. I've done some of the > > e(fx)clipse tutorials as well but, again, it makes me dependent on > specific > > implementations. > > > > I'm going to re-read the article and see if I've missed something > > though. > &g

Re: Felix and JavaFX

2017-07-09 Thread Bram Pouwelse
Hi Chuck, It's an old post but could be what you're looking for http://paulonjava.blogspot.nl/2014/11/making-javafx-better-with-osgi.html?m=1 Regards, Bram Op 9 jul. 2017 19:05 schreef "Chuck Davis" : > Thanks Thomas. I guess there must be a way. I wish he would have

Re: Config admin: when do the CM_UPDATED, CM_DELETED events actually get called?

2017-01-09 Thread Bram Pouwelse
Hi Tom, Let me start with saying that I'm not sure if the approach works with DS components but we use Amdatu Testing for our tests, that has an option for synchronous delivery of configurations [1]. This synchronous delivery mode bypasses ConfigAdmin and applies configuration changes directly to

Re: DM: Callback "onRemove" callback not found on componnent instances []

2016-06-02 Thread Bram Pouwelse
e callback. > I will work on the issue you have created soon. > > cheers; > /Pierre > > On Thu, Jun 2, 2016 at 7:53 AM, Bram Pouwelse <b...@pouwelse.com> wrote: > > > Hi Pierre, > > > > Thanks! removing the destroy callback resolves the issue. And nice to

Re: DM: Callback "onRemove" callback not found on componnent instances []

2016-06-01 Thread Bram Pouwelse
se open a JIRA issue, I will investigate it asap. In the > meantime, I think you can just remove the dmDestroy callback, which is not > necessary anymore since the FELIX-5054 fix. > > many thanks; > > [1] https://issues.apache.org/jira/browse/FELIX-5054 > > cheers > /Pie

Re: DM: Callback "onRemove" callback not found on componnent instances []

2016-06-01 Thread Bram Pouwelse
ou tell me how > I can reproduce the problem using amdatu-web ? > > let me know. > > cheers; > /Pierre > > On Wed, Jun 1, 2016 at 4:33 PM, Bram Pouwelse <b...@pouwelse.com> wrote: > > > Hi, > > > > I have some troubles with a dependency manager ad

DM: Callback "onRemove" callback not found on componnent instances []

2016-06-01 Thread Bram Pouwelse
Hi, I have some troubles with a dependency manager adapter service, for some reason it fails to call the remove callback (looking at the message there are no instances available to invoke the method on). Tried to reproduce the issue in less complex project but I don't have the problem there...

Re: DependencyManager: Removing component before bundle is started doesn't work

2016-05-26 Thread Bram Pouwelse
(true) On Thu, May 26, 2016 at 9:05 AM Pierre De Rop <pierre.de...@gmail.com> wrote: > ok Bram; I will try to reproduce this issue with a test case. (I'm off this > morning, will do it this afternoon). > > cheers; > /Pierre > > On Thu, May 26, 2016 at 8:58 AM, Bram

Re: DependencyManager: Removing component before bundle is started doesn't work

2016-05-26 Thread Bram Pouwelse
ender bundle which would track all install/resolve bundles and would > instantiate an Activator from a not started bundle and invoke it ? > > thanks; > /Pierre > > On Thu, May 26, 2016 at 8:46 AM, Bram Pouwelse <b...@pouwelse.com> wrote: > > > Hi Pierre, > > &g

Re: DependencyManager: Removing component before bundle is started doesn't work

2016-05-26 Thread Bram Pouwelse
; http://svn.apache.org/viewvc/felix/trunk/dependencymanager/org.apache.felix.dependencymanager.itest/src/org/apache/felix/dm/itest/api/AddRemoteTest.java > > On Wed, May 25, 2016 at 8:38 PM, Bram Pouwelse <b...@pouwelse.com> wrote: > > > Hi, > > > > I have an issue with a bundle that removes a D

DependencyManager: Removing component before bundle is started doesn't work

2016-05-25 Thread Bram Pouwelse
Hi, I have an issue with a bundle that removes a DM component before the bundle is started. If that happens the service remains available in the service registry. I could reproduce this using a simple activator (which doesn't make any sense but works to demonstrate the issue). public class

Re: ExtHttpService deprecated

2016-04-25 Thread Bram Pouwelse
Hi David, I don't know the osgi-jax-rs-connector you're using but based on the issues I'd think it's using the HttpService (or Felix Whiteboard implementation). In that case you need to add a servlet context select filter to you servlet to make it use the same servlet context as the jax-rs

Re: Downloads page on website contains old content

2016-01-27 Thread Bram Pouwelse
list?revision=1725455=co > > ) > > > > Thank you; > > > > cheers; > > /Pierre > > > > On Tue, Jan 26, 2016 at 8:20 PM, Bram Pouwelse <b...@pouwelse.com> > wrote: > > > >> Hi, > >> > >> Something see

Downloads page on website contains old content

2016-01-26 Thread Bram Pouwelse
Hi, Something seems off with the downloads section on the felix website http://felix.apache.org/downloads.cgi For example the Framework version in the table is 4.6.0 and http is back to version 2.3.2. Regards, Bram

Re: testing a service, mocking dependencies

2014-09-16 Thread Bram Pouwelse
You could also change from unit test to integration test in case a component depends on other components, when you do that you can register your mocks as a normal service and you don't have to make changes to your code just to be able to test it. Regards, Bram 2014-09-16 17:35 GMT+02:00