since ‎12-11-2014
‎19-01-2021
prohira
Level 2
AEM load testing - Apache JMeter
Avatar

prohira

prohira
- Adobe Experience Manager
I need help in doing load testing using JMeter. I wrote my scripts and it's working fine on my local. Using JMeter, I can login, perform Omni Search and able to test other custom functionalities also on my local AEM instance. When I try to do the same thing on remote instances, JMeter is error'ing out.First step is to login to remote instance - I am doing a POST call to /libs/granite/core/content/login.html/j_security_check and passing all the parameters but I get a 403 Forbidden error. As part ...

Views

964

Likes

0

Replies

1
Fixing segmentnotfound error
Avatar

prohira

prohira
- Adobe Experience Manager
We are seeing SegmentNotFound error in our logs. I found this article on how to fix it but this article applies to AEM 6.0|1|2. We are working on AEM 6.3 and when trying to execute command "java -Xmx6000m -jar oak-run-*.jar check -d1 -p /path/to/crx-quickstart/repository/segmentstore" it says "1 is not a recognized option".Fix Inconsistencies in the repository when SegmentNotFound Issue is reported in AEM 6.x

Views

535

Likes

0

Replies

1
Re: AEM migration from Windows server to Linux
Avatar

prohira

prohira
- Adobe Experience Manager
Hi Scott, content packages doesn't sound feasible approach when we are talking about moving ~10 TB content.

Views

2.5K

Likes

0

Replies

0
Re: AEM migration from Windows server to Linux
Avatar

prohira

