Hi,
I have multiple domains which should share the same sling mappings, let's
say it's our production system and the QA system. For both I want to have
the very same settings, but we don't want to maintain it twice. Is there a
way to have a structure via
/etc/map/http/www.ourdomain.com/...
and
ss, that would be now a question for a CQ5 forum or group :-)
(There is a "Day Communique" google group as well as
http://forums.adobe.com/community/digital_marketing_suite/cq5)
Anyway, please check your error.log for any occurrences of
"org.apache.sling.engine.impl.SlingMainServlet".
kind regards,
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
d9e-ed9a-42bf-a8c6-14c74b6b3858/{
> > http://www.day.com/jcr/cq/1.0}lastReplicatedBy has been modified
> > externally
> >
> > on different JCR items.
> >
> > How can I run sling in single threaded mode? Only one thread will write
> to
> > the repository. Or, one servlet thread handles all concurrent HTTP
> requests
> > (after queuing them up).
> > Is this possible?
> >
>
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Hi,
I am just evaluating if it's possible to specifiy a directory, which is
used to resolve all relative log file against. The documentation states, it
always resolves against the "sling.home" directory, but can I change this?
I haven't found any pointer neither in the source nor on the documentat
directory handed over to the
> LogWriterManagedServiceFactory for OSGi-based logging configuration.
>
> On the other hand Logback configuration files are supported as well these
> days and I am not really sure how relative paths are handled there.
>
> Regards
> Felix
28, 2014 at 7:33 PM, Felix Meschberger
> wrote:
> > Hi
> >
> > How about a sling.log.root property, which we define as
> >
> >> sling.log.root = ${sling.home}
> >
> > in the sling.properties ?
> >
> > Regards
> > Felix
> >
&g
Hi Peter,
2015-04-13 22:39 GMT+02:00 Peter Puzanovs :
> pretty new to Sling :)
>
> Would love to use or implement an instrumentation tool that would track
> every resource's (ValueMap's) access to the database.
>
> So, my first question, Whether there is such a tool already ?
> If not, what wou
an be rather high.
WDYT?
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
;
> neither admin nor service RRs are put in the stack, only "user" RRs.
> If you want to update the javadocs, please provide a patch
>
> Thanks
> Carsten
>
> Am 05.06.15 um 09:41 schrieb Jörg Hoh:
> > Hi,
> >
> > When I just reviewed the lat
apache is in the form of https. Not sure if something changed in
> Sling or with the new Jetty servlet engine.
>
> Any help would be appreciated.
>
> -Jason
>
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
Hi,
I want to write a warmup feature for my application, which should run
requests using SlingRequestProcessor against the instance.
I am looking now at slim implementations of HttpServletRequest and
HttpServletResponse, which I can provide as parameters to
Sling.RequestProcessor.processRequest()
; -Bertrand
>
> [1]
> https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling-mock/src/main/java/org/apache/sling/testing/mock/sling/servlet/
>
These would be sufficient. But I would like to have them in a "mainline"
bundle and not in a codebase, which I normally use t
e mock
classes are useful beyond mocking requests and responses for unittests.
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
l up. As a workaround we increased the JCR observation size (in Oak as
well as in the OakResourceListener), but I would like to know what exactly
is causing this behaviour at all.
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
{"/system/mypath1", "/system/mypath2"},
> > > methods={"GET"})*
> > >
> > > Am I missing some configuration?
> > >
> > > Does someone have an example of this kind of configuration?
> >
> > Which version of maven-bundle-plugin (or bnd-maven-plugin) are you
> > using in your build?
> > If I recall correctly, the R6 annotations require the use of the 3.x
> > versions of either of the plugins to have the annotations be processed
> > appropriately.
> >
>
>
>
> --
> Francisco Ribeiro
> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
ter luck on oak-...@jackrabbit.apache.org .
>
> The most relevant online doc I could find regarding clustering was:
>
> http://jackrabbit.apache.org/oak/docs/nodestore/documentmk.html
>
> AFAICT it didn't say anything about clock synchronization, but the MVCC
> revision names do have a timestamp
mmendation is to use
sticky-sessions.
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
My bad:
CAP = consistency, availability and partition-tolerance.
Jörg
2017-01-17 19:35 GMT+01:00 Jörg Hoh :
> HI Lance,
>
> 2017-01-17 19:19 GMT+01:00 lancedolan :
>
>> ...
>>
>> If "being eventual" is the reason we can't go stateless, then how is a
make the bootdelegation taking effect immediately or do I
really need to restart the instance first?
thanks,
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
0 Bertrand Delacretaz :
> Hi Joerg,
>
> On Wed, Jul 5, 2017 at 4:06 PM, Jörg Hoh wrote:
> > ...What I did:
> > * Place all files in place
> > * Added my bootdelegation statements to ${sling.home}/sling.properties
> > * started up the instance...
>
> AFAIK if
custom PostProcessor and what is the best practice?
>
>
> [0]
> https://sling.apache.org/apidocs/sling7/org/apache/sling/servlets/post/
> SlingPostProcessor.html
>
> Thanks,
> Sabya
>
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
admin.
Long story short: Is the loginAdministrative() method planned to be
removed? If yes, we should clearly give best practices and document how it
can be replaced even in the non-trivial cases. If it's going to stay, we
should remove the deprecation warning.
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
res
>
>
> El 2018-02-06 14:09, Bertrand Delacretaz escribió:
>
> On Tue, Feb 6, 2018 at 1:02 PM, Jörg Hoh wrote:
>
> ...Long story short: Is the loginAdministrative() method planned to be
> removed? If yes, we should clearly give best practices and document how it
>
ng the type checks, so the resource resolvers are
not tied to a single livecycle? Also just adding some refresh() statements
to the type resolver seems not good, because then the type resolver might
see a different state of the repo than the other ("main") session.
Jörg
--
Cheers,
J
s bound to that ResourceResolver's life-cycle).
>
>
I guess that's the best way to handle this. I will recommend it.
Thanks!
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
the output is unlikely to grow into the
megabytes.
WDYT? Should this part of sling, or should be rather create a custom tag
library with our own version of the non-streaming "include" tag?
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
for.
>
This might be a workaround, but I don't the markup rendered by the include
as variable around; also this would require us to change all occurrences of
the include, which is something I would like to avoid (also hard to
automate). I would rather change the default :-)
Jö
t; used from the platform do not contain calls to response.flush()!
>
>
Yes, that's something we can validate and figure out, but I've seen this in
too many cases, and not always a flush() was repsonsible. Also it's some
very hard to validate all scripts and occas
ry with a filter and some mock response object wrapping the
original one.
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
/sling-org-apache-sling-jcr-repoinit/blob/master/src/test/provisioning/it-model.txt
[2]
https://github.com/apache/sling-org-apache-sling-jcr-repoinit/blob/master/pom.xml#L111
[3] https://sling.apache.org/documentation/development/slingstart.html
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
only
relevant usecase is to build an exectuable I can use for integration
testing, as in the case of repoinit. The docs [3] are not so much of a help
here.
>
> > [3] https://sling.apache.org/documentation/development/slingstart.html
>
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
but that could be
implemented as default method, so it's signature would not change.
While I can do that in my code as well, it would be good to have it in the
Adaptable interface as well; it can encourage others to use Optional
instead of explicit Null Checks; and the Null checks a
n
tests with Sling much easier.
WDYT?
Jörg
[1]
https://github.com/apache/sling-org-apache-sling-event/blob/master/src/test/java/org/apache/sling/event/it/AbstractJobHandlingTest.java
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
nstead of hardcoding them in a bundle).
As much as I like your approach, I see the problem that the maven
dependencies and the IT dependencies are maintained twice and also at
different locations.
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
e type (SlingFutil) is
> unknown.
> I also tried
>
> sling.getService(rome.testly.testly1.SlingFutil.class);
>
> instead, but the result is the same.
>
> This used to work well at BND times of Sling, so I don't know what's
> wrong with this R7 code.
>
> Thanks,
> Juerg
>
>
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
tics for reasonable
defaults.
Can you share your complete project code?
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
ing that it's related to SLING-9040, but because
an older version is affected as well, it's seems to have a different root
cause.
Did someone come across this already?
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
eplacement for JCR observation.
Thanks Dirk!
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
le. Any idea if
> acs-aem-commons-bundle work with vanilla Apache Sling?
>
>
the ACS AEM Commons bundle has depedencies to AEM API, so it won't work
with a vanilla Sling.
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
39 matches
Mail list logo