since ‎25-09-2012
Online
Jörg_Hoh
Employee
Re: Dispatcher access issue for etc node
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
If I understand you correctly, you are doing this access as part of a SlingModel, meaning that your browser does not a request to /etc/. Is that correct?Because in that case the dispatcher itself is not involved, because it just receives a HTML response from publish, and the dispatcher does not know how the publish internally assembled this response. In that case your problem is different.

Views

1

Likes

0

Replies

0
Re: Replication Agent Limitations
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
To add some aspects on top: The number of items in the replication queue is not limited, but of course a large number of replication items in the queue can have an impact on the responsiveness of the authoring UI (especially on ClassicUI). Also some other aspects will get slower when the number of items in the queue is just growing.

Views

1

Likes

0

Replies

0
Automatic validation of your dispatcher configuration
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
I wrote part 4 of my "Integration testing with AEM" series, which covers how easy it can be to validate your dispatcher setting, for example to check if the initial redirect is working correctly or if the "infinity" selector is correctly blocked for JSON requests. https://cqdump.wordpress.com/2021/01/18/writing-integration-tests-for-aem-part-4/

Views

1

Likes

0

Replies

0
Re: Resource at '/' not found: No resource found
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
If you get that message it seems that you broke/misconfigured the authentication system.

Views

1

Likes

0

Replies

0
Re: Role based authorization after SAML Authentication
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
AEM can do that for you: * Create a group on Okta side, which members should be able to perform this action* Make sure that this group is synchronized to AEM (login with a user of that group and check that this group is synchronized to AEM).* Adjust the permissions assigned to this group in the way you require. This is straight forward way and doesn't require any coding.

Views

2

Likes

0

Replies

0
Re: Migrating to Cloud Manager (with AMS) what to do with...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
Hi,I would not move stuff to /apps, because that's normally read-only and not writeable (except for administrator group by default); in AEM as a Cloud Service it's not writable at all during runtime.If your configuration is supposed to be changed during runtime I would store it either in /content or /conf.

Views

91

Likes

2

Replies

4
Re: Image renditions not created when uploading a PNG ima...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
That's a strange behavior, because restarting a bundle should not change any internal state.The only thing I could imagine for this is that a service is stopped from that bundle during these days. Before you restart that bundle, can you check the list of services exported from that bundle and their state and compare it the same after you have restarted the bundle?

Views

26

Like

1

Replies

0
Re: Cyclic references in two OSGI services
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
This is a conflict which the system cannot handle itself. But in many cases it is also a sign of a bad application design.I see 2 options: 1) Make a reference optional and deal with this optionality in the application code. Just make sure that the optional reference is greedy, so it's getting satisfied as soon as the reference target is available. 2) Redesign your services so you don't have this circular dependency anymore. Most likely the creation of a third service C makes sense, which both A ...

Views

39

Likes

0

Replies

0
Re: Getting "Invalid recursion selector value 'model' " e...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
Hi 1780 TIMER_END{31,ServletResolution} URI=/content/wknd-spa-angular/us/en/home/jcr:content/root/responsivegrid/custom_component.model.json handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet 2443 LOG Using org.apache.sling.servlets.get.impl.helpers.JsonRenderer to render for extension=json for me that's the problem, because it should not resolve to the DefaultGetServlet, but to a servlet of the SlingModels package.At which step in the tutorial does this problem occurr?

Views

58

Likes

0

Replies

0
Re: etc.map for assets causing problems.
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
You can use localhost:4502/system/console/jcrresolver to check the resolution of these URLS. Unfortunately I don't see from the screenshot what path these clientlib requests are using.

Views

40

Likes

0

Replies

0
Re: User information in Publish Enviroment in AEM 6.5
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
Instead of the how, the question is rather if you want to maintain user information on publish at all? The straight-forward way of using JCR users very likely doesn't scale in terms of performance, and also you need think about how you synchronize changes amongst all publish instances.

Views

40

Like

1

Replies

0
Re: Getting "Invalid recursion selector value 'model' " e...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
Can you show the detailled error message? I would assume that you are using the "model" selector at the wrong location/resource type.

Views

88

Like

1

Replies

2
Re: Are the maven-bundle-plugin and content-package-maven...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
Technically both the filevault-package-maven-plugin and the content-package-maven-plugin can largely the same work, but the Jackrabbit plugin is currently maintained and developed, but the development of the content-package-maven-plugin got stalled for quite some time now. I would recommend to stick to the filevault-package-maven-plugin, because only that is supported on AEM cloud service. And more or less the same with the bnd-maven-plugin. The maven-bundle-plugin was only a shell around bnd fo...

Views

40

Likes

0

Replies

0
Re: Properties missing in some data types for the content...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
I would recommend to flag this as a feature request (both here and also with Adobe Support). Thanks!

Views

71

Like

1

Replies

0
Re: AEM 6.5 : How to make event listener not wait for an...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
Hi, ObservationListeners run asynchronous to the operation which performs the save. Which means that there is no guarantee at all regarding timing. So using the JCR Observation Handler to trigger another asynchronous operation (sling Job, or a custom implementation) does not make the situation worse. 🙂

