Re: Filter JCR Content Selectively

2010-11-04 Thread Ian Boston
Carl, we already do something very close to this in the HttpCacheFilter We might also consider setting the resource type of these nodes and binding a different type of streaming servlet to them, although thats going to require quite a few properties. I dont think its possible to bind a Sling

Re: Reloading initial content

2011-01-13 Thread Ian Boston
I have checked this now and the problem is not due to the ContentLoader but due to the Launchpad. In fact I dont think there is a problem with the Launchpad, just our MANIFEST. Loading of new bundles based on the modification timestamp of the Launchpad jar does not appear to be happening, I

Re: Access Log as OSGi Events

2011-02-17 Thread Ian Boston
On 16 Feb 2011, at 21:49, Carl Hall wrote: Is it possible to send the access log entries as OSGi events? I see the use of RequestLogger which doesn't have such capabilities. To send access log entries to as events, would a patch be required for SlingMainServlet et al? The simplest way would

Re: request.getCharacterEncoding() always returns ISO-8859-1

2011-02-25 Thread Ian Boston
Markus, Side question, but related. I have tried in the past to register a Filter before the SlingMain Servlet which also has Filter registration functionality (presumably from a time when the OSGi HttpService didnt support filters), however I was always stuck locating the HttpContext. (the Pax

Re: request.getCharacterEncoding() always returns ISO-8859-1

2011-02-25 Thread Ian Boston
On 25 Feb 2011, at 16:06, Felix Meschberger wrote: The Felix Http Service has whiteboard pattern support for servlet Filter registration. So you just register your filter as a javax.servlet.Filter service with an alias service property and you should be done. Regards Felix Cool, thanks,

Re: additional sudoers?

2012-02-26 Thread Ian Boston
Nate, Sakai OAE uses a custom Jackrabbit UserManager implementation and a patched version of Jackrabbit, so impersonation may or may not work. I don't think anyone has tried. Also, I don't think that the non-jackrabbit content system under Sakai OAE supports impersonation, at least, not in the

Re: additional sudoers?

2012-02-27 Thread Ian Boston
On 28 February 2012 05:27, Nate Angell nang...@rsmart.com wrote: Thanks for helping think this through Ian...I certainly wouldn't presume to tell you how the system you wrote behaves ;) hey, no problem. You must tell me how it behaves, most of the time it misbehaves :) My experiments show

Re: additional sudoers?

2012-02-27 Thread Ian Boston
now unable to find ;) = nate On Mon, Feb 27, 2012 at 2:04 PM, Ian Boston i...@tfd.co.uk wrote: On 28 February 2012 05:27, Nate Angell nang...@rsmart.com wrote: Thanks for helping think this through Ian...I certainly wouldn't presume to tell you how the system you wrote behaves ;) hey

Re: Sling and html templates?

2012-09-07 Thread Ian Boston
Hi, Try using macros with Freemaker[1]. I think you can do the same with Velocity. The child page re-defines the macro. Its not quite as elegant as true template inheritance as found in some other template libraries eg[2] You could probably do something simular with the jsp include directive.[3]

Re: Sling, rendering and multicore architectures

2012-11-13 Thread Ian Boston
Hi, If you intend to service more users than you have cores, then I am not certain that making rendering of a single page operate concurrently is going to help, since as soon as you have a few users using the system, Sling will be using all available cores to concurrently serve requests. A typical

Re: Resource output capture/modification

2012-11-13 Thread Ian Boston
On 14 November 2012 09:35, David G. davidjgonza...@gmail.com wrote: Is there any mechanism in Sling that would let me inspect/modify the output a resource after it has been fully evaluated against its renderer? Similar to the sling rewriter pipeline but a hook that occurs after each resource

Re: how to use tika?

2013-02-12 Thread Ian Boston
Hi, If you look in launchpad/builder/src/main/bundles/list.xml you will find the tika bundles (below) that will almost certainly export what you need to use Tika directly. Those bundles will be in the maven repo. If you need a different version, then just add another bundle. If that makes

Re: Reg - Clustering

2014-09-22 Thread Ian Boston
On 23 September 2014 00:19, Alexander Klimetschek aklim...@adobe.com wrote: On 21.09.2014, at 22:50, Bertrand Delacretaz bdelacre...@apache.org wrote: What we recommend against is HTTP sessions ...meaning any in-memory data assigned to some session that is kept across multiple requests (as

Re: Minimal Sling

2016-07-26 Thread Ian Boston
Hi, Related to this subject. Is it possible to run Sling with the FSRP as the root ResourceResolver at / ? Or run a root ResourceResover that did almost nothing other than allow ResourceProviders to be registered ? Best Regards Ian On 26 July 2016 at 16:30, Stefan Seifert