Jetty dynamic redirection

2016-03-02 Thread conejo
Good Morning. I wonder if redirections can be added dynamically without restarting jetty. I know with pax-web handlers can be added as services but have not found an appropriate example. The idea is that by modifying a configuration file (or similar mechanism) can add or remove redirects on the

RE: PAX-WEB ServletMapping service sometimes starts before ServletContextListenerMapping

2016-03-02 Thread kuvalda
Hi JP and Achim Thanks for your advice. Unfortunately, it didn't help. I've tried to put depends-on="listenerMapping" to ServletMapping service. Just in case, tried to put depends-on to DefaultServletMapping bean and Servlet bean. Also I've tried to register just a Listener service itself

Re: Dynamic Config Loading in Camel Application Bundle in Karaf 3.0.5

2016-03-02 Thread David Jencks
It would be a big change, but you might consider switching your application to use declarative services rather than blueprint. IMO blueprint is sort of spring shoehorned to sort of vaguely work a little bit in OSGI whereas DS is actually designed from the start to take full advantage of osgi.

Dynamic Config Loading in Camel Application Bundle in Karaf 3.0.5

2016-03-02 Thread Debraj Manna
I have a simple Camel Application bundle which is to be deployed in Karaf 3.0.5 under Apache Service Mix 6.1. The configuration file is placed in etc/ directory (let's say it is named as wf.cfg). I want to have the dynamic config change functionality in my application bundle. So that whenever

Re: PAX-WEB ServletMapping service sometimes starts before ServletContextListenerMapping

2016-03-02 Thread Achim Nierbeck
Hi JP, thanks for the hint, that should actually help :-) regards, Achim 2016-03-02 10:11 GMT+01:00 CLEMENT Jean-Philippe < jean-philippe.clem...@fr.thalesgroup.com>: > Hi, > > Did you try to put a "depends-on" in your Blueprint service? > > JP > > -Message d'origine- > De : kuvalda

RE: PAX-WEB ServletMapping service sometimes starts before ServletContextListenerMapping

2016-03-02 Thread CLEMENT Jean-Philippe
Hi, Did you try to put a "depends-on" in your Blueprint service? JP -Message d'origine- De : kuvalda [mailto:peha...@mail.ru] Envoyé : mardi 1 mars 2016 21:46 À : user@karaf.apache.org Objet : PAX-WEB ServletMapping service sometimes starts before ServletContextListenerMapping I'm