Karaf features in Launchpad

2013-10-01 Thread Vidar Ramdal
I'm assembling a Sling Launchpad application, and I'm experiencing that the Launchpad bundle list is becoming long and difficult to manage. For example, adding Hibernate support requires adding a considerable number of bundles, to different start levels. Adding other stuff requires adding more bun

SLING-2530 (CRUD) Persisting changes

2012-07-06 Thread Vidar Ramdal
>From https://cwiki.apache.org/confluence/display/SLING/Supporting+CRUD : "Changes are not persisted immediately but stored transient. When all changes are done, a save/commit calls needs to be done trying to persist all changes to all resource providers." Let's say a changeset involves several re

Re: [VOTE] Moving SLING-2396 to trunk

2012-06-12 Thread Vidar Ramdal
2012/6/10 Carsten Ziegeler : > I really would like to move forward with SLING-2396 (Make > ResourceResolverFactory independent from JCR) in order to implement > other features (like CRUD support for the resource resolver) on top of > this. > > Unfortunately this change introduces an incompatibility

Re: The beast that is JcrResourceResolverFactoryImpl

2012-02-02 Thread Vidar Ramdal
2012/2/2 Vidar Ramdal : >>>>> I think some time ago Felix was working on a prototype for this. Not >>>>> sure what the status is. >>>>> >>>>> But that's definitely something we should do in Sling rather sooner than >>>>

Re: The beast that is JcrResourceResolverFactoryImpl

2012-02-02 Thread Vidar Ramdal
I think some time ago Felix was working on a prototype for this. Not sure what the status is. But that's definitely something we should do in Sling rather sooner than later. >>> >>> I'd be interested in seeing this come to Sling, and could start do to >>> some work on it -

Re: The beast that is JcrResourceResolverFactoryImpl

2012-02-01 Thread Vidar Ramdal
> 2012/2/1 Vidar Ramdal : >> I am experimenting with using Sling in a non-JCR application, that is, >> I want to leverage Sling's templating support, OSGi goodies, resource >> resolution etc, without using JCR, but in this case, a regular >> relational database. I

The beast that is JcrResourceResolverFactoryImpl

2012-02-01 Thread Vidar Ramdal
I am experimenting with using Sling in a non-JCR application, that is, I want to leverage Sling's templating support, OSGi goodies, resource resolution etc, without using JCR, but in this case, a regular relational database. I have created a ResourceProvider which turns DB data into resources, so f

Re: Providers for non-JCR data storage? (was: [RT] Improving access control)

2011-11-24 Thread Vidar Ramdal
2011/11/23 Alexander Klimetschek : > On 23.11.11 12:57, "Vidar Ramdal" wrote: >>2011/11/23 Tobias Bocanegra : >>> I would rather put effort in creating connectors in jackrabbit. So >>> having a LDAP, noSQL, etc. mapped into JCR brings much more value and

Re: Providers for non-JCR data storage? (was: [RT] Improving access control)

2011-11-23 Thread Vidar Ramdal
> On Wed, Nov 23, 2011 at 11:10 AM, Vidar Ramdal > wrote: >> 2011/11/23 Carsten Ziegeler : >>> I know that some people have developed such things but don't want to >>> contribute them (which is totally fine). I'm planning to work on such >>> provi

Re: Providers for non-JCR data storage? (was: [RT] Improving access control)

2011-11-23 Thread Vidar Ramdal
2011/11/23 Carsten Ziegeler : > I know that some people have developed such things but don't want to > contribute them (which is totally fine). I'm planning to work on such > providers in the near future. If others are interested to use their > favorite data storage with Sling, I'm happy to apply c

Re: [RT] Improving access control

2011-11-23 Thread Vidar Ramdal
2011/11/23 Mike Müller : > I think the discussion here is missunderstood. It's neither about > to redefine existing ACLs nor about reinventing something already > existing. It's just about introducing hooks or entrypoint to let > developers define some other access controlling rules if needed. > Sl

Re: [RT] Improving access control

2011-11-22 Thread Vidar Ramdal
2011/11/22 Carsten Ziegeler : > This idea is about to provide a general approach for resource > checking. Noone prevents you from doing a virtual tree in the jcr > repository to check access of resources provided by other providers. > But that's an implementation detail which I don't want to requir

Re: [RT] Improving access control

2011-11-22 Thread Vidar Ramdal
2011/11/22 Bertrand Delacretaz : > On Tue, Nov 22, 2011 at 1:45 PM, Alexander Klimetschek > wrote: >> ...Personally I think it is much better to put such additional ACL >> implementations into the JCR (e.g. a custom Jackrabbit access control >> provider). The problem is that anytime your code is u

Re: [VOTE] Abandon Maven 2.x support in maven-launchpad-plugin

2011-11-11 Thread Vidar Ramdal
2011/11/10 Justin Edelson : > All- > In order to handle SLING-2273, I need to update the various > dependencies from the maven-launchpad-plugin from Maven 2 to Maven 3. > As this is a backwards-incompatible change, I think it is worth voting > on. Logically, the next version of the launchpad plugin

