TB3dock
Community profile TB3dock Level 4
Job title here
Location here
20 BADGES
Level 4

Level 4

Learn more
Joined the community 03-02-2021 1:29:34 AM
Offline
Top badges earned by TB3dock
Customize the badges you want to showcase on your profile
Re: osgi service calling another service fails to load at...
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
Ok, found the answer here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/cyclic-references-in-two-osgi-services/qaq-p/392542

Views

33

Likes

0

Replies

0
Re: Cyclic references in two OSGI services
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
Hi, how do you implement option 1?

Views

31

Likes

0

Replies

0
osgi service calling another service fails to load at runtime.
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
we have a servlet which calls our service, which calls another service, which calls the original service. This compiles, but when we deploy locally, we get 404 for the servlet page. If we comment out the service, the servlet gets called. Does this mean we cannot have services calling each other? Not sure how to structure the code without this. GetSomething.java @Slf4j @Component(service = { Servlet.class }) @SlingServletPaths(value="/bin/myservlet") public class GetSomething { @Reference private...

Views

42

Likes

0

Replies

1
adobe cloud admin console - how to put "support administrator" role into a group, or to see who has it?
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
We have hundreds of users, some of which can raise support tickets via the admin console.To give access to support, the user has to be assigned "Support Administrator" under "Administrative rights" at the bottom of the user details page. The problem is I now need to add many users to this permission, but have to do it manually one by one, as its not possible to add this permission into a group. Also, If I want to see who has this right, there seems to be no way to do this. any ideas?

Views

44

Likes

0

Replies

1
Re: can we send an email from Cloud AEM servlet?
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
Thanks for the helpful reply. That link to the servlet example is good, but it uses a template file held on the file system. Cloud wont support this unfortunately.

Views

60

Likes

0

Replies

0
Re: AEM Cloud: Create only shows "CSV Report" for all new...
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
We spent 1 hour going through this with a Adobe support person, and he did not know why random permssions were failing. He suspects there are issues with IMS syncing with AEM instances, but there is no work around yet.

Views

38

Likes

0

Replies

0
can we send an email from Cloud AEM servlet?
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
We want to implement a simple survey for users on our AEM site (cloud version). To submit this, we need to write a servlet which takes the params (rating, comment, username etc) and sends them as email for someone in our organisation to manually collate and report on.Is there some sort of built in SMTP service, or do we need to integrate via standard JAVA API to something like mailchimp or silverpop?We have also considered integrating with something like jira or airtable to send and collate data...

Views

99

Likes

0

Replies

4
Re: Create only shows "CSV Report" for all new users, eve...
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
unfortunately /useradmin doesnt exist in cloud versions

Views

51

Likes

0

Replies

0
Re: Create only shows "CSV Report" for all new users, eve...
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
Its every path 😞

Views

56

Likes

0

Replies

0
admin console only has two permissions, author-user and author-administrators. How do we create more fine grained control
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
admin console only has two permissions, author-user and author-administrators.This basically gives any AEM users full access to everything, which is highly dangerous.With EpiServer, we could easily create groups with specific permissions, e.g. only edit marketing pages, or only create affiliate pages, or only add images to our external-marketing DAM directory. We could even let content admins create their own permission structures for their users via checkbox interface with meaningful permission...

Views

64

Like

1

Replies

1
Re: AEM cloud, how to deploy secret client settings witho...
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
Hi, thanks for the reply.]This solution doesnt seem to make sense or solve the problem. According to the docs, if you "push" a setting to an env, it will re-deploy that env. So we assume:we cant push any settings to prod as this has to be up 24x7. deployment takes 1-2 hours.If we need to push 10 settings, it will redeploy each time, so take around 20 hours.Every time we deploy a new version, of the system, we have to re-deploy the settings, so 20 hours.Also, its extremely risky to use command li...

Views

74

Likes

0

Replies

0
AEM Cloud: Create only shows "CSV Report" for all new users, even with admin permission. Page etc. Missing from Create menu.
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
Some time back, we had 2 users. Now we have many. None of the new users can create anything, despite having all possible permissions. In the admin control panel, we assigned all possible permissions for each env to each user, i.e.publish-usersauthor-usersauthor-administratorsWhen the two old users open our sites in author, and hit create, the 2 original But all our newer users, with exactly the same permissions only see this: We have tried deleting the users, re-adding them, trying to login on a...

Views

95

Likes

0

Replies

5
AEM cloud, how to deploy secret client settings without putting them in GIT?
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
The standard way to add env. specific config settings is to use OSGi config files and the editor. The problem is that the editor is disabled for Cloud. If we put secrets in git, any developer can access production systems. how can we get round this? Is there a standard out of the box way to include env specific values which are not in Git, which the backend devs can use for integrating with banking systems etc? This page:https://experienceleague.adobe.com/docs/experience-manager-cloud-service/im...

Views

125

Likes

0

Replies

5
Re: Can new apache modules be added to dispatcher in Clou...
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
hi, thanks for the reply. That link seems broken, could you re-add?

Views

64

Likes

0

Replies

0
Re: can fastly VCL be used with AEM cloud?
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
thanks, I already read that article which implies its possible, but it then links to the AEM CDN page, which has no mention of it unfortunately.

Views

49

Likes

0

Replies

0
can fastly VCL be used with AEM cloud?
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
using custom VCL is mentioned in a few places, but I cant find if its supported for AEM cloud. Thoughts?

Views

67

Likes

0

Replies

2
Re: How to get the users country via CDN header?
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
This doesnt seem to work for us, see updated question above.

Views

49

Likes

0

Replies

