Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

pragmaticGaur
Community profile pragmaticGaur Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 08-06-2014 10:26:48 PM
Offline
Top badges earned by pragmaticGaur
Customize the badges you want to showcase on your profile
Long running workflows on cluster
Avatar
Validate 1
Level 1
pragmaticGaur
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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.

Views

358

Likes

0

Replies

0
Re: How to pass the current user's credentials to ResourceResolverFactory.getResourceResolver?
Avatar
Validate 1
Level 1
pragmaticGaur
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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")...

Views

832

Likes

0

Replies

0
Re: CQ Tags
Avatar
Validate 1
Level 1
pragmaticGaur
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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

Views

227

Likes

0

Replies

0
CQ Tags
Avatar
Validate 1
Level 1
pragmaticGaur
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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 ?

Views

680

Likes

0

Replies

4
CQ5 Junit test cases for OSGI services
Avatar
Validate 1
Level 1
pragmaticGaur
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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 ?

Views

698

Likes

0

Replies

2
Re: Long running workflows on cluster
Avatar
Validate 1
Level 1
pragmaticGaur
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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

Views

237

Likes

0

Replies

0
Re: Long running workflows on cluster
Avatar
Validate 1
Level 1
pragmaticGaur
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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.

Views

238

Likes

0

Replies

0
Re: Long running workflows on cluster
Avatar
Validate 1
Level 1
pragmaticGaur
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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).

Views

238

Likes

0

Replies

0
Long running workflows on cluster
Avatar
Validate 1
Level 1
pragmaticGaur
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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.

Views

606

Like

1

Replies

5
Likes given to
Likes from