Re: Removing the query servlet

2011-09-19 Thread Vidar Ramdal
> 2011/9/19 Felix Meschberger : >> How about: >> >>  * Creating a separate bundle taking this servlet > Yeah, that's an option - though if noone needs it, we could as well remove it > :) > >>  * Use the request's resource path as a final filter when dumping the >> result ? 2011/9/19 Carsten Ziege

Re: SLING-2191 - multiple OptingServlets with same registration parameters don't work

2011-08-22 Thread Vidar Ramdal
2011/8/22 Bertrand Delacretaz : > Hi, > > I've been looking at SLING-2191 - it looks like if several > OptingServlets have the exact same registration parameters, only one > is actually used. > > In Reto's example there we have two servlets registered with > >    @Property(name="sling.servlet.resou

Re: LDAP Resource Provider

2011-08-12 Thread Vidar Ramdal
> 2011/8/12 Felix Meschberger : >> This would probably benefit from the ResourceProviderFactory approach >> which are called to create the ResourceProvider using the provided user >> credentials ... 2011/8/12 Vidar Ramdal : > You mean binding to the LDAP server with cre

Re: LDAP Resource Provider

2011-08-12 Thread Vidar Ramdal
2011/8/12 Felix Meschberger : > Technically +1 > > Looks interesting. I would assume the LDAP bind is currently anonymous ? Well, no. The bind DN/password is configured per LdapResourceProvider instance. > This would probably benefit from the ResourceProviderFactory approach > which are called to

Re: [VOTE] New Module Releases

2011-08-11 Thread Vidar Ramdal
2011/8/10 Carsten Ziegeler : > Hi, > > I think it's time for some releases - some of them are long overdue > while others fix serious bugs. > > This vote is about > > Apache Sling API 2.2.2 > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310710&version=12315961 > > Apache Sling

LDAP Resource Provider

2011-08-10 Thread Vidar Ramdal
Hi, I have been working on an LDAP web client, and found that it could be a nice thing if Sling supported LDAP directories. So I wrote up a rudimentary LDAP resource provider, which basically serves up an LDAP directory as a Sling resource tree. The first objectClass value of an LDAP entry is use

Re: Sling Authentication

2011-06-10 Thread Vidar Ramdal
2011/6/10 David G. : > Vidar, > > Hrm - i think i misspoke. > > I am trying to figure out the mechanics of > Authentication/De-Authentication (Sign-In/Sign-Out) for web apps using > Sling. > > Essentially I want to create two entry points, one that Authenticates > the user to my web app (sign-in) a

Re: Sling Authentication

2011-06-09 Thread Vidar Ramdal
2011/6/9 David G. : > I am writing a custom Sling Authentication Handler and am having > trouble understanding where the actual "authentication" to sling takes > place. > > Currently my Authentication Handler validates credentials against a > third party system, creates a user in JCR as necessary,

Separating MapEntries from JcrResourceResolver

2011-05-03 Thread Vidar Ramdal
The o.a.s.jcr.resource.internal.JcrResourceResolverFactoryImpl relies on a set of MapEntries to map URLs to paths. The current implementation of MapEntries reads the mapping specifications from /etc/map on initialization, and reloads the entire map when it receives a JCR event. In some scenarios i

Re: Welcome new committer Carl Hall

2011-03-01 Thread Vidar Ramdal
On Sat, Feb 26, 2011 at 5:42 PM, Felix Meschberger wrote: > Hi all, > > I want to let you know that the Apache Sling PMC decided to invite Carl > Hall as a committer to the Apache Sling project based on his sustained > support and work on Sling; an invitation which Carl accepted. Thanks. > > Pleas

Re: [VOTE] Release Apache Sling Scripting JavaScript 2.0.12

2011-02-21 Thread Vidar Ramdal
On Sun, Feb 20, 2011 at 9:34 PM, Felix Meschberger wrote: > Hi all > > Here is the Apache Sling Scripting JavaScript 2.0.12 release. This fixes > one major issue with respect to running the same script concurrently > (SLING-1972). > > The two fixes included in this release: > https://issues.apache

Re: [VOTE] Release JCR Resource 2.0.10 and Engine 2.2.2

2011-02-21 Thread Vidar Ramdal
On Mon, Feb 21, 2011 at 8:15 AM, Carsten Ziegeler wrote: > Hi, > > in order to have a nicer version number for the Engine > moduleehm...to fix some annoying bugs wrt the web console, this is > another vote for SLING-6. It contains two fixes for > > - Apache Sling JCR Resource 2.0.10 > https://

Re: [VOTE] Release Apache Sling Commons Testing 2.0.8

2011-02-15 Thread Vidar Ramdal
On Tue, Feb 15, 2011 at 3:24 AM, Justin Edelson wrote: > Hi, > We solved 1 issue in this release: > > https://issues.apache.org/jira/browse/SLING/fixforversion/12315350 > > Staging repository: > https://repository.apache.org/content/repositories/orgapachesling-004/ > > You can use this UNIX script

Re: [VOTE] Release Apache Sling Launchpad API 1.0.0, Launchpad Installer 1.0.0 Launchpad Base 2.3.0, Maven Launchpad Plugin 2.0.10

2011-02-15 Thread Vidar Ramdal
On Tue, Feb 15, 2011 at 3:17 AM, Justin Edelson wrote: > Hi, > We solved 13 issues in this release: > > https://issues.apache.org/jira/browse/SLING/fixforversion/12316173 > https://issues.apache.org/jira/browse/SLING/fixforversion/12316174 > https://issues.apache.org/jira/browse/SLING/fixforversio

Re: [POST servlet] Patching multi-value properties

2011-01-31 Thread Vidar Ramdal
On Mon, Jan 31, 2011 at 2:19 PM, Alexander Klimetschek wrote: > Hi again, > > could I assume silent agreement to this feature? ;-) No. I agree loudly :) -- Vidar S. Ramdal - http://www.idium.no Sommerrogata 13-15, N-0255 Oslo, Norway + 47 22 00 84 00 Quando omni flunkus moritatus!

