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

harsha__
harsha__
Offline

Badges

Badges
10

Accepted Solutions

Accepted Solutions
0

Likes

Likes
2

Posts

Posts
22

Discussions

Discussions
0

Questions

Questions
22

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by harsha__
Customize the badges you want to showcase on your profile
In AEM 6.3 unable to edit RichText field in Multifield for editing first time
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
In AEM 6.3 unable to edit RichText field in Multifield for editing first time, Using Coral multified (granite/ui/components/coral/foundation/form/multifield)

Views

583

Likes

0

Replies

1
Re: best way to increase performance
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
Thanks rodolfoe61952519 for your suggestion. it seems like a best choice

Views

579

Likes

0

Replies

0
Re: best way to increase performance
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
As per our client he wants all the data to be stored used Restful service and not in Jcr.. but for temporary use I am using cookies to store data. I see cookies and Guava Cache has advantages over javax.servlet.http.HttpSession(from request) storage. So will be implementing them. smacdonald2008​ Thank you

Views

576

Likes

0

Replies

0
Re: best way to increase performance
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
smacdonald2008 Thanks for your answer. But I am ok with Restful calling and getting the response code part.I am looking to save the response in Session or Cookie to avoid hitting the restfull service frequently. but confused about which one to prefer for storing Response, such as should I use Session setattribute to save the respoIse or should i use cookies in browsers to save the response?

Views

570

Likes

0

Replies

0
Re: best way to increase performance
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
smacdonald2008 feike_visser Can you help me with my last query?

Views

575

Likes

0

Replies

0
Re: best way to increase performance
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
feike_visser no Session-failover in AEM means, AEM user session will be lost if any publish server in the publish network is lost? if this is the case with AEM then storing response in session is not a good idea right? please help me make a better choice between cookie or javax.servlet.http.HttpSession(from request as attribute) for my application.

Views

572

Likes

0

Replies

0
Re: best way to increase performance
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
Thanks Mac. you are very helpful

Views

575

Likes

0

Replies

0
Re: best way to increase performance
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
I see that you prefer session over cookie to store frequently used response.Thanks for the quick response smacdonald2008

Views

577

Likes

0

Replies

0
best way to increase performance
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
What is the best Way to increase performance in AEM?I need to call restful services from AEM frequently. I am planning to save the frequently getting response in javax.servlet.http.HttpSession(from request) or Cookie. But confused of which aproach to follow. Need some assistance from who have implemented either in their production systems.

Views

1.8K

Like

1

Replies

15
Re: unable to get data from query.. showing error at SUBSERVICE,getServiceResourceResolver(param).
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
SurendraKonathala wrote... Are you trying this on AEM 6.1? Try these: 1. Override the "activate" method in your class to instantiate the "ResourceResolver".. here's a sample @Component(immediate = true, label = "SiteContent Helper", description = "SiteContent Helper")@Service(value = SiteContentHelper.class)@Properties({@Property(name = Constants.SERVICE_DESCRIPTION, value = "SiteContent Helper") })public class SiteContentHelper {@Referenceprivate ResourceResolverFactory resolverFactory;private ...

Views

645

Likes

0

Replies

0
Re: unable to get data from query.. showing error at SUBSERVICE,getServiceResourceResolver(param).
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
smacdonald2008 wrote... See this AEM community artilce that talks about how to use JCR API to query JCR Data: https://helpx.adobe.com/experience-manager/using/querying-experience-manager-data-using1.html Thanks for ur reply @ smacdonald2008 . I have tried this example before posting the question. it is not working to the fullest.! there are some changeswe need to do in order to make it work, probably that is just me. Happy Helping !

Views

644

Likes

0

Replies

0
unable to get data from query.. showing error at SUBSERVICE,getServiceResourceResolver(param).
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
unable to get data from query.. showing error at SUBSERVICE,getServiceResourceResolver(param).Code: Please excuse me as the code logic is in inchoate state. but this my java class and I am trying to call getCustomerData() method to query node.And i also want to know whether this class can be used not as a service and still can it query the node?attached java file as the code is too large to paste here [img]error.png[/img]

Views

1.9K

Likes

0

Replies

6
Re: posting data to Custom servlet in AEM6 to get the response from servlet.
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
Hi Pawan,Thanks for the prompt response. I followed ur first point, this itself resolved my issue.The posting data is happening and I also checked the Sling-> Sling Servlet Resolver at http://localhost:4502/system/console/configMgr , which is working fine. by giving "/bin/HelloFormServlet" at is picking the "PollController"Again Thanks for correcting me

Views

896

Likes

0

Replies