0
Can new apache modules be added to dispatcher in Cloud version? If so, what is the dispatcher OS and apache version?
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
We need to integrate bot protection. We use Datadome, which has 0.1% false positives (as opposed to recaptcha which we were getting around 10%). Usually, we would simple compile the module on apache and add the necessary apache config directives. Here are the instructions: https://docs.datadome.co/docs/apache Is this possible with AEM cloud? I.e. do they let you add new modules? If so, what OS and distribution is dispatcher (e.g. Ubuntu), and what version of apache is the dispatcher using?

Views

94

Likes

0

Replies

3
Re: cloud SDK, how to use dispatcher locally with M1 mac?...
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
windows works no problem, because windows supports the Intel VM requird by dispatcher. Also, intel macs work, as they also support the intel docker image. Its M1 macs which dont work, as they dont use intel architecture.

Views

48

Likes

0

Replies

0
How to get the users country via CDN header?
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
with Episerver cloud, the backend code simply reads the clients country code from the CF-IPCountry header which cloudflare puts on to each request automatically. What do you get with AEM cloud? it has flastly, which i understand has similar functionality to cloudflare? Basically, we need block/route requests based on which country they are from, and do logic in our AEM app. We wrote a simple servlet to dump the headers, deployed it to the cloud env, and then when we hit the servlet we dont see t...

Views

106

Likes

0

Replies

2
Re: cloud build failing with (java.lang.NumberFormatExcep...
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
Hi, this error happens during cloud depolyment, which happens within Adobe, so we cant debug unfortunately. The string "elasticsearch" does not occur in any file in our get repo, so presumably this is within the Adobe SDK or the cloud build or deployment process

Views

77

Likes

0

Replies

0
cloud SDK, how to use dispatcher locally with M1 mac? Get errors in validator.
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
When you run this on M1 Mac: ./bin/validate.sh ~/dev/git/our-web/dispatcher/src You get: WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested reading immutable file list from /etc/httpd/immutable.files.txt checking 'conf.d/available_vhosts/default.vhost' immutability (if present) checking existing 'conf.d/available_vhosts/default.vhost' for changes immutable file 'conf.d/available_vhosts/default.vh...

Views

224

Likes

0

Replies

2
cloud build failing with (java.lang.NumberFormatException: For input string: "$[secret:elasticsearch/port]")
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
09.06.2021 21:16:15.253 *ERROR* [FelixLogListener] org.apache.jackrabbit.oak.plugins.index.elastic.ElasticIndexProviderService bundle org.apache.jackrabbit.oak-search-elastic:1.39.0.R1887543 (135)[org.apache.jackrabbit.oak.plugins.index.elastic.ElasticIndexProviderService(226)] : The activate method has thrown an exception (java.lang.NumberFormatException: For input string: "$[secret:elasticsearch/port]")java.lang.NumberFormatException: For input string: "$[secret:elasticsearch/port]"at java.bas...

Views

104

Likes

0

Replies

2
Re: UTF-8 fix breaks content-type headers?
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
its the cloud SDK running locally, but I assume its the same issue on the hosted version. Ultimately, both have to work, and currently I can only chose between getting a UTF-8 char response, or a JSON response, I cant have both which is an issue for the API integrations which expect application/json response type.

Views

190

Like

1

Replies

0
Re: how to set the website URL to hit he home page in Clo...
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
Interestingly, in apache when using a virtual host, you can set document root so the user doesnt see the horrible url. is this possible?

Views

132

Likes

0

Replies

0
Re: how to set the website URL to hit he home page in Clo...
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
this is helpful, thanks. I see in the displatcher.cloud dir, are various subdirs, including conf.d and conf.dispatcher.d, enabled_vhosts, rewrites, virtualhosts, filters, etc. Any suggestions as to the best one to add this?

Views

137

Likes

0

Replies

0
how to set the website URL to hit he home page in Cloud AEM
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
in AEM we have a home page, e.g. /content/site1/en/home.htmlwe can access this by entering www.oursite.com/content/site1/en/home.htmlBut if a user hits www.oursite.com they get a blank page.I am guessing we need to setup some sort of redirect in dispatcher, but didnt find any tutorials for this. There were different instructions for IIS and apache, but as its cloud, we dont know which if these are being used.Any suggestions?We know about apache configuration, so are comfortable with virtual host...

Views

152

Likes

0

Replies

5
Re: dumb question: how to create a page with custom HTML
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
Thanks for this. so components are easier to figure out how to write than page templates. Regarding the basepage.html, where would I find this? in the crx editor, I see /apps/mysite/components/page which has body.html. However, I dont think this is used anywhere. If I create a new page on our site, the only page template available is "SPA Template", which i cant find.

Views

120

Likes

0

Replies

0
dumb question: how to create a page with custom HTML
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
I have been writing slingservlets to do backend functions, and testing with postman.However, sometimes I need to create a test HTML page, e.g. with a form to upload a file.In aem its easy to create pages, but you can only add text/images, you cant edit the HTML.Looking in the project, I cant see an obvious way to create a HTML page. Any suggestions where to look?There are a lot of tutorials on creating pages from templates, but these dont seem to include editing HTML. Presumably I need to write ...

Views

138

Likes

0

Replies

3
Betreff: Is there something like servlet filters but for...
Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
- Adobe Experience Manager
Thank you for this informative reply. Agreed doing URL rewriting/routing it in dispatcher would be easy, but this is static and requires releases to change. As our release cycle is typically months, this wont work as we need to change routing every time we get a new affiliate or want to exclude a specific country for example. We cant use OSGI config parameters as access to these is removed in cloud version. We need to build some custom code and some UI in the CMS or external system to manage it....

Views

135

Likes

0

Replies

0