Re: [VOTE] New releases for SLING-6

2011-01-26 Thread Vidar Ramdal
On Mon, Jan 24, 2011 at 1:10 PM, Carsten Ziegeler wrote: > Hi, > > this is another set of new releases for SLING-6. With this we're through > except from launchpad! > > This vote is about the release of: > > - Apache Sling JCR Resource 2.0.8 [1] > - Apache Sling Engine 2.2.0 [2] > - Apache Sling B

Re: Mass-upgrading bundles

2011-01-21 Thread Vidar Ramdal
mising! > > [1] http://karaf.apache.org/ > [2] http://servicemix.apache.org/home.html > [3] http://karaf.apache.org/46-provisioning.html > > -- Mike > > > -- > > mike moulton | meltmedia > > m...@meltmedia.com > w | 602.648.6810 > c | 602.432.2568 > @mmo

Re: Mass-upgrading bundles

2011-01-20 Thread Vidar Ramdal
> On Thu, Jan 20, 2011 at 4:11 PM, Vidar Ramdal wrote: >> I have been thinking about an easier way to upgrade our application, >> which now consists of something like 100 bundles. We run on multiple >> servers, and upgrading them bundle-by-bundle is really tedious. >

Mass-upgrading bundles

2011-01-20 Thread Vidar Ramdal
I have been thinking about an easier way to upgrade our application, which now consists of something like 100 bundles. We run on multiple servers, and upgrading them bundle-by-bundle is really tedious. I know I can update bundles directly from an OSGi repository, via the web console at http://loca

Re: Sling sometimes return 404 on all requests after startup

2010-11-30 Thread Vidar Ramdal (Kolibri)
> On Tue, Nov 30, 2010 at 1:20 PM, Vidar Ramdal wrote: >>>... There is also a large number of lines saying *INFO* [SCR Component >>> Actor] org.apache.sling.servlets.resolver >>> [org.apache.sling.servlets.resolver.SlingServletResolver] Dependency >>> not

Re: Sling sometimes return 404 on all requests after startup

2010-11-30 Thread Vidar Ramdal
On Tue, Nov 30, 2010 at 12:00 PM, Vidar Ramdal wrote: > Hi, we're having a problem with our Sling-based app. On about 50% of > the cases, the app returns 404 on all requests immediately after > startup. > A random number of restarts usually solves the problem, with the app >

Sling sometimes return 404 on all requests after startup

2010-11-30 Thread Vidar Ramdal
Hi, we're having a problem with our Sling-based app. On about 50% of the cases, the app returns 404 on all requests immediately after startup. A random number of restarts usually solves the problem, with the app responding properly again. In the startup log I see two lines saying "*INFO* [Jetty HT

Re: Welcome new committer Michael Duerig

2010-11-30 Thread Vidar Ramdal (Kolibri)
On Tue, Nov 30, 2010 at 10:46 AM, Felix Meschberger wrote: > Hi all, > > I want to let you know that the Apache Sling PMC decided to invite > Michael Duerig as a committer to the Apache Sling project based on his > work on adding Scala scripting to Sling; an invitation which Michael > accepted. Th

Re: Leverage new ASF CMS ?

2010-11-09 Thread Vidar Ramdal
On Tue, Nov 9, 2010 at 3:19 PM, Felix Meschberger wrote: > Hi all, > > We currently use Confluence to maintain our site. At the time this tool > offered IMHO the best cost-value tradeoff between ease-of-use (for those > of us not born with the APT gene) and functionality. > > Last week the fabulou

Re: SlingPostServletClient, helper class?

2010-09-28 Thread Vidar Ramdal
On Tue, Sep 28, 2010 at 2:44 PM, Clemens Wyss wrote: > Do we somewhere in the sling-repo/sources have a helper class for posting > data to Sling(PostServlet)? > > Asked the other way round: > given a legacy database with lots of data, how would you inject > (export/import) this data into Sling/J

Re: "Node added" event type filter applies to parent node