prohira
- Adobe Experience Manager
I appreciate your prompt response. Considering your point in mind, I have a question: if I move to windows servers in the cloud, how can I migrate the repository (as per my original question; we are using Network File Share as data store)? What would be my options?1. If I want to keep the same network file share as data store, how this can be configured? I know AEM now uses the Data Store configurations (File Data Store and S3 Data Store)2. OR what can be done to move data store to local disk (a...

Views

2.5K

Likes

0

Replies

2
Re: AEM migration from Windows server to Linux
Avatar

prohira

prohira
- Adobe Experience Manager
Hi Dave,We are upgrading the AEM to 6.3 version and moving to cloud. Current instance (windows AEM 5.6.1) is on-premise. Hence this question.Thanks.

Views

2.5K

Likes

0

Replies

4
AEM migration from Windows server to Linux
Avatar

prohira

prohira
- Adobe Experience Manager
I have a requirement where I want to migrate AEM 5.6.1 from Windows to Linux.Few points:On Windows, the data store is setup to use Network File Share. See the configuration below.The instance is heavy in size; around ~10 TBrepository.xml configuration: What would be the migration steps if I want to migrate to Linux and keep the data store still on Network File Share?OR What would be the migration steps if I want to migrate to Linux and keep the data store locally?Thanks.

Views

2.8K

Like

1

Replies

8
Re: How to migrate server AEM 6.3 (Windows) to EM 6.3 (Linux)
Avatar

prohira

prohira
- Adobe Experience Manager
Hi Scott,What is the repository is content heavy and total size is in TB? How do we package up the content?

Views

442

Likes

0

Replies

0
Re: Deleting packages from crx-quickstart/install folder
Avatar

prohira

prohira
- Adobe Experience Manager
Hi ssellath,That's not the behavior what I saw on my instances. I did restarted my instance couple of times but it never tried to re-install those again. I would suggest to create a daycare ticket.Thanks.

Views

1.5K

Likes

0

Replies

0
OSGi DS Annotations - showing multiple configurations in Felix Console
Avatar

prohira

prohira
- Adobe Experience Manager
While migrating the code to 6.3, we are moving to OSGi DS Annotations. I created two files:1. Interface (where I am keeping all the properties) - com.abc.web.config.TestConfiguration.java2. Component/Service which will be actually used in other components in order to pull the properties configured. - com.abc.web.config.ConfigurationService.java3. we have config.xml (sling:osgiConfig) files for this configurations because each environment needs to pull different values. - /apps/project/configurat...

Views

1.8K

Likes

0

Replies

1
AEM 6.3 Upgrade: File Data Store vs Custom Data Store
Avatar

prohira

prohira
- Adobe Experience Manager
I am reading the 6.3 Upgrade document: Upgrading to AEM 6.3Question 1:Under the Repository Migration command, it specifies different commands for "From AEM 6.x with TarMK with File Data Store" and "From AEM 6.x with TarMK with custom Data Store". What's the difference between File Data Store and Custom Data Store and how do I know which one I have on my current 6.1 servers? Is there a configuration which I can check to see if we are using File Data Store or Custom?Question 2:Configuring node sto...

Views

1.0K

Likes

0

Replies

1
Re: delivering a different response based on region
Avatar

prohira

prohira
- Adobe Experience Manager
Hello Kautuk,I forgot to mention, we are using AEM 6.1, so Experience Fragment doesn't fit here.The issue is how to load appropriate DTM JS file in the head section. You are right, "via DTM we can certainly load any number of scripts" but here I am looking to load different DTM JS files based upon user location.Thanks.

Views

725

Likes

0

Replies

0
Re: delivering a different response based on region
Avatar

prohira

prohira
- Adobe Experience Manager
Hi Scott,I need to load the JS (test1.js or test2.js) in head section. Would it be possible thru Context Hub/Personalization? FYI: these JS files are DTM JS, if that makes any difference.

Views

728

Likes

0

Replies

0
delivering a different response based on region
Avatar

prohira

prohira
- Adobe Experience Manager
We have a multi-national website. We want to load two JS files let's say test1.js and test2.js on our website based on the user location. The user location is being detected using Akamai EdgeScape headers. Let's say if the user location is China, we want to load test1.js otherwise test2.js should load on the page. The requirement is to load these JS files on server-side, not client-side. These JS files will be included at template level so that they are present in every page on the website.The p...

Views

1.6K

Likes

0

Replies

6
Deleting packages from crx-quickstart/install folder
Avatar

prohira

prohira
- Adobe Experience Manager
We are running on AEM 6.1 SP2 CFP4. The way we installed SP2 and CFP4 was thru copying the zip packages into the install folder (this was recommended by Adobe because we were facing some issues while installing them thru package manager).Now we are planning to upgrade to AEM 6.3. One of the note on Upgrading to AEM 6.3 says that "Packages in the install folder in the repository will be reinstalled after the upgrade.". I am wondering if upgrade process is going to re-install 6.1 SP2 + CFP4 packag...

Views

3.3K

Likes

0

Replies

7
S3 Data Store - Local cache size
Avatar

prohira

prohira
- Adobe Experience Manager
In my project, I have setup a S3 Data Store. The S3 bucket size is around 200GB. I have specified the Cache Size parameter as <> in org.apache.jackrabbit.oak.plugins.blob.datastore.S3DataStore.config file but I see my actual local cache size is around 50GB, not 200GB. I am under impression that local cache size will be equal to S3 Bucket size.Trying to understand the way S3 Data Store works.Thanks, Pankaj

Views

500

Likes

0

Replies

0
S3 data store backup
Avatar

prohira

prohira
- Adobe Experience Manager
General Question: A client has its AEM instances on AWS and as a data store, he uses S3 Data Store not the File Data Store. How the backup can be performed so that it can be restored later if needed (in case of any crashes).Thanks.

Views

510

Likes

0

Replies

0
Dispatcher Flush Agent on Publish instance - 403 Forbidden
Avatar

prohira

prohira
- Adobe Experience Manager
Hello,I have a requirement to setup Dispatcher Flush Agent on Publish instance. For that, I created the dispatcher flush agent on Author instance under "Agents on Publish" and activated it. When I go to Publish instance and hit "Test Connection", I see this error: You don't have permission to access /dispatcher/invalidate.cacheAt the same time, I see an error in dispatcher.log "[x.x.x.x.] - Client denied by server configuration". (where x.x.x.x is Publisher IP address). That said, I have already...

Views

1.2K

Likes

0

Replies

0
Reflected Cross-site Scripting Issue
Avatar

prohira

prohira
- Adobe Experience Manager
Hello,I have an issue with Reflected Cross-site Scripting (XSS) with this URL: http://localhost:4502/content/dam/test.pdf">. This is a type of XSS attack I need to get over. To try, please use Firefox.

Views

711

Likes

0

Replies

2
Re: AEM 6.1 - OSGi component gets deleted when stopped
Avatar

prohira

prohira
- Adobe Experience Manager
Hi Kautuk,I tried it again, I didn't see the component in the list again. I tried to find that component in the list but didn't see; tried to sort the list with id; no luck.

Views

2.8K

Likes

0

Replies

0
Re: AEM 6.1 - OSGi component gets deleted when stopped
Avatar

prohira

prohira
- Adobe Experience Manager
Hi Steve,I tried it on a clean CQ server this time. Please see attached screen-shot. In screen-shot-1 you will see an OSGi component referrerFilter (with id 3). I stopped this component and see attached screen-shot-2 where this component is missing.Thanks.

Views

2.8K

Likes

0

Replies

0
AEM 6.1 - OSGi component gets deleted when stopped
Avatar

prohira

prohira
- Adobe Experience Manager
Hello,I am facing an issue in AEM 6.1. When I am trying to stop any (library or custom build) OSGi component, it gets deleted. It comes back when I restart the instance which is not a good option for higher environment for e.g production. I never faced this issue in AEM 5.6.1.Thanks.

Views

2.9K

Likes

0

Replies

6
Searching for assets using TagManager API
Avatar

prohira

prohira
- Adobe Experience Manager
Hello,I am using TagManager API to search for assets based on specified tags. I am using below function:RangeIterator find(String basePath,String[] tagIDs)My search component is tagged with: namespace:parent_tag1/parent_tag2 - I want to find assets which are tagged with this tag but when using above "find" function, I am getting assets which are tagged with "namespace:parent_tag1/parent_tag2" and the assets which are tagged with the child tags of above asset, for e.g. "namespace:parent_tag1/pare...

Views

1.1K

Likes

0

Replies

1
Re: Client Context is not updating on page
Avatar

prohira

prohira
- Adobe Experience Manager
Finally I got it resolved.I went thru this post: http://labs.6dglobal.com/blog/2012-08-30/creating-cq-55x-clientcontext-compatible-jsonp-servlet/ and it helped.

Views

602

Likes

0

Replies

0
Re: Client Context is not updating on page
Avatar

prohira

prohira
- Adobe Experience Manager
I don't see any calls going thru in browser console (also I don't see any errors in error.log) when I am on page but I can see a JSONP call here: http://localhost:4702/etc/clientcontext/default/content.html and it indeed shows me a proper response.Am I missing anything? Can you please try on your machine and let me know if it works for you.Thanks.

