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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

iannovic
Community profile iannovic Level 2
Job title here
Location here
13 BADGES
Level 2

Level 2

Learn more
Joined the community 18-04-2017 11:03:57 AM
Offline
Top badges earned by iannovic
Customize the badges you want to showcase on your profile
Re: Access design_dialog(currentStyle) properties from within a Sling Model
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi Veena,Sorry for the late reply.I managed to try this with a new model that i created and it worked beautifully. Thank you for finding my problem!!!Regards,Ian

Views

1.1K

Like

1

Replies

0
Re: Access design_dialog(currentStyle) properties from within a Sling Model
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
No I wasn't using @Model(adaptables = SlingHttpServletRequest.class), I had @Model(adaptables = Resource.class) instead. that was probably my issue then?

Views

1.0K

Likes

0

Replies

0
Re: Access design_dialog(currentStyle) properties from within a Sling Model
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Update:I decided to extend WCMUse instead, this class has access to getCurrentStyle(). I am still interested if anyone has a way to make this work with a sling model though!

Views

1.0K

Likes

0

Replies

0
Access design_dialog(currentStyle) properties from within a Sling Model
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi,I am trying to access currentStyle properties from within a SlingModel. The SlingModel is being called from a HTL component using data-sly-use that has a functional design_dialog and accessible currentStyle.This was the only suggestion I could find using google:@Inject @Source("script-bindings") private Style currentStyle;and then@PostConstructpublic void init() { String startLevel = currentStyle.get("startLevel",String.class); }This isn't working. Can anyone tell me what I am doing wrong??Th...

Views

2.2K

Like

1

Replies

7
Re: Can you see if a page contains unpublished changes from author interface?
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Thank you Manoj! this is perfect.

Views

922

Likes

0

Replies

0
Can you see if a page contains unpublished changes from author interface?
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi,Is there a way to check if a page has UNPUBLISHED changes? We have many users who may come into a page and make a change, but sometimes there will already be modifications to the page that have not been published.If this is an out of the box feature I would love to know how to do it!Thanks,Ian

Views

1.4K

Likes

0

Replies

2
Re: Automation of data store garbage collection
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi,I am having the same problem here as swathib78201134. Did anyone figure this out?

Views

2.7K

Likes

0

Replies

0
Re: Investigating the cause of open sessions and bad site performance!
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Ok I will focus on search speed then,Thank you for your insight and time

Views

537

Likes

0

Replies

0
Re: Investigating the cause of open sessions and bad site performance!
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi smacdonald2008,I am speaking to daycare about adjusting the GC parameters and trying this.Thank you for reaching out to support!Ian

Views

534

Likes

0

Replies

0
Re: Investigating the cause of open sessions and bad site performance!
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi Jorg,The search.html component has a very big index on the /content/sites/global/en/*. I imagine this needs to be broken up into smaller indices. If these JCR Queries are causing lots of load on the system is the memory usage constantly at capacity? Wouldn't we be seeing some level of trends up and down to reflect these requests?Do you think any of these JCR Queries are persisting on the heap?Here are some graphs of the publisher's heapWhy are the JCR Queries persisting in memory for such a l...

Views

537

Likes

0

Replies

0
Re: Investigating the cause of open sessions and bad site performance!
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi,I posted the threaddump on my google drive: threaddump.tar.gz - Google Drive. Let me know if you can access and what you think.Thank you again for all of your help.

Views

528

Likes

0

Replies

0
Re: Investigating the cause of open sessions and bad site performance!
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi Jorg, thank you for your response.My version is AEM 6.2, and we do not have AEM Forms deployed at the moment. I will check threaddumps, and I have to check and see if GC logs are being recorded (I do not think they are, I haven't seen or looked at them before).In the thread dump analyzer, this stack trace below was blocking 8 threads:oak-repository-executor-1oak-repository-executor-1 - priority:5 - threadId:0x00007fe5a0ff1000 - nativeId:0x3a80 - state:RUNNABLEstackTrace:java.lang.Thread.State...

Views

539

Likes

0

Replies

0
Re: Investigating the cause of open sessions and bad site performance!
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi,Thank you for the reply and check in with support, I will try this and update on this thread

Views

535

Likes

0

Replies

0
Investigating the cause of open sessions and bad site performance!
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi everyone,My AEM Production instance is experiencing very high garbage collection CPU Usage and performance issues. I think it might be because of sessions being left open.I am checking /system/console/jmx on one of the publishers experiencing high garbage collection (over 60% cpu usage over 10+ hours)I know that by default, there is ~85 SessionStatistics mbeans, and right now there is ~119 SessionStatistics mbeans. I think that very large objects on the heap are being retained due to these se...

Views

2.3K

Like

1

Replies

13
Re: Debugging AEM Servers: How to use jmap and jstack linux commands
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi,Yes I was, but the document fails to mention that the correct way to take a threaddump in AEM servers right now is by using the "sudo /usr/local/bin/threaddump" command. I think this was a tool written by someone at adobe that exists on all the servers.Maybe have someone update that document to reflect that to avoid future confusion

Views

1.5K

Likes

0

Replies

0
Debugging AEM Servers: How to use jmap and jstack linux commands
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi Everyone,I recently had a post with adobe daycare and they said they were unable to help due to the lack of files provided for analysis. They asked specifically for log files (which I provided) and thread dump files (which I did not have created).Their instructions for future queries was to use "jstack" command to create thread dumps for them to help analyze and provided this URL for instructions: Take thread dumps from a JVM.I first determined the PID that JVM was running on using:"ps -el | ...

Views

2.3K

Likes

0

Replies

2
Re: Ajax call to servlet in sightly
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Link is broken

Views

3.0K

Likes

0

Replies

0
How to access a SlingServlet from Serverside JavaScript
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi everyone,I wrote a SlingServlet at @SlingServlet(resourceTypes = "/apps/global-components/left-nav", selectors = "breadcrumb", extensions = "data")It is just returning a JSON object that is a list of page paths.What is the best way to access this SlingServlet from Serverside JavaScript? or from HTL? I want to render the data doing something like this in HTL: ${path}

Views

487

Likes

3

Replies

1
Re: Redesigning a relational database within a JCR
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
My company wants to migrate the database off of the server that it is currently running on by moving the database and linked applications into AEM

Views

480

Likes

0

Replies

1
Redesigning a relational database within a JCR
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi everyone,I am working on my first AEM web application and it involved importing a simple relational database into JCR. I read that having 1000 child nodes in the same folder is bad practice so I decided to redesign the table. The following is the approach I am taking:The app is a simple web form that has two parameters; Zipcode and ProductLine. These two parameters in tandem will form a unique node path. The path is formed as /content/myapp/database/master/zipcode/productline. However the zip...

Views

534

Likes

0

Replies

3
How to add a component to the paragraph system
Avatar
Ignite 5
Level 2
iannovic
Level 2

Likes

7 likes

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
iannovic
- Adobe Experience Manager
Hi Everyone,I am new to AEM development and I have made one of my first components.What would I have to do to be able to add the component via design and edit mode to a geometrixx page or my own web app's parsys?Thanks!

Views

1.7K

Like

1

Replies

2