2010-09-27 Thread Vidar Ramdal
>> Vidar Ramdal  wrote >>> I'm adding nodes to a parent node. The parent node has >>> nt:primaryType=sling:OrderedFolder, while the child node I'm adding >>> has nt:primaryType=slingevent:Event. >>> >>> Now, I have an event l

Re: "Node added" event type filter applies to parent node

2010-09-27 Thread Vidar Ramdal
> Vidar Ramdal  wrote >> I'm adding nodes to a parent node. The parent node has >> nt:primaryType=sling:OrderedFolder, while the child node I'm adding >> has nt:primaryType=slingevent:Event. >> >> Now, I have an event listener set up to receive NODE_ADD

Re: Welcome Mike Mueller as a new member of the Sling PMC

2010-09-20 Thread Vidar Ramdal
On Mon, Sep 20, 2010 at 8:07 PM, Felix Meschberger wrote: > Hi all, > > It is with utmost pleasure that I announce that the Apache Sling PMC > recently voted to invite Mike Müller as a new PMC member and he accepted. > > Mike has been doing and is continuing to do a great job on all fronts > of Sl

Re: [VOTE] Release Commons Testing 2.0.6, OSGi Installer 3.0.0, JCR Installer 3.0.0, and File Installer 1.0.0

2010-09-17 Thread Vidar Ramdal
On Thu, Sep 16, 2010 at 6:23 PM, Bertrand Delacretaz wrote: > On Thu, Sep 16, 2010 at 5:27 PM, Vidar Ramdal wrote: >>... >> >>                          CHECK S

Re: Welcome Clemens Wyss

2010-09-17 Thread Vidar Ramdal
On Fri, Sep 17, 2010 at 9:06 AM, Clemens Wyss wrote: > A few words about myself (feel free to skip ;-) ): > I (aged 42, married and father of 3 children) live in > Switzerland where I studied information technologies at > the ETH Zurich quite a long time ago. > I then worked for approx 4 years wit

Re: [VOTE] Release Commons Testing 2.0.6, OSGi Installer 3.0.0, JCR Installer 3.0.0, and File Installer 1.0.0

2010-09-16 Thread Vidar Ramdal
On Thu, Sep 16, 2010 at 9:48 AM, Carsten Ziegeler wrote: > Hi, > > as announced it's time for some more releases :) > > Apart from our first releases of > OSGi Installer 3.0.0 > JCR Installer 3.0.0 > File Installer 1.0.0 > > I've added Commons Testing 2.0.6 (which is a dep of jcr installer) > http

Re: Releasing installer bundles?

2010-09-15 Thread Vidar Ramdal
On Tue, Sep 14, 2010 at 6:46 PM, Carsten Ziegeler wrote: > I think the osgi installer is now ready for a release, the api looks now > fine to me and the implementation now finally seems to pass all our > integration tests. In addition I tried the latest code within our > product and couldn't find

Re: [VOTE] Release Apache Sling JCR API, JCR Base, JCR Content Loader, and Jackrabbit Server 2.1.0

2010-09-07 Thread Vidar Ramdal
On Mon, Sep 6, 2010 at 5:10 PM, Justin Edelson wrote: > We solved a total of 33 issues in these releases: > > JCR API - 1 issue: > https://issues.apache.org/jira/browse/SLING/fixforversion/12314564 > > JCR Base - 6 issues: > https://issues.apache.org/jira/browse/SLING/fixforversion/12314768 > > JC

Re: [DISCUSS] ResourceResolver with multiple resource providers bound to the same path?

2010-09-07 Thread Vidar Ramdal
; > On Sep 6, 2010, at 6:29 PM, Eric Norman wrote: > >> Hi Vidar, >> >> My proposed patch affects only the BundleResourceProvider so I don't think >> it would affect the scenario you have described. >> >> Regards, >> Eric >> >> On

Re: [DISCUSS] ResourceResolver with multiple resource providers bound to the same path?

2010-09-06 Thread Vidar Ramdal
> On 06.09.2010 19:48, Eric Norman wrote: >> Hi All, >> >> This seems kind of similar to* >> SLING-1672 >> * which has been marked as resolved.  However, with the latest trunk code, I >> am still running into some difficulties when multiple bundles

Re: outstanding Sling 6 issues

2010-09-06 Thread Vidar Ramdal
On Fri, Sep 3, 2010 at 9:56 PM, Felix Meschberger wrote: > Hi, > > On 02.09.2010 14:07, Carsten Ziegeler wrote: >> Justin Edelson  wrote >>> Servlets >>> * SLING-1069 - Servlets registered with default resource type responds >>> to all extensions >>> * SLING-892 - Allow servlets to be regsitered w

Re: Exception in finalizer: org.apache.felix.http.jetty header full: java.lang.NullPointerException