Views

585

Likes

0

Replies

0
Client Context is not updating on page
Avatar

prohira

prohira
- Adobe Experience Manager
Hello,I am following article https://docs.adobe.com/docs/en/cq/5-6-1/administering/client_context.html. At this step "Add the JSONP Store Component " after calling API http://api.wipmania.com/jsonp?callback=${callback} I can see details populating on client context in edit mode but when I come back on page and refresh it, I don't see it loading.Thanks.

Views

924

Likes

0

Replies

4
Re: cURL: Is it possible to add filter for packaging a specific content path
Avatar

prohira

prohira
- Adobe Experience Manager
Below script is well tested on my servers:echo "Starting" '\n'curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/my_packages/testpackage3?cmd=create \-d packageName=testpackage3 \-d groupName=my_packagesecho '\n'echo "Package Created" '\n'# add filterscurl -u admin:admin -X POST http://localhost:4502/crx/packmgr/update.jsp \-F path=/etc/packages/my_packages/testpackage3.zip -F packageName=testpackage3 \-F groupName=my_packages \-F filter="[{\"root\" : \"/etc...

Views

1.2K

Likes

0

Replies

0
Re: Error while working with a bundle which consumes web service
Avatar

prohira

prohira
- Adobe Experience Manager
Hi Kautak and Ratna,In my first post itself, I mentioned that I restarted the server after making changes to sling.properties file.I was making changes in crx-quickstart/conf/sling.properties (which was mentioned in article) but I needed to make changes in crx-quickstart/sling.properties file. I followed this article http://www.one-inside.com/sling-properties-configuration-files-in-cq-5-6-1/ and got to know that at very first start of CQ instance, CQ creates a new sling.properties file directly ...

Views

962

Likes

0

Replies

0
Re: Error while working with a bundle which consumes web service
Avatar

prohira

prohira
- Adobe Experience Manager
Hi Scott,This time I added the line at the same place you mentioned but still no luck.

Views

957

Likes

0

Replies

0
Error while working with a bundle which consumes web service
Avatar

prohira

prohira
- Adobe Experience Manager
I was following article https://helpx.adobe.com/experience-manager/using/creating-cxf-bundles-consume-web.html and https://helpx.adobe.com/experience-manager/using/creating-cq-bundles-consume-web.html to create a bundle so that I could consume web services.I followed the steps and was able to have my bundle in "Active" status but while rendering it on page, I am getting below error. I tried installing the package too which is attached to one of the articles mentioned above but no luck. I still s...

Views

2.0K

Likes

0

Replies

6
xtype tags not working inside multifield
Avatar

prohira

prohira
- Adobe Experience Manager
This is a snippet from my dialog structure. I see the tag is getting saved in JCR but when opening the dialog back, it is not showing up. I can see lot of errors in browser conosle.Let's say if my tag is ab:xyz, I see below errors in my browser console.http://localhost:4502/etc/tags/default/a.tag.json - 404http://localhost:4502/etc/tags/default/b.tag.json - 404http://localhost:4502/etc/tags/default/:.tag.json - 404http://localhost:4502/etc/tags/default/x.tag.json - 404http://localhost:4502/etc...

Views

1.2K

Likes

0

Replies

3