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

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: [VOTE] Moving SLING-2396 to trunk

2012-06-12 Thread Vidar Ramdal
2012/6/10 Carsten Ziegeler cziege...@apache.org: 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

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 - at least slowly, piece by

Re: The beast that is JcrResourceResolverFactoryImpl

2012-02-02 Thread Vidar Ramdal
2012/2/2 Vidar Ramdal vidar.ram...@webstep.no: 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

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

Re: The beast that is JcrResourceResolverFactoryImpl

2012-02-01 Thread Vidar Ramdal
2012/2/1 Vidar Ramdal vidar.ram...@webstep.no: 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

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

2011-11-24 Thread Vidar Ramdal
2011/11/23 Alexander Klimetschek aklim...@adobe.com: On 23.11.11 12:57, Vidar Ramdal vidar.ram...@webstep.no wrote: 2011/11/23 Tobias Bocanegra tri...@adobe.com: I would rather put effort in creating connectors in jackrabbit. So having a LDAP, noSQL, etc. mapped into JCR brings much more value

Re: [RT] Improving access control

2011-11-23 Thread Vidar Ramdal
2011/11/23 Mike Müller mike...@mysign.ch: 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

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 vidar.ram...@webstep.no wrote: 2011/11/23 Carsten Ziegeler cziege...@apache.org: 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

Re: [RT] Improving access control

2011-11-22 Thread Vidar Ramdal
2011/11/22 Bertrand Delacretaz bdelacre...@apache.org: On Tue, Nov 22, 2011 at 1:45 PM, Alexander Klimetschek aklim...@adobe.com 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

Re: [RT] Improving access control

2011-11-22 Thread Vidar Ramdal
2011/11/22 Carsten Ziegeler cziege...@apache.org: 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

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

2011-11-11 Thread Vidar Ramdal
2011/11/10 Justin Edelson jus...@justinedelson.com: 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

Re: Removing the query servlet

2011-09-19 Thread Vidar Ramdal
2011/9/19 Felix Meschberger fmesc...@adobe.com: 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

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

2011-08-22 Thread Vidar Ramdal
2011/8/22 Bertrand Delacretaz bdelacre...@apache.org: 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    

Re: LDAP Resource Provider

2011-08-12 Thread Vidar Ramdal
2011/8/12 Felix Meschberger fmesc...@adobe.com: 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

Re: LDAP Resource Provider

2011-08-12 Thread Vidar Ramdal
2011/8/12 Felix Meschberger fmesc...@adobe.com: 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 vidar.ram...@webstep.no: You mean binding to the LDAP server

Re: [VOTE] New Module Releases

2011-08-11 Thread Vidar Ramdal
2011/8/10 Carsten Ziegeler cziege...@apache.org: 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=12310710version=12315961

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

Re: Sling Authentication

2011-06-09 Thread Vidar Ramdal
2011/6/9 David G. davidjgonza...@gmail.com: 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

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

Re: Welcome new committer Carl Hall

2011-03-01 Thread Vidar Ramdal
On Sat, Feb 26, 2011 at 5:42 PM, Felix Meschberger fmesc...@adobe.com 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.

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 cziege...@apache.org 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

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 fmesc...@adobe.com 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:

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 jus...@justinedelson.com 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

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 jus...@justinedelson.com 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

Re: [POST servlet] Patching multi-value properties

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

Re: [VOTE] New releases for SLING-6

2011-01-26 Thread Vidar Ramdal
On Mon, Jan 24, 2011 at 1:10 PM, Carsten Ziegeler cziege...@apache.org 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] -

Re: Mass-upgrading bundles

2011-01-21 Thread Vidar Ramdal
] 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 @mmoulton On Jan 20, 2011, at 8:11 AM, Vidar Ramdal wrote: I have been

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

Re: Mass-upgrading bundles

2011-01-20 Thread Vidar Ramdal
On Thu, Jan 20, 2011 at 4:11 PM, Vidar Ramdal vi...@idium.no 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. I know I can update

Re: Welcome new committer Michael Duerig

2010-11-30 Thread Vidar Ramdal (Kolibri)
On Tue, Nov 30, 2010 at 10:46 AM, Felix Meschberger fmesc...@gmail.com 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

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

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 vi...@idium.no 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 responding

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 vi...@idium.no 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 satisfied: servletContext Digging

Re: Leverage new ASF CMS ?

2010-11-09 Thread Vidar Ramdal
On Tue, Nov 9, 2010 at 3:19 PM, Felix Meschberger fmesc...@gmail.com 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

Re: SlingPostServletClient, helper class?

2010-09-28 Thread Vidar Ramdal
On Tue, Sep 28, 2010 at 2:44 PM, Clemens Wyss clemens...@mysign.ch 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

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_ADDED events with nodetype slingevent:Event. The event

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_ADDED events with nodetype slingevent:Event. The event

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

2010-09-21 Thread Vidar Ramdal
On Mon, Sep 20, 2010 at 8:07 PM, Felix Meschberger fmesc...@gmail.com 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

Re: Welcome Clemens Wyss