2010-09-02 Thread Vidar Ramdal
> On 31.08.2010 14:00, Vidar Ramdal wrote: >> We are currently experiencing memory leaks in our Sling-based app, and >> one possible suspect is that some HttpRequests are not being garbage >> collected. >> The log shows a good deal of these lines: >> *WARN* [Final

Exception in finalizer: org.apache.felix.http.jetty header full: java.lang.NullPointerException

2010-08-31 Thread Vidar Ramdal
We are currently experiencing memory leaks in our Sling-based app, and one possible suspect is that some HttpRequests are not being garbage collected. The log shows a good deal of these lines: *WARN* [Finalizer] org.apache.felix.http.jetty header full: java.lang.NullPointerException 'Header full'

Re: Welcome Justin Edelson as a new member of the Sling PMC

2010-08-27 Thread Vidar Ramdal
On Fri, Aug 27, 2010 at 12:49 PM, Felix Meschberger wrote: > Hi all, > > It is with utmost pleasure that I announce that the Apache Sling PMC > recently voted to invite Justin Edelson as a new PMC member and he > accepted. > > Justin has been doing and is continuing to do a great job on all fronts

Re: [VOTE] Release Sling API 2.1.0

2010-08-19 Thread Vidar Ramdal
On Wed, Aug 18, 2010 at 6:28 PM, Felix Meschberger wrote: > Hi, > > At long last here it is: The Sling API 2.1.0 release vote. > > We solved 25 issues in this release: > https://issues.apache.org/jira/browse/SLING/fixforversion/12314252 > > Staging repository: > https://repository.apache.org/conte

Re: [VOTE] Grant Jean Christophe write access to the docs [was Re: Scheduler service problem]

2010-08-06 Thread Vidar Ramdal
On Fri, Aug 6, 2010 at 8:08 AM, Carsten Ziegeler wrote: > Hi, > > I would like to call a vote to give Jean Christophe write access to our > documentation. He is volunteering to help in an area where we definitly > need help and he also did some valuable docs in the past (together with me). > > So

Re: [VOTE] Grant Alison write access to the docs

2010-08-06 Thread Vidar Ramdal
On Fri, Aug 6, 2010 at 8:21 AM, Carsten Ziegeler wrote: > Hi, > > I would like to call another vote for a new documentation writer: Alison :) > > Like Jean Christophe she is volunteering to help us and has already made > suggestions for improvements and helped with the docs. > > So please cast you

Unified authentication/authorization in Sling? [WAS: Preventing Listing of child nodes of a resource.]

2010-07-07 Thread Vidar Ramdal
On Thu, Jul 1, 2010 at 1:52 PM, Ian Boston wrote: > Hi, > I want to be able to stop the listing of all child nodes at specific urls, > but still allow direct access to items in a subtree. Not really related to Ian's post at all, but it got me thinking: Sling currently implements a way authentica

Re: Preventing Listing of child nodes of a resource.

2010-07-02 Thread Vidar Ramdal
) >>> >>> I have lots, but dont know which is going to be best. >>> eg >>> Use a ServletFilter to filter all access to /_user >>> Patch/Configure webdav to only PROPFIND etc /_user/ieb if ieb is the logged >>> in user. >>> [...]

Re: Preventing Listing of child nodes of a resource.

2010-07-01 Thread Vidar Ramdal
On Thu, Jul 1, 2010 at 1:52 PM, Ian Boston wrote: > Hi, > I want to be able to stop the listing of all child nodes at specific urls, > but still allow direct access to items in a subtree. > Any ideas how this is best done in Sling? (and webdav) > > I have lots, but dont know which is going to be

Re: Content loading on Jackrabbit 1.6.2

2010-06-09 Thread Vidar Ramdal
On Tue, Jun 8, 2010 at 8:18 PM, Vidar Ramdal wrote: > We're running a patched version of the Jackrabbit Server bundle > (o.a.s.jcr.jr.server) 2.0.6, where we have upgraded the Jackrabbit > bundles to 1.6.2.This in order to get a fix for the nasty JCR-2554 > bug, which was crashin

Content loading on Jackrabbit 1.6.2

2010-06-08 Thread Vidar Ramdal
We're running a patched version of the Jackrabbit Server bundle (o.a.s.jcr.jr.server) 2.0.6, where we have upgraded the Jackrabbit bundles to 1.6.2.This in order to get a fix for the nasty JCR-2554 bug, which was crashing our application daily. Now we have an issue with initial loading of files: 0

Re: GSoC project

2010-05-26 Thread Vidar Ramdal
On Wed, May 26, 2010 at 12:35 PM, Federico Paparoni wrote: > Hi all, > > In this period I explored Apache Sling features and now I'm starting with > GSoC project. > There is a blog where I will write every step done with project ( > http://davidgsoc.wordpress.com/). When GSoC will end, these posts

Re: Unable to add factory configs through config admin web console

2010-05-19 Thread Vidar Ramdal
>>> On 19.05.2010 10:31, Vidar Ramdal wrote: >>>> I find myself unable to add factory configurations through the web >>>> console. Can anyone else confirm this? >>>> >>>> To reproduce: >>>> 1. Go to http://localhost:8080/system

Re: Unable to add factory configs through config admin web console

