since ‎06-07-2012
‎23-12-2020
Andrew_Khoury
Employee
Re: NoClassDefFoundError in AEM
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Is your jar file an OSGi bundle?If so what do you have defined as the Bundle-SymbolicName? You can get the Bundle-SymbolicName from the META-INF/MANIFEST.MF file in the jar file.The reason I ask is because com.*.*.core is weird in this error message:Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServletRequest not found by com.*.*.core [1423]

Views

3.9K

Likes

0

Replies

0
Re: Code package not able to upload to AEM
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Hi Uma,Please provide more specific details like error messages, your ant build script and any other information required to understand the problem. There could be many reasons for this to fail.Thanks,Andrew

Views

715

Likes

0

Replies

0
Re: Sling Feature Flag in AEM
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
This is great, thanks for sharing .

Views

1.7K

Like

1

Replies

0
Re: AEM LDAP over SSL InvalidConnectionException: SSL handshake failed
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Regarding the "Netscape Comment" issue, your certificate shouldn't contain any of the netscape related extensions such as this: X509v3 extensions: Netscape Comment: OpenSSL Generated CertificateTo generate the cert without that included you would need to modify the openssl.cnf file:1. Comment out all lines like this:nsComment = "OpenSSL Generated Certificate" Just add # before it, e.g.#nsComment = "OpenSSL Generated Certificate" 2. Add this line if it doesn't exist:extendedKeyUsage=serverAuth Yo...

Views

839

Likes

0

Replies

0
Re: Performance monitoring: request.log analyzer tool
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
+1 thanks for the great work!  I will try it out

Views

2.3K

Likes

0

Replies

0
Re: Error while completing dialog participant step which only stores data to work item
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
I checked, the issue is product issue CQ-49206 which is fixed in AEM 6.4.

Views

476

Likes

0

Replies

0
Re: Dispatcher Setup Configuration Queries
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
1. Dispatcher don't have the write permissions in document root (due to some security guidelines), instead we created below 3 folders and a stat file under document root which have write permissionsWith the configuration you have, you are blocking root vanity url .html files from getting cached (e.g. /promo.html). Why not put the cache folders under a subfolder of your web server root? For example /var/www/html/siteA (where siteA is then name of the dispatcher farm / site.To do this, in your Apa...

Views

783

Likes

0

Replies