2010-09-17 Thread Vidar Ramdal
On Fri, Sep 17, 2010 at 9:06 AM, Clemens Wyss clemens...@mysign.ch 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

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 bdelacre...@apache.org wrote: On Thu, Sep 16, 2010 at 5:27 PM, Vidar Ramdal vi...@idium.no wrote: ...                          CHECK SIGNATURES AND DIGESTS

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 cziege...@apache.org 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

Re: Releasing installer bundles?

2010-09-15 Thread Vidar Ramdal
On Tue, Sep 14, 2010 at 6:46 PM, Carsten Ziegeler cziege...@apache.org 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

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 jus...@apache.org 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:

Re: outstanding Sling 6 issues

2010-09-06 Thread Vidar Ramdal
On Fri, Sep 3, 2010 at 9:56 PM, Felix Meschberger fmesc...@gmail.com 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

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-1672https://issues.apache.org/jira/browse/SLING-1672 * which has been marked as resolved.  However, with the latest trunk code, I am still running into some difficulties when multiple bundles are providing

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 fmesc...@gmail.com 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

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 fmesc...@gmail.com 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:

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 cziege...@apache.org 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

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 cziege...@apache.org 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

Re: Preventing Listing of child nodes of a resource.

2010-07-02 Thread Vidar Ramdal
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. [...] On 1 Jul 2010, at 14:19, Vidar Ramdal wrote: This would be fairly easy to implement using a custom AccessManager. But maybe

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 i...@tfd.co.uk 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

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 vi...@idium.no 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 crashing our

Re: GSoC project

2010-05-26 Thread Vidar Ramdal
On Wed, May 26, 2010 at 12:35 PM, Federico Paparoni federico.papar...@gmail.com 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

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: 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 fmesc...@gmail.com 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 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 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/console/configMgr 2. Find the Apache Sling Logger Configuration factory configuration

Re: Application packaging

2010-05-11 Thread Vidar Ramdal
On Tue, May 11, 2010 at 4:30 PM, Federico Paparoni federico.papar...@gmail.com 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

Re: Caching Support Request Filter

2010-04-28 Thread Vidar Ramdal
On Wed, Apr 28, 2010 at 1:13 PM, Felix Meschberger felix.meschber...@day.com 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

Re: multiple websitest on same sling instance

2010-04-27 Thread Vidar Ramdal
somebody have a similar requirement of running multiple websites on the same sling instance? Somebody like to share experience? 2. is there another possible (easier?) solution for our problem? 3. would this be a feature for sling in general? What do you think? Vidar Ramdal schrieb: Already

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 bdelacre...@apache.org wrote: Hi Vidar, On Thu, Apr 15, 2010 at 11:32 AM, Vidar Ramdal vi...@idium.no wrote: ...does anyone know a full set of recently released Sling bundles that are known to work together?... I'll try to break this loud

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 justinedel...@gmail.com 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

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 bdelacre...@apache.org wrote: Hi Vidar, On Thu, Apr 15, 2010 at 11:32 AM, Vidar Ramdal vi...@idium.no wrote: ...does anyone know a full set of recently released Sling bundles that are known to work together?... I'll try to break

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

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 log shows: 21.04.2010 15:50:39.094 *INFO

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 at 5:27 PM, Justin Edelson justinedel

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 justinedel...@gmail.com 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

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 justinedel...@gmail.com 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

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 i...@tfd.co.uk wrote: -1, I get a problem when downloading Me too: Vidars-MacBook:sling-clean vramdal$ sh check_staged_release.sh 003 ~/Desktop/sling-staging

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,

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 bdelacre...@apache.org 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

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

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 updated. In my project I need to provide domain mappings under

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]

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 fmesc...@gmail.com 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

Re: [RT] ResourceTypeProvider

