AuthenticationSupport service missing

2014-11-11 Thread Geoff Capper
Hi All, I have had to rebuild my installation of Sling 6 which is installed as a war file on Tomcat, as the server crashed. I've got back to the stage where Sling is installed and running, and I can use the admin side of it to examine the installed bundles etc. When I try to access the

Re: AuthenticationSupport service missing

2014-11-11 Thread Pontus Amberg
I'm not sure this will help but check if the service.bundleLocation property in sling.home/config/org/apache/sling/engine/impl/auth/SlingAuthenticator.config contains the correct version. This might not be a problem anymore but I think I had problem with this a while back when the value of

Re: new sling project noob design questions.

2014-11-11 Thread Bertrand Delacretaz
Hi, On Sun, Nov 9, 2014 at 2:04 AM, Bruce Edge bruce.e...@nextissuemedia.com wrote: ...What's the equivalent mechanism in sling for persisting a hierarchy of POJOs?... I'd say Sling Models, though I haven't used them myself much so far. You might want to ask more specific questions if you try

Re: ResourceProvider bubbling

2014-11-11 Thread Dominik Süß
Hi everyone, comming back to that case. As it turned out the resourceProvider was actually the only feasible solution since merging the valueMap was not sufficient but I found cases where I had to mount in substructures (via synthetic resources). Now I'm facing a follow up issue with CRUD

Question about static logger in OSGi

2014-11-11 Thread David Collins
All, we've been running into this issue where every time we deploy our code to an AEM instance (5.6.1) the PermGen space increases which I can monitor by attaching VisualVM. Now there are some good resources available by Frank Kievet about this so I've been reading through this blog post:

Re: Question about static logger in OSGi

2014-11-11 Thread Felix Meschberger
Hi David First, I generally don’t use static references to loggers but rather instance references. Such that the references get cut once the instance is collected. But then, what you are seeing is your custom class holding on to the logger and thus holding on to the logger’s class loader. This