0
Re: /etc.clientlibs/clientlibs/granite/utils.js is changing assets request url
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
It looks like there might bug here in how the js of the externalize function deals with protocol-relative urls (i.e. URLs that start with // instead of https:// or http://). Can you include the protocol in the URL instead?For example:

Views

815

Likes

0

Replies

0
Re: Strange behavior of AEM Dispatcher:
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
This URL has a suffix (see bolded below)https://www.securedcontent.com/content/sample/some.query.json/sample/input.json Suffixes will not get cached consistently. Please try serving via a URL with no suffix instead, for example:https://www.securedcontent.com/content/sample/some.query.sample.input.json Also, I see some issues with your sample .any configuration provided:there are two /filter sections./headers section belongs within the /cache section.

Views

581

Likes

0

Replies

1
Re: oak index creation
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
The search seems to be an invalid one. Is it part of your application or did somebody accidentally search for that path via CRXDe?Here is the XPath query from your log message://content/mc/offer-exchange/platinum/ap/en/lifestyle/Paradisus-Los-Cabos.htmlIf this query is part of your code, then instead of searching for a direct path, you can just call session.getNode("/content/mc/offer-exchange/platinum /ap/en/lifestyle/Paradisus-Los-Cabos")

Views

514

Like

1

Replies

0
Re: Distribute deletion of user node with Sling Distribution
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
I did a search and found a bug CQ-41850 "Deleting users not distribution". That bug is marked as fixed in AEM 6.2. It mentions this workaround for older versions:1. Go to http://host:port/system/console/configMgr/com.adobe.cq.social.sync.impl.UserSyncListenerImpl2. Add rep:AuthorizableFolder to Node Types3. Save

Views

778

Like

1

Replies

0
Re: Rename JSessionID cookie
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Yes, you can change it:1. Go to http://aem-host:port/system/console/configMgr/org.apache.felix.http and log in as admin2. Change the value for Session Cookie Name3. Save, note that saving this will cause AEM to basically restart itself. So don't do this on production without notifying users of maintenance.

Views

1.5K

Likes

0

Replies

0
Re: Custom saml authentication handler service in AEM 6.3 is in satisfied state
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Please file a support ticket with the support team for help with this and attach your code. There could be many reasons for this code to fail.For example, see this forum discussion for some details around extending an OSGi component.

Views

8.3K

Likes

0

Replies

0
Re: AEM Component Library
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
It sounds like you are describing something along the lines of Experience Fragment building blocks, see here:Adobe Experience Manager Help | Using AEM Experience Fragments

Views

430

Like

1

Replies

0
Re: SAML configuration for multiple websites on same AEM 6.1 SP2 instance
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Why have "/" configured as the path for all of them. To avoid having to do some special handling you could have each handler configured with "Path" pointing to the site (e.g. for the www.aaa.com handler the Path field would be /content/aaa). Then when the user goes to the site (they should be visiting /content/aaa anyway), they would get sent to the correct IDP for login.

Views

1.0K

Likes

0

Replies

0
Re: Revert older version of CFP
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Uninstalling SPs and CFPs is unsupported as Kunwar stated. However, if you must revert it and do not have a backup. Then try this:1. Backup your AEM instance2. Package up the /libs folder from another working environment and installing it to the post-CFP environment. Note that you must also make sure to package and install the ACLs from the /libs folder as well (that can be done with the ACS Commons Query Packager).3. Allow the packages to fully install and all bundles to restart, then restart A...

Views

708

Like

1

Replies

0
Re: Session timeout in AEM with Enacpsulated token changes in AEM 6.1
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Please see this article:Login session refresh not working in AEM 6.x As a workaround, to add some expiration functionality, you could implement a custom javax.servlet.Filter to handle session refresh and expiration:a. Download and modify this sample filter code to meet your needs:https://github.com/Adobe-Consulting-Services/acs-aem-samples/blob/master/bundle/src/main/java/com/adobe/acs/samples/filters/impl/SampleSlingRequestFilter.javab. Store the user (user id as key) and timestamp somewhere ou...

Views

391

Likes

0

Replies

0
Re: Should one be able to save the text in RTE when Source Editor Mode is on?
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
See here to download the latest fix pack for AEM 6.3: Release Notes: AEM 6.3 Cumulative Fix Pack

Views

362

Likes

0

Replies

0
Re: Should one be able to save the text in RTE when Source Editor Mode is on?
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
This is a known product issue CQ-4230772 which is fixed in 6.3.2.1 (AEM 6.3 SP2 CFP1) and AEM 6.4.

Views

248

Likes

0

Replies

0
Re: AEM 6.3 - Consuming asset data by external applicatons
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
It would make sense to implement oauth for this. See this presentation for details:OAuth Server functionality in AEM - Embrace Federation and unleash your REST APIs!

Views

228

Likes

0

Replies

0
Re: Images are  broken when assets are moved from one instance to another instance using cURL command
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Try installing a newer version of the vlt rcp bundle to the source and destination instance and try again. See here for the newest bunde:Central Repository: org/apache/jackrabbit/vault/org.apache.jackrabbit.vault.rcp

Views

2.7K

Like

1

Replies

0
Re: Redirect map manager flow
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Are you referring to this? Redirect Map Manager If so then that is part of the ACS Commons open source project and you would need to download and install ACS Commons to your AEM instances before you could use it. See here Adobe AEM Commons.Here are some instructions that might help you in setting it up:1. Install ACS Commons on both AEM Author and Publish instances.2. Follow the steps in this documentation​ on the Author instance​​ to create the configuration page. After creating the configurati...

Views

750

Like

1

Replies

0
Re: AEM 6.4 unable to access content path via resourceresolver/session
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Since you found that a system user permission was missing you might want to repair all the system user permissions. Somebody most likely installed a package containing ACLs which overwrote the out-of-the-box ones. There are probably other users that might be missing their permissions. See this article for a guide on how to repair system user ACLs: Fix missing system user ACLs

Views

1.5K

Likes

3

Replies

0
Re: Timefield in touch ui
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Additional note, some discussion around use of the Touch UI date/time picker can be found here: AEM 6.1 Touch UI: Datepicker Field not prepopulated with stored value

Views

7.8K

Like

1

Replies

0
Re: When user trying to login getting 403 forbidden error.
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Hi Narayana, the tokens node should get created automatically by the internal Oak system when the user logs in. Do you see any errors in the error.log when those users try to log in?

Views

672

Likes

0

Replies

0
Re: System/console/bundles Our project core bundle location is not changing
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Hi @chirran414 this is by design, please see this past forum discussion on the same topic: ISSUE : Wrong Bundle Location in Felix Console after Deployment

Views

528

Likes

0

Replies

0
Re: Dispatcher Configuration to Cache Servlet Requests
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Note: The request received by Apache here is the /bin/servletpathaname/apiurl/a.html one, but the request being received and sent by the dispatcher module within apache has the querystring: /bin/servletpathname?queryParam=apiurl

Views

2.2K

Likes

0

Replies

0
Re: Dispatcher Configuration to Cache Servlet Requests
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
> At Dispatcher We are using internal redirect to redirect /bin/servletpathaname/apiurl/a.html to /bin/servletpathname?queryParam=apiurl.That will not make the request cacheable unfortunately, dispatcher will not cache 301 or 302 redirects or requests that it must send with a querystring. Even though you are rewriting this or redirecting this at the Apache level you cannot cache it in dispatcher unless you create a mapping in AEM that maps from /bin/servletpathaname/apiurl/a.html to /bin/servlet...

Views

2.2K

Likes

0

Replies

6
Re: Create Version with Custom Label and Description via Workflow Activate?
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
As smacdonald2008​ had mentioned you can create a custom workflow step instead of using the ActivatePageProcess:1. Create the custom workflow step as documented here.2. Call the Replicator service's method Replicator.replicate​ and set ReplicationOptions.setSuppressVersions(true)3. Now the activation itself won't create the version, in your custom code before calling Replicator.replicate you can call PageManager.createRevision to instead create a version of the page with your custom label.

Views

317

Likes

0

Replies

0
Re: How to make SAML Authentication Handler handle logout?
Avatar

Andrew_Khoury

Employee

Andrew_Khoury
- Adobe Experience Manager
Hi Jan,If the "authentication-service" user doesn't have a keystore defined on it (even if you are not using encryption) then the SAML handler will skip logout. To check if this is the case, do the following:Go to http://aem-host:port/libs/granite/security/content/useradmin.html.Click on the authentication-service user.Under Account Settings click Create KeyStore and create an empty keystore (otherwise if it says Manage KeyStore) then this isn't the cause of the issue.If that doesn't fix the iss...

Views

667

Like

1

Replies

0