2010-05-19 Thread Vidar Ramdal
On Wed, May 19, 2010 at 11:18 AM, Felix Meschberger wrote: > Hi, > > On 19.05.2010 10:31, Vidar Ramdal wrote: >> Hi; >> >> I find myself unable to add factory configurations through the web >> console. Can anyone else confirm this? >> >> To reprod

Unable to add factory configs through config admin web console

2010-05-19 Thread Vidar Ramdal
Hi; I find myself unable to add factory configurations through the web console. Can anyone else confirm this? To reproduce: 1. Go to http://localhost:8080/system/console/configMgr 2. Find the Apache Sling Logger Configuration factory configuration, and click the "+" next to it 3. Fill in the form

Re: Application packaging

2010-05-11 Thread Vidar Ramdal
On Tue, May 11, 2010 at 4:30 PM, Federico Paparoni wrote: > Hi all, > > I read the documentation available on the Sling website and tested the basic > examples. > Everything works, but now I want to create something like espblog, to better > examine Sling features. > I created a maven project and

Re: Caching Support Request Filter

2010-05-06 Thread Vidar Ramdal
On Wed, Apr 28, 2010 at 5:23 PM, Felix Meschberger wrote: > Now, taken a step further: do we really want to build a cache into > Sling ? Shouldn't we rather rely on some existing caching proxy for > this, like Squid or mod_cache/mod_proxy ? Thinking about this a bit more; instead of building a ca

Re: Caching Support Request Filter

2010-04-28 Thread Vidar Ramdal
On Wed, Apr 28, 2010 at 5:23 PM, Felix Meschberger wrote: > Hi, > > Wow ! > > I didn't expect to have this discussion get in this direction, but excellent ! > > For illustration what I originally had in mind, I have commited my > prototype in [1]. > > Please note, that this *only* is about setting

Re: Caching Support Request Filter

2010-04-28 Thread Vidar Ramdal
On Wed, Apr 28, 2010 at 1:13 PM, Felix Meschberger wrote: > Hi all, > > I have been resonating with a collegue about a request level Filter > for Sling to support caching. > > The idea (and partly implemented by a prototype) is to have the > request filter setup default caching behaviour of the re

Re: multiple websitest on same sling instance

2010-04-27 Thread Vidar Ramdal
t; Whith this some questions arise for us: >>>>> >>>>> 1. does somebody have a similar requirement of running multiple websites >>>>> on the same sling instance? Somebody like to share experience? >>>>> >>>>> 2. is there another poss

Re: Set of released Sling bundles working together?

2010-04-22 Thread Vidar Ramdal
> On Thu, Apr 22, 2010 at 6:27 PM, Bertrand Delacretaz > wrote: >> Hi Vidar, >> >> On Thu, Apr 15, 2010 at 11:32 AM, Vidar Ramdal wrote: >>> ...does anyone know a full set of recently released Sling bundles >>> that are known to work together?...

Re: Set of released Sling bundles working together?

2010-04-22 Thread Vidar Ramdal
On Thu, Apr 22, 2010 at 9:38 PM, Justin Edelson wrote: > Two comments: > > o.a.s.jcr.webconsole probably doesn't deserve to be in the default > bundle list. I haven't been able to put nearly enough time into this to > make it useful. > > You don't need tika unless you're running Jackrabbit 2, but

Re: Set of released Sling bundles working together?

2010-04-22 Thread Vidar Ramdal
On Thu, Apr 22, 2010 at 6:27 PM, Bertrand Delacretaz wrote: > Hi Vidar, > > On Thu, Apr 15, 2010 at 11:32 AM, Vidar Ramdal wrote: >> ...does anyone know a full set of recently released Sling bundles >> that are known to work together?... > > I'll try to break t

Re: [VOTE] Release Apache Sling Launchpad Maven Plugin 2.0.6

2010-04-21 Thread Vidar Ramdal
On Thu, Apr 22, 2010 at 1:54 AM, Ian Boston wrote: > -1, > I get a problem when downloading Me too: Vidars-MacBook:sling-clean vramdal$ sh check_staged_release.sh 003 ~/Desktop/sling-staging

Re: [VOTE] Release Apache Sling Launchpad Base 2.2.0

2010-04-21 Thread Vidar Ramdal
On Wed, Apr 21, 2010 at 4:16 PM, Justin Edelson wrote: > We solved 14 issues in this release: > https://issues.apache.org/jira/browse/SLING/fixforversion/12314411 > > There are still one outstanding issue: > https://issues.apache.org/jira/browse/SLING/fixforversion/12314956 > > Staging repository:

Re: [VOTE] Release Apache Sling Commons OSGi 2.0.[VOTE] Release Apache Sling Commons OSGi 2.0.6

2010-04-21 Thread Vidar Ramdal
On Wed, Apr 21, 2010 at 4:05 PM, Justin Edelson wrote: > We solved 2 issues in this release: > https://issues.apache.org/jira/browse/SLING/fixforversion/12314516 > > Staging repository: > https://repository.apache.org/content/repositories/orgapachesling-001/ > > You can use this UNIX script to dow

