since ‎25-09-2017
‎15-07-2020
bilala23933647
Level 3
Re: *ERROR* org.eclipse.jetty.io.EofException: Stream closed bilala23933647 - Adobe Experience Manager
Thank you so much @chitra-madan for you inputs. I checked the cq:redirectTarget at page property and that's being saved properly. Unfortunately the error keeps on appearing even if I directly access the page with the server IP 😞 Many Thanks,bilal.
82
Views
0
Likes
0
Comments
*ERROR* org.eclipse.jetty.io.EofException: Stream closed bilala23933647 - Adobe Experience Manager
Hello community members,I'm getting this error and not being able to figure out what exactly happened that caused it. Any help is highly appreciable. 12.07.2020 16:45:13.644 *ERROR* [182.74.39.237 [1594572313559] GET /etc/cloudsettings.styles.css/conf/mySite/settings/cloudsettings/mySite/contexthub HTTP/1.1] org.apache.sling.engine.impl.SlingMainServlet service: Uncaught Problem handling the request org.eclipse.jetty.io.RuntimeIOException: org.eclipse.jetty.io.EofException: Stream closed at org....
128
Views
0
Likes
4
Answers and Comments
Re: Suggestion : create a custom namespace for my applica... bilala23933647 - Adobe Experience Manager
Thank you @berliant, it was helpful.
2211
Views
0
Likes
0
Comments
Re: Suggestion : create a custom namespace for my applica... bilala23933647 - Adobe Experience Manager
Thanks ton, @Jörg_Hoh , you're the best!
1727
Views
0
Likes
0
Comments
Re: Suggestion : create a custom namespace for my applica... bilala23933647 - Adobe Experience Manager
Thank you so much, Arun. Appreciate your apt response 🙂
1722
Views
0
Likes
0
Comments
Re: Need suggestion on storing data containing special ch... bilala23933647 - Adobe Experience Manager
Thank you @ArpitVarshney, really appreciate your efforts on this.The real issue seemed to be the encoding(yeah, idk why that happened because i'm using AEM6.4.4 and I don't understand why it didn't let me save the data). The reason I'm saving every incoming objects(key-value pair) in node property is, to have a readable/easy structure. Still, I will try your solution as well, for that will not make me write a lot of code 😉 Many Thanks,Bilal.
2229
Views
0
Likes
0
Comments
Suggestion : create a custom namespace for my application bilala23933647 - Adobe Experience Manager
Dear Community members, I am curious if I can create a namespace to save my custom properties. Just like what AEM offers - jcr:title, dc:description, etc . I want to create my own(mysite:customTitle) and use it across my application. A. is it feasible?B. If yes, then how to do it? what's the catch and things I must take care of while creating one? Look forward to your valuable thoughts on this. Many thanks in advance,Bilal.
5135
Views
0
Likes
7
Answers and Comments
Re: Need suggestion on storing data containing special ch... bilala23933647 - Adobe Experience Manager
Thanks ton, @ArpitVarshney for your sharing valuable thoughts, it was indeed thoughtful. If I save the whole JSON response as node, I have two things to accomplish:1. Use the node data(saved json) to build a UI(show data on my page).2. Search in the JSON(which i'm hesitant to do 😞 )Do you know any way I can incorporate the architecture you shared, to save the incoming response and the things I want to achieve(above two points)?Many Thanks,Bilal.
2703
Views
0
Likes
0
Comments
Need suggestion on storing data containing special characters bilala23933647 - Adobe Experience Manager
Dear community members,I'm trying to create JCR nodes based on the data returned by http get. Some of the data contains special characters. .. .. "details": [ { "label": "Présentation de l’entreprise:", "value": "Chez , nous donnons aux gens la possibilité d'interagir naturellement avec leurs divers appareils connecté." }, { "more-details": "Sommaire du poste: ", "value": "" }, .. .. I cannot directly save the data, can someone please suggest a way I can save this information? I need to display ...
4322
Views
1
Like
6
Answers and Comments
Re: Need Suggestion - Creating, managing and operations o... bilala23933647 - Adobe Experience Manager
Thank you @Theo_Pendle for your valuable thoughts, Your detailed responses are indeed great help 🙂I will not only store the nodes in AEM, but will update them periodically(thrice a day or more) if there is any change in coming response from my GET request, then i'll update the node properties). Also, would that be a good approach to keep a batch of nodes together(here, the set0, set1 and so on. multiple of 1000), if yes, how to achieve that?: Thanks,Bilal
2953
Views
0
Likes
0
Comments
Need Suggestion - Creating, managing and operations on over 1000+ nodes bilala23933647 - Adobe Experience Manager
Dear community members,I'm supposed to fetch data from a REST endpoint and converting it into AEM nodes*. Basically there are multiple categories(max 10) and every category has approx 1000-1200+ objects(which i need to convert to JCR nodes). I have read that I shouldn't be saving more than 1000 nodes under one node and that is my major concern here.Once I save the data in AEM(nodes), I'm supposed to do a fulltext search and I need to incorporate filters(approx 7) along with it:Could someone plea...
3153
Views
1
Like
2
Answers and Comments
Re: AEM Integration with Microsoft Active Directory for SSO bilala23933647 - Adobe Experience Manager
Hi @adithyaa4585051,Yes, the official documentation is confusing. However, for testing purpose, you may follow Integrating SAML with Adobe Experience Manager to:1. Setting up the Identity provider.2. Download the IDP certificate from here :3. After that, create a password( and make a note - you'll need it to configure Saml 2 Auth Handler later on) for Global trust store (located here - /libs/granite/security/content/truststore.html)4. Upload the certificate that you downloaded(step 2) here, and ...
3032
Views
0
Likes
0
Comments
Re: AEM Integration with Microsoft Active Directory for SSO bilala23933647 - Adobe Experience Manager
Hi @adithyaa4585051 ,SAML authentication would do, I believe. After you configure your AEM (trust store and keystore), and "Adobe Granite SAML 2.0 Authentication Handler" on config browser. It'd be done easily than you ever thought.Reference: SAML 2.0 Authentication HandlerIn addition to that you need certificate chain for your domain and private key(your IT/web-hosting dept will provide that.Thanks,Bilal.
3560
Views
2
Likes
2
Answers
Re: in my project i need to take back up so index does no... bilala23933647 - Adobe Experience Manager
Hi @rohan07,I'm assuming you're talking about content backup(pages, assets, configurations).Create a content package(package manager) and it will just be fine. For the automation you can write cURL scripts and save it on your linux machine(usually hosted on linux servers) and create a crontab entry and that will take care of your periodic content backup(s). The only information you lose is version history.snippet: # creates the package curl -u admin:admin -X POST http://localhost:4502/crx/packmg...
3421
Views
1
Like
1
Answers
Re: reindexing bilala23933647 - Adobe Experience Manager
Hi @bsr060893,First off, why did you delete the folder index under /crx-quickstart/repository as a part of full re-index(I believe that's what you're trying to achieve). You don't have to do that even if you want to fully re-index.Have a look at this : How to complete full re-indexing in AEM Also, setting reindex={Boolean}true is one way to do it, but only a particular index will get re-indexed, not all of them.Thanks, Bilal.
3367
Views
1
Like
1
Answers
Re: Only two components can be added to page otherwise it... bilala23933647 - Adobe Experience Manager
Hello @shahidwaris, The solution @Arun_Patidar has given is handy and easy to implement, but if your project architecture doesn't allow acs-commons to be installed in the instance, you can look at this approach - https://wcmaem.blogspot.com/2013/12/copy-parsys-component.html. It's old and incorporated on 5.6.1, but I believe it will work on your AEM instance too. Couple years ago I came across the same situation and @kautuk_sahni suggested that solution. Thanks,Bilal.
2081
Views
2
Likes
0
Answers
Re: Java use-class getting called twice bilala23933647 - Adobe Experience Manager
Hello @Theo_Pendle, I was migrating all JAVA SCR annotaions to OSGi DS annotation, and to my surprise, after replacing the annotations the problem seems to have resolved by itself(I have no idea how!). I placed the debugger at WCMUse activate method and it got called only once! Strange but any clue what might've caused it? Many Thanks, Bilal.
4651
Views
0
Likes
0
Comments
Re: Scheduled job to import data bilala23933647 - Adobe Experience Manager
Hi @Mayukh007, I'd suggest you create a java scheduler and call your service from that. That way it'd be easy for you to maintain/debug the code. Now coming to the implementation:1. You need to write a java Scheduler and specify the scheduler.expression when you want it to run(http://www.cronmaker.com/). Inside the run() method, you can call your service implementation methods2. You need to write a Service class where you'd specify the methods(like fetchGetResponse(), writeDataToJcrNodes() etc.)...
3949
Views
3
Likes
3
Answers
Re: Unable to set pipeline.type while migrating from SCR to OSGi DS annotation bilala23933647 - Adobe Experience Manager
Dear @Arun_Patidar and @ArpitVarshney, Thank you very much for your valuable time and attention. While I was worried about why it wasn't working, turned out that I messed up with maven-bundle-plugin version in my project pom.xml(I was using 2.5.3 and changed it to 4.1.0 but somehow it got changed back to 2.5.3). Once i fixed that, I was being able to set the property the way I was trying without any changes in my java class:
6400
Views
0
Likes
0
Comments
Re: Unable to set pipeline.type while migrating from SCR... bilala23933647 - Adobe Experience Manager
Thank you @Arun_Patidar, really appreciate your help. I tried this, even then i get the same error 😄 looks like I need to try this on someone else's instance or create a fresh instance and try it. Cause I don't think that it' that complicated and just refusing to set one property! Any way, thank you so much. I will keep this area updated with my findings. Thanks, Bilal.
4010
Views
0
Likes
0
Comments
Re: Unable to set pipeline.type while migrating from SCR... bilala23933647 - Adobe Experience Manager
Thank you @ArpitVarshney for the quick response! However I tried setting that value the way you shared. Still it says "Unable to get component of class 'interface org.apache.sling.rewriter.Transformer' with type 'gatedassettransformer'". And that is strange!! Any other suspicion/thoughts ? Many Thanks, BIlal.
5038
Views
0
Likes
0
Comments
Unable to set pipeline.type while migrating from SCR to OSGi DS annotation bilala23933647 - Adobe Experience Manager
Dear community members,I am migrating my codebase from using SCR annotations to DS annotations. While the previous implementation sets the 'pipeline.type' property this way and it's working:And I just tried this way to migrate it: but it couldn't set the property somehow. It threw: Valuable thoughts?Thanks in advance, Bilal.
6708
Views
0
Likes
7
Answers and Comments
Re: Java use-class getting called twice bilala23933647 - Adobe Experience Manager
I haven't tried this - going to try and update here. Thanks ton!
2664
Views
0
Likes
0
Comments
Re: Java use-class getting called twice bilala23933647 - Adobe Experience Manager
wow! @Theo_Pendle such a detailed answer :). thank you for your time and attention at this. Well, I agree to you that I(or rather we, the development team) should migrate our code and start using latest practices(sling model in this case) I'd say that we are already on that path, but migrating slowly from old practices to the new ones.Now, for your raised points,1. I'm having a page where only one component which uses this class is present, still two calls to activate method.2. I'm not referring...
4952
Views
0
Likes
0
Comments
Re: Java use-class getting called twice bilala23933647 - Adobe Experience Manager
Thanks for the response, Veena_07Here's how I found out - I have created a page with only one component(this one) on it. I start my AEM instance in debug mode and placed a breakpoint at activate() method. when I refresh the page, the control comes to the activate method, it executes, then it gets called again and gets processed. Many Thanks, Bilal.
4985
Views
0
Likes
0
Comments
Re: Java use-class getting called twice bilala23933647 - Adobe Experience Manager
Thank you @ArpitVarshney, but CommonUtilUse is called only once from this component on this html. I have created a page where there's only one component, this one and then i'm seeing it getting called twice. I have, however other components which use the same java class but if I include them on my page, number of calls further increase in multiple of 2.
5526
Views
0
Likes
0
Comments
Re: Java use-class getting called twice bilala23933647 - Adobe Experience Manager
CommonUtilUse is the WCMUse that I'm talking about. It gets called twice. I removed other pieces from the html file so that only my < sly data-sly-use.commonutilobj ="${'com.mysite.aem.core.use.CommonUtilUse'}" /> gets called. Still I see it getting called twice. However I' m not calling the activate method in this java class/any other java class 😞
5575
Views
0
Likes
0
Comments
Re: Java use-class getting called twice bilala23933647 - Adobe Experience Manager
Thank you Arpit, for your response. I tried debugging it but the only clue I got is that my activate() method got called twice 😞Here are my files for your reference: ${properties.H5Eyebrow ='unsafe'} ${supuse.highlight ='unsafe'} ${properties.leadPara ='unsafe'}
5588
Views
0
Likes
0
Comments
Re: Java use-class getting called twice bilala23933647 - Adobe Experience Manager
Thank you so much Veena. for responding to my issue, also apologies for the delayed response. I'll attach the files here: ${properties.H5Eyebrow ='unsafe'} ${supuse.highlight ='unsafe'} ${properties.leadPara ='unsafe'}
5049
Views
0
Likes
0
Comments
Re: Java use-class getting called twice bilala23933647 - Adobe Experience Manager
Thank you so much Veena. for responding to my issue, also apologies for the delayed response.
5051
Views
0
Likes
0
Comments