0
Re: posting data to Custom servlet in AEM6 to get the response from servlet.
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
smacdonald2008 wrote... See this community article - it has an example package to so you can see it in action: https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html Also - from the above exception - it looks like the bundle containing the servlet was not in an active state. Therefore AEM was not able to find it. i have installed the package in the url at home AEM6 which is having the same issue. but at the office the package is working.Anyways ..the component for the servle...

Views

756

Likes

0

Replies

0
posting data to Custom servlet in AEM6 to get the response from servlet.
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
http://stackoverflow.com/questions/32278952/posting-data-to-custom-servlet-in-aem6-I'm trying to create a servlet in CQ. Then from my page will make an AJAX call posting data to Custom servlet in AEM6 to get the response from servlet.My servlet class is belowpackage com.kicker.disolutions; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.HttpURLConnection; import java.net.URL; impo...

Views

3.9K

Likes

0

Replies

4
querying experience manager sling
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
After installing the component from "https://helpx.adobe.com/experience-manager/using/querying-experience-manager-sling.html" I was not able to fetch data that is to be displayed.. i have entered data and the data is storing normally. but fetching is not working. I am using AEM6Please help!Error:GET /content/DataQUery/_jcr_content.query.json HTTP/1.1] com.community.aem.CustomerServiceImpl THIS IS MAJOR ERROR org.apache.sling.api.resource.LoginException: Login Failure: all modules ignored at org....

Views

256

Likes

0

Replies

1
Re: Using "@Reference private QueryBuilder builder;" is not making my servlet work
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
smacdonald2008 wrote... from your code: /*@Reference*/ private QueryBuilder builder; The annotation looks like its in a comment. Have a look at this community article to learn how to use QueryBuilder: https://helpx.adobe.com/experience-manager/using/using-query-builder-api1.html yes u r right..with Annotation the servlet is not detecting and without annotation "Builder" instance is not creating

Views

472

Likes

0

Replies

0
Re: Using "@Reference private QueryBuilder builder;" is not making my servlet work
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
Jörg Hoh wrote... Hi, in that case the reference is not available. You can you check for your class in /system/console/components and find out, which dependency is not resolved (likely the QueryBuilder). In the same view you can also check for the QueryBuilder. kind regards,Jörg Hi,I see the dependency issue is there int the bundle. but for time being i had to bypass Querybuider and used the code below. once i find time i will lookinto dependency..!void getOnlyPollData(SlingHttpServletRequest re...

Views

494

Likes

0

Replies

0
Re: Using "@Reference private QueryBuilder builder;" is not making my servlet work
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
Hi,I see the dependency issue is there int the bundle. but for time being had to bypass Querybuider and used the code below. once in find time i will lookinto dependency..!void getOnlyPollData(SlingHttpServletRequest request){ Map param = new HashMap(); /* param.put(ResourceResolverFactory.SUBSERVICE, "datawrite"); */ // ResourceResolver resolver = null; StringBuffer tagQuery = new StringBuffer(); try { tagQuery.append("SELECT * FROM [nt:unstructured] AS s WHERE NAME() = 'pollValues'"); Resource...

Views

478

Likes

0

Replies

0
Re: Using "@Reference private QueryBuilder builder;" is not making my servlet work
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
Jörg Hoh wrote... Hi, In this case the DefaultPostSerlvet kicks in, as there is no other resourcetype registered to this resource, which can handle the POST. This is just a signal, that your servlet is not registered. When you use Java annotations, don't put them in a comment. kind regards,Jörg My servlet is registered and showing in "sling servlet resolver" pointing to the correct class.. when i keep @Reference the servlet class is not showing in "sling servlet resolver"

Views

475

Likes

0

Replies

0
Re: Using "@Reference private QueryBuilder builder;" is not making my servlet work
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
Feike Visser wrote... what exactly is going on your end? is the object null? piece of the error log i am getting02.09.2015 01:48:20.450 *ERROR* [0:0:0:0:0:0:0:1 [1441138700435] POST /bin/HelloFormServlet HTTP/1.1] org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing. javax.jcr.RepositoryException: org.apache.sling.api.resource.PersistenceException: Resource at '/bin/HelloFormServlet' is not modifiable. at org.apache.sling.servlets.post.impl.operatio...

Views

481

Likes

0

Replies

0
Using "@Reference private QueryBuilder builder;" is not making my servlet work
Avatar
Ignite 5
Level 2
harsha__
Level 2

Likes

2 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Give Back 5
Give Back 3
View profile
harsha__
- Adobe Experience Manager
I am using AEM6. Using@Reference private QueryBuilder builder;is not making my servlet work.. is there any Solution for this? is there any other alternative to get the Query builder instance with out using "@Reference"?package com.kicker.disolutions; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.HttpURLConnection; import java.net.URL; import java.rmi.ServerException; import java...

Views

1.4K

Like

1

Replies

12