Fwd: Trouble matching Felix bundles in launchpad

2010-04-21 Thread Vidar Ramdal
> On 4/21/10 11:14 AM, Vidar Ramdal wrote: >> [...] >> Also, the values of the sling.properties is overwritten on each >> startup, by values from the launchpad base bundle. Is there an easy >> way to avoid that, without hacking launchpad base? On Wed, Apr 21, 2010

Re: Trouble matching Felix bundles in launchpad

2010-04-21 Thread Vidar Ramdal
> > Justin > > On 4/21/10 10:15 AM, Vidar Ramdal wrote: >> I'm trying to set up my own launchpad build, using maven-launchpad-plugin. >> >> I'm having trouble getting all Felix components to play nice together. >> All components fail to start. The

Trouble matching Felix bundles in launchpad

2010-04-21 Thread Vidar Ramdal
I'm trying to set up my own launchpad build, using maven-launchpad-plugin. I'm having trouble getting all Felix components to play nice together. All components fail to start. The log shows: 21.04.2010 15:50:39.094 *INFO* [FelixDispatchQueue] org.apache.felix.metatype BundleEvent STARTED 21.04.20

Set of released Sling bundles working together?

2010-04-15 Thread Vidar Ramdal
The current Sling release is quite old (May 2009), and my project currently has a number of dependencies to Sling SNAPSHOT bundles (most of them are old versions), which I want to get rid of. I have tried two approaches for this: - Checking out and running the Sling Launchpad. This, of course, giv

ANN: Sling-based Idium Web released

2010-04-06 Thread Vidar Ramdal
Just thought you would like to know that a new Sling-based product has been released. Added some lines to the wiki: http://cwiki.apache.org/SLING/who-is-using-sling-.html -- Vidar S. Ramdal - http://www.idium.no Sommerrogata 13-15, N-0255 Oslo, Norway + 47 22 00 84 00 / +47 21 531941, ext 2070

Re: [RT] Using strong patterned prefixes (SPP) for exception class names

2010-04-01 Thread Vidar Ramdal
On Thu, Apr 1, 2010 at 9:12 AM, Bertrand Delacretaz wrote: > Hi, > > I've been thinking about the information conveyed by exceptions, and I > think we could do much better with naming them. > > Using the unchecked SlingException as a base is certainly a good idea, > but stack traces often get lost

Re: Rewrite MapEntries to OSGI EventHandler

2010-03-24 Thread Vidar Ramdal
>> Vidar Ramdal  wrote >>> Currently o.a.s.jcr.resource.internal.helper.MapEntries (which >>> maintain domain mappings) is a javax.jcr.observation.EventListener. >>> When an event occur somewhere in the /etc/map tree, the MapEntries map >>> is update

Rewrite MapEntries to OSGI EventHandler

2010-03-24 Thread Vidar Ramdal
Currently o.a.s.jcr.resource.internal.helper.MapEntries (which maintain domain mappings) is a javax.jcr.observation.EventListener. When an event occur somewhere in the /etc/map tree, the MapEntries map is updated. In my project I need to provide domain mappings under /etc/map as non-JCR resources.

Re: Creating a Sling Utilities Bundle (was: [jira] Updated: (SLING-1336) Let SlingPostServlet return JSON)

2010-03-10 Thread Vidar Ramdal
On Wed, Mar 10, 2010 at 7:55 AM, Felix Meschberger wrote: > Hi all, > > We currently have a multi-faceted issue: We have the Sling API bundle > containing a number of utility classes (HtmlResponse, ResourceUtil). In > addition there are two utility classes in the Engine bundle > (RequestUtil, Reso

Edit permisson for SLINGxSITE

2010-03-10 Thread Vidar Ramdal
Hi, I'd like to update the doc for SlingPostServlet [1] to reflect SLING-1336 [2], but it seems I don't have edit access to that wiki space. Can someone grant me that permission, please? [1] http://cwiki.apache.org/confluence/display/SLINGxSITE/Manipulating+Content+-+The+SlingPostServlet+%28serv

Re: AuthenticationPlugin with external users

2010-03-09 Thread Vidar Ramdal
On Tue, Mar 9, 2010 at 8:30 PM, D. Stuart Freeman wrote: > I've got an AuthenticationHandler and I'd like to allow users to log in > without doing any further registration.  My understanding is that my > AuthenticationPlugin will have to create accounts in JCR for users if > they don't exist alrea

Re: [RT] ResourceTypeProvider

2010-03-09 Thread Vidar Ramdal
On Tue, Mar 9, 2010 at 10:06 AM, Carsten Ziegeler wrote: > Bertrand Delacretaz  wrote >> On Tue, Mar 9, 2010 at 9:34 AM, Carsten Ziegeler >> wrote: >>> Is everyone fine if we add the following interface to the API? >>> >>> interface ResourceDecorator { >>>    Resource decorade(Resource) >>>    R

Re: [RT] ResourceTypeProvider

2010-03-08 Thread Vidar Ramdal
On Mon, Mar 8, 2010 at 4:57 PM, Carsten Ziegeler wrote: > Vidar Ramdal  wrote >> On Mon, Mar 8, 2010 at 3:32 PM, Carsten Ziegeler >> wrote: >>> Justin Edelson  wrote >>>> Hi all, >>>> I'm afraid I'm missing something here. With t

Re: [RT] ResourceTypeProvider

2010-03-08 Thread Vidar Ramdal
On Mon, Mar 8, 2010 at 3:32 PM, Carsten Ziegeler wrote: > Justin Edelson  wrote >> Hi all, >> I'm afraid I'm missing something here. With this new interface, who is >> responsible for setting the resource type and super type? > Like before, it's the task of the resource resolver factory. However,

Re: [VOTE] Remove JcrResourceTypeProvider interface

2010-03-08 Thread Vidar Ramdal
On Mon, Mar 8, 2010 at 3:12 PM, Carsten Ziegeler wrote: > Hi, > > in order to finish our recent discussions about the > JcrResourceTypeProvider and alternatives, I call for a vote to remove > the current JcrResourceTypeProvider interface completly. > > As discussed we'll add a new functionality, t

Re: Let SlingPostServlet return JSON (WAS: Re: Client JSon Calls)

2010-03-08 Thread Vidar Ramdal
>>> On 08.03.2010 09:08, Vidar Ramdal wrote: >>>> On Thu, Jan 28, 2010 at 3:10 PM, Vidar Ramdal wrote: >>>>> Finally, we implement the logic for choosing either sendHtml() or >>>>> sendJson(), based on: >>>>> 1. The format of t

Re: Let SlingPostServlet return JSON (WAS: Re: Client JSon Calls)

2010-03-08 Thread Vidar Ramdal
On Mon, Mar 8, 2010 at 9:44 AM, Felix Meschberger wrote: > Hi, > > On 08.03.2010 09:08, Vidar Ramdal wrote: >> On Thu, Jan 28, 2010 at 3:10 PM, Vidar Ramdal wrote: >>> Finally, we implement the logic for choosing either sendHtml() or >>> sendJson(), based on: >

Re: Let SlingPostServlet return JSON (WAS: Re: Client JSon Calls)

2010-03-08 Thread Vidar Ramdal
On Thu, Jan 28, 2010 at 3:10 PM, Vidar Ramdal wrote: > Finally, we implement the logic for choosing either sendHtml() or > sendJson(), based on: > 1. The format of the posted data - if JSON is posted (SLING-1172), > return JSON, otherwise return HTML > 2. The Accept HTTP hea

Re: [RT] ResourceTypeProvider

2010-03-05 Thread Vidar Ramdal
>> On Fri, Mar 5, 2010 at 11:42 AM, Carsten Ziegeler >> wrote: >>> ...We could make a general approach like (I couldn't make up could names >>> for the interface and methods...) >>> >>> interface ResourceProcessor { >>> >>>   Resource process(Resource); >>> } >>> >>> so basically this works like

Re: Adding a new @ hint to post servlet

2010-02-23 Thread Vidar Ramdal
On Tue, Feb 23, 2010 at 3:51 PM, Justin Edelson wrote: > I'm having a problem which is primarily a UI issue, but I think would be > best addressed in the post servlet. Basically, I have a form with > multiple form fields for the same property and some of those are blank, > so my post parameters en

Re: JcrModifiablePropertyMap.save() makes atomic operations difficult

2010-02-18 Thread Vidar Ramdal
On Mon, Feb 15, 2010 at 1:41 PM, Vidar Ramdal wrote: > If we all agree that this is a viable path forward, I'll file a JIRA for it. As there were no objections so far, I created SLING-1391 to track this. https://issues.apache.org/jira/browse/SLING-1391 -- Vidar S. Ramdal

Re: Welcome Eric Norman

2010-02-17 Thread Vidar Ramdal
On Wed, Feb 17, 2010 at 4:20 PM, Felix Meschberger wrote: > Please join me in welcoming Eric Norman as a new committer ! Good to have you on board, Eric. Welcome! -- Vidar S. Ramdal - http://www.idium.no Sommerrogata 13-15, N-0255 Oslo, Norway + 47 22 00 84 00 / +47 21 531941, ext 2070

Re: [VOTE] Release several jcr bundles

2010-02-16 Thread Vidar Ramdal
On Sat, Feb 13, 2010 at 9:54 PM, Carsten Ziegeler wrote: > as discussed in the last days, this vote is for the following releases: > > jcr WebDav 2.0.8 > https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&pid=12310710&fixfor=12314

Re: JcrModifiablePropertyMap.save() makes atomic operations difficult

2010-02-15 Thread Vidar Ramdal
On Fri, Feb 12, 2010 at 10:32 PM, Felix Meschberger wrote: > Sorry to chime in late... > > I see the issues of Vidar and these are caused by the > PersistableValueMap introducing its own transient space ontop of the JCR > transient space. > > When the PersistableValueMap transient space is saved (

  1   2   >