2010-03-09 Thread Vidar Ramdal
On Tue, Mar 9, 2010 at 10:06 AM, Carsten Ziegeler cziege...@apache.org wrote: Bertrand Delacretaz  wrote On Tue, Mar 9, 2010 at 9:34 AM, Carsten Ziegeler cziege...@apache.org wrote: Is everyone fine if we add the following interface to the API? interface ResourceDecorator {    Resource

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 vi...@idium.no 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 header - if set

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 fmesc...@gmail.com wrote: Hi, On 08.03.2010 09:08, Vidar Ramdal wrote: On Thu, Jan 28, 2010 at 3:10 PM, Vidar Ramdal vi...@idium.no wrote: Finally, we implement the logic for choosing either sendHtml() or sendJson(), based on: 1. The format

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 vi...@idium.no 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

Re: [VOTE] Remove JcrResourceTypeProvider interface

2010-03-08 Thread Vidar Ramdal
On Mon, Mar 8, 2010 at 3:12 PM, Carsten Ziegeler cziege...@apache.org 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

Re: [RT] ResourceTypeProvider

2010-03-08 Thread Vidar Ramdal
On Mon, Mar 8, 2010 at 3:32 PM, Carsten Ziegeler cziege...@apache.org 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

Re: [RT] ResourceTypeProvider

2010-03-08 Thread Vidar Ramdal
On Mon, Mar 8, 2010 at 4:57 PM, Carsten Ziegeler cziege...@apache.org wrote: Vidar Ramdal  wrote On Mon, Mar 8, 2010 at 3:32 PM, Carsten Ziegeler cziege...@apache.org wrote: Justin Edelson  wrote Hi all, I'm afraid I'm missing something here. With this new interface, who is responsible

Re: [RT] ResourceTypeProvider

2010-03-05 Thread Vidar Ramdal
On Fri, Mar 5, 2010 at 11:42 AM, Carsten Ziegeler cziege...@apache.org 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 kind of a

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 justinedel...@gmail.com 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

Re: JcrModifiablePropertyMap.save() makes atomic operations difficult

2010-02-18 Thread Vidar Ramdal
On Mon, Feb 15, 2010 at 1:41 PM, Vidar Ramdal vi...@idium.no 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 vi

Re: Welcome Eric Norman

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

Re: [VOTE] Release several jcr bundles

2010-02-16 Thread Vidar Ramdal
On Sat, Feb 13, 2010 at 9:54 PM, Carsten Ziegeler cziege...@apache.org wrote: as discussed in the last days, this vote is for the following releases: jcr WebDav 2.0.8

Re: JcrModifiablePropertyMap.save() makes atomic operations difficult

2010-02-15 Thread Vidar Ramdal
On Fri, Feb 12, 2010 at 10:32 PM, Felix Meschberger fmesc...@gmail.com 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

Re: JcrModifiablePropertyMap.save() makes atomic operations difficult

2010-02-11 Thread Vidar Ramdal
On Thu, Feb 11, 2010 at 8:40 PM, Carsten Ziegeler cziege...@apache.org wrote: Vidar Ramdal wrote: JcrModifiablePropertyMap works by storing all changes in an internal cache. Upon save() the cached changes are written to the javax.jcr.Node, and the node is save()d. This makes sequences

Re: JcrModifiablePropertyMap.save() makes atomic operations difficult

2010-02-11 Thread Vidar Ramdal
On Thu, Feb 11, 2010 at 9:49 PM, Julian Sedding jsedd...@day.com wrote: As Carsten mentioned, it starts getting tricky when the write-capabilities of the Sling API are mixed with those of JCR. AFAIU the JcrModifiablePropertyMap is for convenience and thus optimized and limited for the use-case

Disabling default Jackrabbit users

2010-02-10 Thread Vidar Ramdal
I have implemented my own AccessManagerPlugin and LoginModulePlugin, and provide my own Authorizable objects. Now I'd like to disable the default Jackrabbit users (admin and anonymous) altogether, so that it would be impossible to login with them. The easiest way I've found so far, seems to be to

Registering an AccessManagerPlugin kills EventListeners

2010-01-31 Thread Vidar Ramdal
While researching why domain mappings weren't being updated [1], I discovered that when an AccessManagerPlugin becomes available, the AccessManagerFactoryTracker closes all JCR sessions that have been created so far [2]. This seems to kill off any existing event listeners. I'm not that into the

Re: Storing anonymous user data

2010-01-29 Thread Vidar Ramdal
On Fri, Jan 29, 2010 at 12:25 PM, Ben Short b...@benshort.co.uk wrote: I want to store data for anonymous users, such as the contents of a shopping cart. When the user comes to the site a script will look for a path contained in a cookie. If this cookie present then any 'add to basket' forms

Domain mappings are not updated

2010-01-29 Thread Vidar Ramdal
Our project is stuck with old versions of some Sling bundles for the time being, not having the nerve to update them just weeks before our release. We just discovered that domain mappings are not being picked up, that is, a restart is required before any changes under /etc/map are being

Re: Domain mappings are not updated

2010-01-29 Thread Vidar Ramdal
On Fri, Jan 29, 2010 at 5:37 PM, Vidar Ramdal vi...@idium.no wrote: [...] We just discovered that domain mappings are not being picked up, that is, a restart is required before any changes under /etc/map are being recognized by JcrResourceResolver. [...] Ah, never mind. I see now

Re: [RT] Extending the authentication bundle

2010-01-28 Thread Vidar Ramdal
On Thu, Jan 28, 2010 at 9:17 AM, Carsten Ziegeler cziege...@apache.org wrote: I think the new authentication bundle is a great step forward. However :) I think we should enhance it a little bit to support cookie/session based authentication. [...] WDYT? Two questions immediately comes to

Re: ESP and IntelliJ Idea

2010-01-28 Thread Vidar Ramdal
On Thu, Jan 28, 2010 at 11:08 AM, Ben Short b...@benshort.co.uk wrote: Does anyone know if there is a way to get Idea to auto complete when editing esp scripts? You can get autocompletion for either the Javascript parts OR the HTML parts of your ESP, but not both at the same time. You need to

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

2010-01-28 Thread Vidar Ramdal
On Wed, Jan 27, 2010 at 12:53 PM, Vidar Ramdal vi...@idium.no wrote: HtmlResponse is in the exported in o.a.s.api.servlets, so we probably can't mess around with it a lot, for backward compatibility. The HtmlResponse.send() method is public, but I guess it is intended for use only from

  1   2   >