sivaprasadreddy
Community profile sivaprasadreddy Level 3
Job title here
Netherlands
16 BADGES
Level 3

Level 3

Learn more
Joined the community 07-11-2012 6:47:12 AM
Offline
Top badges earned by sivaprasadreddy
Customize the badges you want to showcase on your profile
Issue while creating AEM Backup
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi All,I'm trying to create backup from Felix console (http://localhost:4502/system/console/jmx/com.adobe.granite%3Atype%3DRepository)I'm using startBackup(java.lang.String target) operation to create backup and passing target path. It works fine when I use my local drive path as target. But it's not working if I use share drive which is created using 'Map Network Drive' option. It would be great if you some can advise on this.Log details:[Backup Worker Thread] com.day.crx.core.backup.Backup Bac...

Views

588

Likes

0

Replies

7
Re: how to wait the end of workflow
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi Sam,If you know the exact time that will take to execute your workflow, then one way of achieving is using "Thread.sleep()" in your current process. Is that possible to provide exact use case?Thanks

Views

187

Likes

0

Replies

0
Re: Exception while accessing AEM repository
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Opkar, Thank you very much for your time.

Views

173

Likes

0

Replies

0
Re: Exception while accessing AEM repository
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi Opkar,Thank your for your reply.I wanted to access the page information of other AEM server (Author) and check whether the page is associated with workflow or not. As you suggested I've created a AEM servlet to access the other AEM repository. But I'm getting same exception. Both servers are running on port 80. (To make sure, I've also tested with different ports.)Please advise.

Views

171

Likes

0

Replies

0
Exception while accessing AEM repository
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
We have two AEM instances and trying to access one AEM instance repository on other AEM instance. I've created workflow process where I used below to code to access. But it is throwing below exception when the process is executed.Piece of code: Repository repository = JcrUtils.getRepository("http://localhost:4502/crx/server");//Create a SessionSession session = repository.login( new SimpleCredentials("admin", "admin".toCharArray()),"crx.default"); Exception: Unable to access a repository with th...

Views

434

Likes

0

Replies

4
Re: How to find the assets created since last run
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Did you try this SELECT p.* FROM [dam:Asset] AS p WHERE p.[jcr:created] >= CAST('2015-08-19T17:38:36.221+05:30' AS DATE)

Views

122

Likes

0

Replies

0
How to remove custom jobs?
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
There were several custom jobs running and we wanted to remove all those jobs? How can we do it.

Views

97

Likes

0

Replies

2
Re: AEM inbox is not loading workflow items
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
It's not loaded at all.

Views

406

Likes

0

Replies

0
AEM inbox is not loading workflow items
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
There are several workflows running on and suddenly all the Workflow items in the inbox are not loaded. I see below error in firebug [1]. I think some workflow might be corrupted or something else. But how can we fix this issue so that users can see the work items in their AEM inbox. Quick response would be more appreciated.Note: Side kick is working as expected and users are able to complete workflow from sidekick when it is assigned them.[1]:GET http:///inbox/models.json?_dc=1431054685829 Than...

Views

1.0K

Likes

0

Replies

3
GC overhead limit exceeded
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
AME stops responding when we get Out of memory issue:Log Details: 08.05.2015 02:57:23.899 *ERROR* [10.9.91.251 [1431070180006] HEAD /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver Original error class java.lang.Exception java.lang.Exception: Wrapping Throwable: java.lang.OutOfMemoryError: GC overhead limit exceededPlease suggest me what could be the reasons and how to fix it.

Views

731

Likes

0

Replies

1
How to customize Image Reference path to the Jcr:content ?
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi,I've a requirement where I need to customize Image reference path. For example, I've a image component in the page and drag & drop the image (/content/dam/email-logos/colorpicker.jpg) on to the Image icon. Then the image reference will be stored to the page jcr:content as shown below:Page jcr:content image (fileReference ---- String ------ /content/dam/email-logos/colorpicker.jpg)But, I want to customize the image path (For example /content/dam/email-logos/colorpicker.jpg to test.com/colorpic...

Views

82

Likes

0

Replies

0
Re: CQ Workflow Inbox notification
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi,I think you try something like this:1. Process step a. Write a service to create a dynamic group with required users.2. Create dynamic participant step. a. Assign the step to dynamic group.(http://dev.day.com/docs/en/cq/current/workflows/wf-extending.html#Developing Participant Choosers for Dynamic Participant Step Components)3. Process Step (At the end of workflow) a. Delete the dynamic group. Thanks

Views

313

Likes

0

Replies

0
Re: Issue in overriding CQ userAdmin component
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi,Can you please give a try by changing the sling:vanityOrder property value from 301 to 302 under /apps/cq/core/content/tools/jcr:content. ThanksSiva

Views

75

Likes

0

Replies

0
How delegate feature works?
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi ,I want to achieve 'delegate' feature using custom code. Before that I just wanted to understand what is happening when we delegate workflow and I came to know that It is calling two servlets:1. http://localhost:8502/bin/workflow/inboxParameters:_charset_=utf-8cmd=delegatecomment-/etc/workflow/instances/2014-03-18/model_22574584942749/workItems/node2_etc_workflow_instances_2014-03-18_model_22574584942749=hellodelegatee-/etc/workflow/instances/2014-03-18/model_22574584942749/workItems/node2_et...

Views

125

Likes

0

Replies

0
Re: What's the possibility of handling Groups permissions using script?
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Thanks for the replies.Sham; It is difficult for us to set permissions manually using UI as we have hundreds of pages with sub level and set the same permissions for different groups. Can you please elaborate what do you mean by glob restrictions.

Views

137

Likes

0

Replies

0
What's the possibility of handling Groups permissions using script?
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi Team,Is that possible to create a script to meet following requirements:Example Content structure:/content /site-name /one /Products /Services /Careers /two /Products /Services /three /Products /Services /Careers /four /Products /CareersI know the site name, and page(s) for which I need to enable 'Read' access and for remaining pages we need to 'disable' Read access. For example, When we give 'Read' access to the 'xyz' group on 'site-name' level, then 'xyz' group will have access to all the l...

Views

292

Likes

0

Replies

4
Re: How to use AbsoluteTimeAutoAdvancer or any type of scheduled activiation in a workflow?
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Yes, it's up to your requirement. If you want to schedule a step in the particular workflow, you can just add you custom scheduler for step itself as you were trying.

Views

410

Likes

0

Replies

0
Re: How to use AbsoluteTimeAutoAdvancer or any type of scheduled activiation in a workflow?
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi, You can also write your own scheduler: Ref: http://sling.apache.org/site/scheduler-service-commons-scheduler.html

Views

383

Likes

0

Replies

0
Re: How to Access CRX Node from a JAVA file?
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi Scott, Thanks for your reply. I've followed the link and wrote a standalone java class to create crx node. I'm getting below exception:javax.jcr.RepositoryException: Unable to access a repository with the following settings: org.apache.jackrabbit.repository.uri: http://localhost:1304/crx/serverThe following RepositoryFactory classes were consulted: org.apache.jackrabbit.commons.JndiRepositoryFactory: declinedPerhaps the repository you are trying to access is not available at the moment. at or...

Views

284

Likes

0

Replies

0
How to Access CRX Node from a JAVA file?
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi, I'm using AEM 5.6.1 and would like to know how I can access CRX Node using standalone java code. ThanksSiva

Views

1.1K

Likes

0

Replies

3
Re: Customization of workflow Start Step dialog
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi,One way of the customizing start workflow dialog is overriding [1]. Here we can find CQ.wcm.SiteAdmin.startWorkflow function and add more fields as we required.[1]: "/libs/cq/ui/widgets/source/widgets/wcm/SiteAdmin.Actions.js"

Views

201

Likes

0

Replies

0
Re: Query Builder
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi Runal,Still I've a failure case:For example: If the Page start date is 2014-08-05 and expiry date is 2014-08-30.If you use Query as: type=cq:Pagegroup.p.or=truegroup.1_daterange.property=jcr:content/fstartDategroup.1_daterange.upperBound=2014-07-15T00:00:00group.1_daterange.upperOperation = "<="group.2_daterange.property=jcr:content/endDategroup.2_daterange.lowerBound=2014-07-01T00:00:00group.2_daterange.lowerOperation = ">="This query will display the page as endDate is greater than Lower Bo...

Views

328

Likes

0

Replies

0
Re: Query Builder
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Thanks for your replies.Gupta, Second one is the requirementb) List the pages which are available even partially in the given period? (e.g. start date is 2014-07-13 and expiry date is 2014-07-20)Example: Page start date is 2014-07-13 and expiry date is 2014-07-30Case 1: In the query if we use start date is 2014-07-10 and expiry date is 2014-07-20, it should display the result as the page is available in between 2014-07-10 , 2014-07-20, Case 2: In the query if we use start date is 2014-07-05 and ...

Views

312

Likes

0

Replies

0
Query Builder
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi,I have a requirement to write a query to meet following:Page has following properties:startdate (i.e, page will be available from this date)expirydate (i.e, page will be available till this date only)Query has to list out all pages which are available in a period of time.For examples:Page1 startdate: 2014-07-01 expirydate : 2014-08-30Page2 startdate: 2014-07-01 expirydate : 2014-08-30Page3 startdate: 2014-09-01 expirydate : 2014-09-30Now I want to list all the pages which are available betwee...

Views

1.2K

Likes

0

Replies

6
Re: How to logout user session in from jsp?
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Yes, Thanks Sam ..

Views

233

Likes

0

Replies

0
How to logout user session in from jsp?
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi,I've requirement where I need to log-out user from jsp at certain condition. I tried this:javax.jcr.Session userSession = resourceResolver.adaptTo(javax.jcr.Session.class);System.out.println("User Id:"+userSession.getUserID());userSession.logout();I got the logged in user session, but logout() method didn't work for me. Please suggest me, Quick response would be appreciated..Thanks

Views

355

Likes

0

Replies

2
Issue while using CQ.Ext.Msg.alert('Hello', 'Welcome to ExtJS');
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi,I'm trying to use CQ.Ext.Msg.alert('Hello', 'Welcome to ExtJS'); in jsp, but I see below error in the firebug.ReferenceError: CQ is not definedHere is the sample code in my jsp. CQ.Ext.Msg.alert('Hello', 'Welcome to ExtJS'); testing... It would be great if some one can correct me if any thing wrong... Thanks

Views

196

Likes

0

Replies

1
Re: How to get component path in component dialog.
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Finally, I could make this to work..Thanks for your inputs.

Views

441

Likes

0

Replies

0
Re: How to get component path in component dialog.
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Thanks for your replies, G.W, I tried your approach, but I'm getting obj.path as undefined. Here is sample dialog code: Actually, I need component path information at field levels inside the dialog tab. When I add the listener at dialog level I"m able to get the path but not at field levels. Please let me know If I'm doing something wrong here:

Views

435

Likes

0

Replies

0
How to get component path in component dialog.
Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
- Adobe Experience Manager
Hi,I've requirement where I need to populate component path in the component's dialog. For example, I've a component called 'Hello' and page 'XYZ'. I'm dropping the component into the page parsys. Then component path would be something: /content/XYZ/jcr:content/parsys/HelloNow, when I edit the component 'Hello', I need to get path (/content/XYZ/jcr:content/parsys/Hello) in the dialog listener. Quick response would be appreciated. Thanks In Advance

Views

2.1K

Likes

0

Replies

5