Re: Are bundles containing declerative services and blueprint possible?

2013-09-24 Thread David Jencks
I can't see any reason all known osgi component frameworks shouldn't all work at once in one bundle. (e.g DS, IPOJO, Blueprint) Is there a thread dump for when this problem originally occurs? Do you know what state the bundle is in when blueprint gets in trouble? What got the bundle into this

Re: Are bundles containing declerative services and blueprint possible?

2013-09-24 Thread Michael Täschner
Hi Dirk, >>So we assume that the scr bundle activation cannot coexists with the blueprint container for the same bundle. Is this right? Yes, your assumption is correct. One bundle should be managed by one dependency injection implementation only. The DI is managed by the DI frameworks via extende

Re: Weird cast problem when embedding the Jetty web service into Felix

2013-09-24 Thread Richard S. Hall
On 9/24/13 16:06 , Fulvio Risso wrote: I'm currently embedding Jetty in the felix framework, using the examples provided on the felix website: http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html and http://felix.apache.org/documentation/subprojects/apache-fe

Weird cast problem when embedding the Jetty web service into Felix

2013-09-24 Thread Fulvio Risso
I'm currently embedding Jetty in the felix framework, using the examples provided on the felix website: http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html and http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html Basically, I create m

Weird cast problem when embedding the Jetty web service into Felix

2013-09-24 Thread Fulvio Risso
I'm currently embedding Jetty in the felix framework, using the examples provided on the felix webside: http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html and http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html The problem in when I t

Re: Strategies for bundle repositories and auto-update

2013-09-24 Thread Roland
Cristiano Gavião wrote > Be aware that currently OBR generated by maven-bundle-plugin is not > compatible with the new R5 Repository service and with the repositories > that could be generated using OSGi Bindex tool. > > With the new format you can create Federated repositories (a composition >

Re: Strategies for bundle repositories and auto-update

2013-09-24 Thread Cristiano Gavião
Be aware that currently OBR generated by maven-bundle-plugin is not compatible with the new R5 Repository service and with the repositories that could be generated using OSGi Bindex tool. With the new format you can create Federated repositories (a composition of repositories)... regards, C

Are bundles containing declerative services and blueprint possible?

2013-09-24 Thread Rudolph, Dirk
Hi all, in our project we make use of blueprint and declarative services. Both of them are part of one bundle running on Apache Felix (3.0.8.B006, CQ Version) with Apache Aries 1.0.1 (blueprint, jpa) Now we noticed, that there are some non-deterministic IllegalStateExceptions when we red

Re: Strategies for bundle repositories and auto-update

2013-09-24 Thread Christopher BROWN
Thankyou for the tip Roland. I'll be investigating the Maven bundle plugin (although I generally don't use Maven a lot). -- Christopher On 24 September 2013 12:27, Roland wrote: > Christopher BROWN-2 wrote > > [...] > > Have I missed some API that provides this sort of > > information/notific

Re: Strategies for bundle repositories and auto-update

2013-09-24 Thread Roland
Christopher BROWN-2 wrote > [...] > Have I missed some API that provides this sort of > information/notification? I could probably parse this information for > package dependencies (if I can detect a failure to resolve the bundle), > but > I've not seen any way to parse service requirements. I'm