Re: Eventadmin as deploy seems to restart framework

2012-06-26 Thread Guillaume Nodet
That's because eventadmin is an optional dependency of a lot of bundles, including aries blueprint. FileInstall does a refresh on the bundles and it causes the blueprint extender to be re-wired, causing all blueprint applications to be restarted. If that's not done, events won't be sent by

Re: how to bind jaxrs:server to default http service

2012-06-26 Thread Freeman Fang
Hi, Yeah, it's possible, as long as your address start with /, which means it will use http-osgi transport(http osgi service provided by paxweb). Generally the port conflict only comes from your address is like http://localhost:8181/blabla ..., which means will use http-jetty transport. But

Re: Eventadmin as deploy seems to restart framework

2012-06-26 Thread John Hawksley
Hi Guillaume, Firstly thanks very much for the explanation - this does tie in with the log messages I see when I set DEBUG level. I will try to take out the blueprint tooling and see if that fixes our issue (I assume it will) since we don't need it, or revert to installing EA as a feature.

Re: Best way to test blueprint-based applications with Karaf?

2012-06-26 Thread j...@nanthrax.net
Hi I would suggest paxexam-karaf. Regards JB -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://wwx.talend.com - Reply message - From: Gerald Preissler gpreiss...@talend.com To: user@karaf.apache.org user@karaf.apache.org Subject: Best way to test

Re: Unable to load Spring's petcare showcase using karaf 2.3.0 and 3.0 snapshots and 2.2.7

2012-06-26 Thread Achim Nierbeck
Hi Dan, how does your URL look like? With spring based web-app this can be a bit more tricky. For the following reason, when having a non OSGi Webapplication you need to install it a webbundle. The URL-Handler taking care of this will try to make the non-osgi war a web application bundle

Re: Spring-DM web and pax web extender bundle processing order in 2.2.7

2012-06-26 Thread Guillaume Nodet
If you use a spring web app, do you really need to use spring-dm in addition ? Why don't you just use the spring app ? On Tue, Jun 26, 2012 at 1:23 AM, Raman Gupta rocketra...@gmail.com wrote: On 06/25/2012 03:21 AM, Guillaume Nodet wrote: That's a quite big problem and I'm not really aware of

Re: Spring-DM web and pax web extender bundle processing order in 2.2.7

2012-06-26 Thread Raman Gupta
On 06/26/2012 07:17 AM, Guillaume Nodet wrote: If you use a spring web app, do you really need to use spring-dm in addition ? Why don't you just use the spring app ? I'm not sure what you mean... Spring-DM is what ties in the OSGi microservices into the web bundle's Spring context, right? How

Re: Spring-DM web and pax web extender bundle processing order in 2.2.7

2012-06-26 Thread Guillaume Nodet
If you want to use spring-dm and spring-mvc, you want to look at http://static.springsource.org/osgi/docs/1.1.0-m2/reference/html/web.html There's a special application context class designed for this it seems: org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext

Re: Spring-DM web and pax web extender bundle processing order in 2.2.7

2012-06-26 Thread Raman Gupta
On 06/26/2012 10:56 AM, Guillaume Nodet wrote: If you want to use spring-dm and spring-mvc, you want to look at http://static.springsource.org/osgi/docs/1.1.0-m2/reference/html/web.html There's a special application context class designed for this it seems: