Hey,
When deploying OSGi bundles through Felix Web Console, I want to block all
traffic to the sling instance. But, still able to deploy OSGi bundles.
The reason is because incoming traffic during deployment freezes instance
(have to kill -9).
Thanks.
Hi,
On Tue, Aug 21, 2012 at 5:46 PM, Sam Lee skyn...@gmail.com wrote:
When deploying OSGi bundles through Felix Web Console, I want to block all
traffic to the sling instance. But, still able to deploy OSGi bundles
I've been doing that with a Servlet Filter that you activate before
doing
Thanks.
Do you have an example of such servlet filter?
On Tue, Aug 21, 2012 at 11:53 AM, Bertrand Delacretaz
bdelacre...@apache.org wrote:
Hi,
On Tue, Aug 21, 2012 at 5:46 PM, Sam Lee skyn...@gmail.com wrote:
When deploying OSGi bundles through Felix Web Console, I want to block
all
Hello,
I'm trying to understand the cause of the error in the title.My Sling
version is built from Rev. 1375551, but this error was happening
previously. It's not happening when running Sling in my local machine, but
it's happening when I'm running it on a Cent OS 6.2 machine, with java
version:
Hi,
I actually managed to reproduce the error on my local machine as well, by
stopping and starting Apache Sling JCR Resource Resolver
org.apache.sling.jcr.resourcehttp://hendrix.local.adobe.com:8080/system/console/bundles/36
bundle.
Regards,
Dragos Dascalita Haut
On Tue, Aug 21, 2012 at 10:59
@SlingFilter(scope = SlingFilterScope.REQUEST, order = Integer.MAX_VALUE,
generateComponent = false)
@Component(metatype = true, immediate = false, enabled = false)
public class BlockAllButFelixFilter implements Filter {
@Override
public void doFilter(ServletRequest request,
The component gets disabled during deployment :P
Maybe I need to create a separate OSGi bundle for this
On Tue, Aug 21, 2012 at 4:46 PM, Sam Lee skyn...@gmail.com wrote:
@SlingFilter(scope = SlingFilterScope.REQUEST, order = Integer.MAX_VALUE,
generateComponent = false)