Views

47

Likes

0

Replies

0
How to write integration tests with AEM
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
I started with a small series of blog posts how to write integration tests for AEM, which you can both ran stand alone and which are also picked up by Cloud Manager. Even a few basic tests can save you a ton of manual tests. See https://cqdump.wordpress.com/integration-tests-with-aem/ for an overview and the links to the individual posts.If you have questions to it, please raise it here in the AEM Forums and ping me directly (via "@joerghoh" ), so I can react on it. cheers,Jörg

Views

82

Likes

3

Replies

1
Re: AEM publish instance is not accepting default password
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
if you rename the quickstart.jar to aem-65-p4503, the runmode "publish" is not deduced from the name of the jar, but only the port, so technically you have an author running on port 4503. But anyway, the default passwords still should work. You can either try to analyze the issue or you can just start over.

Views

94

Likes

2

Replies

1
Re: In which use case Multiple renderer is used in Dispat...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
I wrote a blog article about this question some time ago: https://cqdump.wordpress.com/2015/01/12/connecting-dispatchers-and-publishers/

Views

75

Likes

2

Replies

0
Re: What’s the overhead of getting a resource resolver in...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
Opening a ResourceResolver is normally opening a JCR session. Which comes with some overhead.Some time back I profiled a publish instance in load tests and found that eliminating a single filter, which opened and closed a JCR session (and doing some work in between) increased the number of requests my publish was able to handle by ~ 5%.So if you do that lots of times during the rendering of a page, it will negatively impact the performance of the page rendering. Jörg

Views

89

Like

1

Replies

0
Re: Dispatcher user load in Adobe Managed Service?
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
As others already stated, it's hard to give any number for that, but in reality I haven't seen servers which are maxed out just by running the dispatcher. Normally the AEM publishs are maxed out much earlier 🙂And regarding your second question: If you have a single dispatcher, it is one single point of failure. Not necessarily the only one, because in that case it's likely that you have a single publish instance, too. Jörg

Views

86

Likes

2

Replies

0
Re: AEM 6.5 : How to make event listener not wait for an...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
From what I know this is not possible. You would need to use multiple threads to handle the events of an event iterator in a parallel way. But the code on that low level is not thread-safe. But to be honest I have never tried that, and I am very sure, that you would be the first one to try that.The rule of thumb for JCR Observation Listener is to be as fast as possible. If you processing is expected to take longer, you should offload from this thread (e.g. feeding a queue where a dedicated threa...

Views

93

Likes

2

Replies

2
Re: CUG pages are getting cached in Dispatcher
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
Hi, by default the dispatcher does not cache any files, for which the request has certain "authentication" headers. That is an "authorization" header or a cookie "authorization" resp "login-token". If any of these are present, the dispatcher won't cache the files, unless you explicitly configure it to do so.

Views

153

Like

1

Replies

0
Re: Question on the Current Cache Hit Ratio log messages...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
The ratio is calculated as (100 * req_hits / req_total) with req_hits = # files delivered from cachereq_total = the total number of requests handled by the dispatcher from this point of view the cache-hit ratio is the same if requests are blocked on dispatcher (not httpd!) or forwarded to publish. So the number is nice, but it's hard to draw meaningful conclusions from it.

Views

132

Likes

3

Replies

0
Re: CUG pages are getting cached in Dispatcher
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
When you use CUGs and want to cache protected content, you should use "Permission Sensitive Caching", see the documentation at https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/permissions-cache.html?lang=en#configuring

Views

164

Like

1

Replies

0
Re: Implement Granular Security to Limit who can Push to Git
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
I don't think that this feature is really required, because you can always do a force-push from your own git to the CloudManager git. That means that any push directly into the CM git by a developer will be overwritten.

Views

135

Likes

0

Replies

0
Re: will AEM 6.5 run on openJDK 11 on ubuntu, or will it...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
To put it in other words: It is not supported on any other java than Oracle Java. But you might be able to develop locally on it using OpenJDK. (I am not aware of any incompatibilities which are relevant for AEM custom application development.)

Views

115

Likes

0

Replies

0
Re: Dispatcher and Cache-Control mod_expires
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
Cache Control headers are different from Expiration headers, and IIRC they can co-exist do not influence each other.

Views

52

Likes

0

Replies

0
Re: Unable to edit page properties in editable templates
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
Thanks for reporting back. Please report this issue to Adobe,so they are able to fix this problem.

Views

82

Likes

0

Replies

0
Re: AEM screens registration issue because for local cert...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
That depends heavily on the player itself. Unfortunately I am not an expert in these player softwares.

Views

151

Likes

0

Replies

0
Re: Error building project with archetype 24 - dispatcher...
Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
- Adobe Experience Manager
How did you bootstrap the archetype? I don't have a maven module "mysite.dispatcher.ams" (it's the "ams" extension which I wonder about) in my bootstrapped archetype (default values).

Views

149

Like

1

Replies

0