since ‎08-06-2014
‎10-12-2019
pragmaticGaur
Level 1
Long running workflows on cluster pragmaticGaur - Adobe Experience Manager Forms
HiWe have a long running workflow (loop) on clustered author instance. When we are running this workflow on master, we can see that the workflow is also running on slaves as well. I don't think this is correct. Workflow should by default be cluster aware and should only run on master. How can I restrict a workflow to only run on one node.
279
Views
0
Likes
0
Answers and Comments
Re: How to pass the current user's credentials to ResourceResolverFactory.getResourceResolver? pragmaticGaur - Adobe Experience Manager
To answer your question, according to meIt will be marked as admin as you are updating JCR with admin account.Use sling request.getResourceResolver, then you can adapt the resolver into JCR session. This will use the current user account.If you are using pre authenticated session. Other wise you are directly login using user account like this.SimpleCredentials credential = new SimpleCredentials("your_username", "your_password".toCharArray()); session = repository.login(credential, "crx.default")...
743
Views
0
Likes
0
Answers
Re: CQ Tags pragmaticGaur - Adobe Experience Manager
Thanks Ove. This is happening on our QA environment which has good amount of resources.I tried http://localhost:4504/etc/tags.mytags.json and its pretty fast but when i tried fetching all tags is slow like anything although the numbers of tags is not much.Is there any way I can debug and figure out ? -Vishal
207
Views
0
Likes
0
Answers
CQ Tags pragmaticGaur - Adobe Experience Manager
Hi,I am using TagInput field to show/apply all tags (/etc/tags) available in CRX. I can see when I click the drop down it does a call to http://localhost:4504/etc/tags.tags.jsonThis call is taking huge time on our environment. I need to know the reason for this. Can anyone help me understand how CQ really handle this call ?
648
Views
0
Likes
4
Answers and Comments
CQ5 Junit test cases for OSGI services pragmaticGaur - Adobe Experience Manager
Hi,I am trying to write junit test cases for my osgi services. I tried to follow the below sling testing tool.http://sling.apache.org/documentation/development/sling-testing-tools.htmlBut this is not very intuitive.Here is what I did to set it up .Added maven dependency. org.apache.sling org.apache.sling.junit.core 1.0.8 Install the bundle from Felix console.Now I tried accessing http://localhost:8080/system/sling/junit/ but this gives 404 error. Am I missing anything here ?
657
Views
0
Likes
2
Answers and Comments
Re: Long running workflows on cluster pragmaticGaur - Adobe Experience Manager
My Issue is still open with Adobe. The hotfix that Sham HC has suggested is only applicable for dam assets.For your question, few things you need to checkHow you reach to the conclusion that the workflow is running on both node ?If you have any confusion regarding the status of workflow check the following path in CRX "/etc/workflow/instances/YYYYMMDD/INSTANCEID/YOURWFINSTANCE". Thanks-Vishal
212
Views
0
Likes
0
Answers
Re: Long running workflows on cluster pragmaticGaur - Adobe Experience Manager
Sham HC wrote... If aem 5.6 file daycare & request for hotfix CQ560_HF_3314 This hotfix is only for DAM assets.
214
Views
0
Likes
0
Answers
Re: Long running workflows on cluster pragmaticGaur - Adobe Experience Manager
I didn't find any solution from daycare and now I am changing the design. Will avoid internal loop inside workflow (no goto).
213
Views
0
Likes
0
Answers
Long running workflows on cluster pragmaticGaur - Adobe Experience Manager
HiWe have a long running workflow (loop) on clustered author instance. When we are running this workflow on master, we can see that the workflow is also running on slaves as well. I don't think this is correct. Workflow should by default be cluster aware and should only run on master. How can I restrict a workflow to only run on one node.
565
Views
1
Like
5
Answers and Comments
Likes given to
Likes from