On Tuesday, February 28, 2017 11:50 AM, John Logan <john.lo...@texture.com>
wrote:
> On Tuesday, February 28, 2017 6:33 AM, Bertrand Delacretaz
> <bdelacre...@apache.org> wrote:
[snip]
> > AFAIK it's the AuthUtil.isBrowserRequest method [1] that makes this
> > d
Hello!
I'm running into an issue where I've created a Sling servlet that
queries nodes and returns a JSON result. My web application uses
the form-based AuthenticationHandler to establish a session, and
then fetches the resource provided by my servlet.
This works fine until the session times
Hi,
I'm trying to register some new node types by creating a CND file in one of our
bundles, and configuring the Sling-Namespaces and Sling-Nodetypes in the bundle
configuration.
When Sling starts, I see two instances of the following in the log:
2016-09-26 19:24:36,587 *WARN*
+, John Logan wrote:
> Hi! I have a Sling instance set up using the S3 backend and am
> making a request like this to perform a HEAD operation on a large
> file node:
What does the S3 backend mean? Oak using the S3DataStore ? It would
also help if we knew the version of Oak you're
.AccessControlAction"]
[configurations runModes=oak_tar]
org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService
[configurations runModes=oak_mongo]
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService
From: John Logan
Sent: Thursday, October 6, 2016 2:07:17 PM
To: users@sling.apache.org
Hi! I have a Sling instance set up using the S3 backend and am making a
request like this to perform a HEAD operation on a large file node:
curl -I 'https://sling.example.com/some_big_file'
I see a fair bit of delay to retrieve the headers. I did a little poking in
the code and it looks
Hi,
I'm trying to create a node that has a reference as part of its data type via
the SlingPostServlet, and am seeing the following error when Sling tries to
commit the change:
Caused by: org.apache.jackrabbit.oak.api.CommitFailedException:
OakConstraint0055:
have to add the following additional form field to the POST operation:
publisher@typeHint=Reference
Doing so resulted in the node being committed without error, and the
reference-valued property way populated correctly.
jgl
From: John Logan <john
ype-notation.html for details.
stefan
>-----Original Message-
>From: John Logan [mailto:john.lo...@texture.com]
>Sent: Monday, September 26, 2016 10:42 PM
>To: users@sling.apache.org
>Subject: "OakConstraint0033: Unknown required primary type" with custom
>types.
Thanks, that makes sense!
I've confirmed that correcting this error addresses the problem.
John
From: Stefan Seifert
Sent: Tuesday, September 27, 2016 2:23:29 PM
To: users@sling.apache.org
Subject: RE: "OakConstraint0033: Unknown
bucket,
and it looks like read cache contents are continually being
transferred from the primary to the secondary, over and over
again. Is this what I should see? If not, how do I troubleshoot
this?
Thanks! John Logan
tarmk.log:
2016-11-05 23:30:05,045 sending head request
2016-11-05 23:30
being continuously sent from primary to cold
standby?
Hi John
I think you might have more luck with this question on the jackrabbit
users list. Sling uses Jackrabbit Oak under the hood, but the real
expertise is over there.
Regards
Julian
On Tue, Nov 8, 2016 at 8:08 PM, John Logan <john.lo...@te
Hi,
Until just recently, I've been able to build the Sling Launchpad Builder
project in isolation by cloning the Sling GitHub repo, and running 'mvn build'
from the builder/launchpad directory.
I'm now seeing the integration test failure shown at the bottom of this
message. I've looked at
svn-id: https://svn.apache.org/repos/asf/sling/trunk@1766070
13f79535-47bb-0310-9956-ffa450edef68
From: John Logan
Sent: Thursday, October 27, 2016 10:01 AM
To: users@sling.apache.org
Subject: Re: Sling Launchpad Builder maven build failing - how to diagnos
ursday, October 27, 2016 10:13:16 AM
To: users@sling.apache.org
Subject: Re: Sling Launchpad Builder maven build failing - how to diagnose?
On Thu, 2016-10-27 at 17:01 +, John Logan wrote:
> 27.10.2016 09:41:28.704 *ERROR* [CM Event Dispatcher (Fire
> Configuration
Hi,
I'm setting up a TarMK cold standby for a repository for the first time, and
have a couple of questions regarding synchronization and administration. I've
included the configuration and current dump of the primary and standby MBeans
below. The primary and standby are in peered VPCs in
Hi Robert, thanks for the pointers!
On Thursday, October 27, 2016 7:22 AM, Robert Munteanu wrote:
> Hi John,
>
> On Thu, 2016-10-27 at 13:11 +0000, John Logan wrote:
> > Hi,
> >
> >
> > Until just recently, I've been able to build the Sling Launchpad
Robert Munteanu wrote:
> I am unable to dig up any documentation on this from the Oak side,
> sorry. Perhaps you have better 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
Hi,
I was wondering whether it's possible for a resource request to
invoke a service that performs background processing, such that
the worker thread spawned by the service has a resource
resolver and JCR session based on the authentication info for
the requesting user.
I tried using
the thread
tries to perform the first write.
Is this approach feasible, and I just need to see if there's
an issue with users or permissions?
From: John Logan
On Friday, March 17, 2017 8:39 AM, John Logan wrote:
> I tried using ResourceResolverFactory.getResourceResolver()
>
This is strange.
The Felix console on my Sling instance stopped working. It doesn't work
even if I start with a clean repository. Is anyone else seeing this? I can't
find anything on the mailing list about this, nor did anything obvious
pop up in JIRA.
The HTTP error page I get instead of the
Actually after looking at the local storage setting in
the browser, this looks like a Composum thing. I'll
create an issue there.
John
From: John Logan <john.lo...@texture.com>
Sent: Wednesday, March 15, 2017 9:11:02 AM
To: users@sling.apache.org
S
Thanks, Felix, that completely makes sense and it does
help a lot. I restructured my prototype to use the stock
resource types.
jgl
On Thursday, March 9, 2017 1:34 AM, Felix Meschberger
wrote:
>
> Hi John
>
> Over the years of working with JCR it became clearer and
://docs.adobe.com/content/docs/en/spec/jcr/2.0/19_Node_Type_Management.html
From: John Logan <john.lo...@texture.com>
Sent: Wednesday, March 8, 2017 2:56 PM
To: users@sling.apache.org
Subject: Re: Noob questions about bundle installation.
Thank you for the response, Stefan!
I was sur
Thank you for the response, Stefan!
I was surprised about the behavior for 1. below and I'm positive that I have
seen the
new code activate immediately before also. I'll look into this further.
I'm not surprised what you describe about #2. When you say "remove this
definition
manually", what
Hi Bertrand,
Thanks for your response! I appreciate your help.
On Tuesday, February 28, 2017 6:33 AM, Bertrand Delacretaz
<bdelacre...@apache.org> wrote:
> Hi John,
>
> On Mon, Feb 27, 2017 at 10:11 PM, John Logan <john.lo...@texture.com> wrote:
> > ...I rece
is working fine now.
From: John Logan <john.lo...@texture.com>
Sent: Friday, April 7, 2017 3:29:33 PM
To: users@sling.apache.org
Subject: Unit testing code that sets properties using ModifiableValueMap?
Hi,
I'm writing some unit tests for my code and am trying
Hi,
I'm writing some unit tests for my code and am trying to use Sling Mocks [1].
My code sets properties using resource.adaptTo(ModifiableValueMap.class), but
when used with a MockResource, the call returns null, failing the test. Is
there a recommended way to code unit tests for such cases?
]
https://sling.apache.org/documentation/development/logging.html#external-config-file
On Thu, Sep 14, 2017 at 6:45 AM, John Logan <john.lo...@texture.com> wrote:
> I got this working and thought I'd follow up with what I did in case anyone
> else needs this sort of thing.
>
>
le to move build log " + logPath + " to DAM resource
" + damLogPath, e);
}
}
}
From: Robert Munteanu <romb...@apache.org>
Sent: Friday, September 8, 2017 1:13:02 AM
To: users@sling.apache.org
Subject: Re: Directing Sling job
tember 8, 2017 1:13:02 AM
To: users@sling.apache.org
Subject: Re: Directing Sling job logging output to separate files?
Hi John,
On Fri, 2017-09-08 at 05:28 +, John Logan wrote:
> Hi,
>
>
> I'm using the Sling job manager to handle some long running tasks,
> and would like to
Hi,
I'm using the Sling job manager to handle some long running tasks, and would
like to direct the log output for each job to its own file at a job-specific
path. Is there a straightforward way to achieve this?
Thanks!
John Logan
rimaryType and mixins. Am I
missing something, or is there another way I should be doing this?
Thank you!
John Logan
Hi,
In essence I'm trying to detect the in-progress state of a job being stopped.
I see in the sling-event implementation that calling jobHandler.stopJobById()
eventually works its way down to calling jobHandler.stop(), setting a flag in
the JobHandler.
The JobExecutor is responsible for
e I have to do the latter, but I
>thought I'd check as if the former were possible it might simplify the job
>cancellation processing, and it would allow canceled jobs to be cleaned up
>more quickly.
Thank you!
John Logan
Thanks Carsten, that was my suspicion, just wanted to make sure!
From: Carsten Ziegeler
Sent: Tuesday, August 7, 2018 11:13:06 PM
To: users@sling.apache.org; John Logan
Subject: Re: Can I detect cancellation of an active Sling job to facilitate
cleanup?
Hi
Hi,
In essence I'm trying to detect the in-progress state of a job being stopped.
I see in the sling-event implementation that calling jobHandler.stopJobById()
eventually works its way down to calling jobHandler.stop(), setting a flag in
the JobHandler.
The JobExecutor is responsible for
that state by the last modified time.
- Jason
On Tue, Aug 14, 2018, at 4:02 PM, John Logan wrote:
>
>
> Hi,
>
> In essence I'm trying to detect the in-progress state of a job being stopped.
>
> I see in the sling-event implementation that calling
> jobHandler.stopJob
Hi, I'm trying to create node with an empty String[] property via the Sling
POST servlet.
Patching, and adding/removing the patched property seems to work:
curl \
${CACERT} \
-s \
-f \
-o /dev/null \
-w
From: Bertrand Delacretaz <bdelacre...@apache.org>
Sent: Monday, March 5, 2018 5:37:22 AM
To: users
Subject: Re: Sling POST servlet and empty arrays?
Hi,
On Thu, Mar 1, 2018 at 5:07 AM, John Logan <john.lo...@texture.com> wrote:
> Hi, I'm trying to create node with
Hi,
I'm playing around with the Sling Oak restriction feature and I can't seem to
get it working.
The simple case I'm trying right now is to allow a user 'alice' to have full
access to all nodes at or below nodes with Sling resource type 'foo'. Here's
the test procedure I'm following:
41 matches
Mail list logo