since ‎21-11-2014
‎22-10-2020
sdouglasmc
Level 2
Re: JavaScript USE api error - jdk.nashorn.internal.runti... sdouglasmc - Adobe Experience Manager
6.5 definitely messed around with the Felix framework. This was another issue I found and have Adobe working on https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-5-authentication-cipher-issue-with-bouncycastle-that-doesn/qaq-p/372889/comment-id/78427#M78427
27
Views
0
Likes
0
Comments
Re: JavaScript USE api error - jdk.nashorn.internal.runti... sdouglasmc - Adobe Experience Manager
I put this in a while back:https://issues.apache.org/jira/browse/FELIX-6184 and things seem to be better. But we also put in a process to restart after deployments too because we found that is when we would run into this.
34
Views
0
Likes
0
Comments
Re: JavaScript USE api error - jdk.nashorn.internal.runti... sdouglasmc - Adobe Experience Manager
I found this a while back:
39
Views
0
Likes
0
Comments
Re: How does AEM Cloud send users to correct the country? sdouglasmc - Adobe Experience Manager
Thanks! I was wondering if the CDN would pass a header back that we can use in Apache. I wasn't sure how that is handled working with the cloud: something we have to do or already set up.
107
Views
0
Likes
0
Comments
How does AEM Cloud send users to correct the country? sdouglasmc - Adobe Experience Manager
I understand AEM Cloud services sits in front of a CDN. What is the preferred way to send a user to the correct country based on geo-location or IP. We have sites in many different countries and if their country doesn't have it's own country branch, default it to a base country. Can these rules be done at the CDN level in order to NOT have to involve a servlet/filter which would mean bypassing the dispatcher cache?
130
Views
0
Likes
3
Answers and Comments
Re: Allow Activation but require Deactivation approval sdouglasmc - Adobe Experience Manager
I'll try that, but I wasn't aware that that is the same as Deactivate.
108
Views
0
Likes
0
Comments
Allow Activation but require Deactivation approval sdouglasmc - Adobe Experience Manager
I know replication privledges are tied to both Activation and Deactivation of content. Is there anyway OOTB to give an author the ability to activate content but require them to use an approval process for deactivation? Seems like it should be simple enough as an OOTB feature.
123
Views
0
Likes
3
Answers and Comments
Re: AEM 6.5 Authentication Cipher issue with BouncyCastle... sdouglasmc - Adobe Experience Manager
The hack for this - for Java 8 and 11, in this case is to place the bouncycastle jar under crx-quickstart\launchpad\ext (you may have to create the directory),Add the folowing to the sling.properties: sling.bootdelegation.class.org.bouncycastle.jce.provider.BouncyCastleProvider=org.bouncycastle.*sling.bootdelegation.class.com.rsa.jsafe.provider.JsafeJCE=com.rsa.* (not really sure this one is needed)This is a complete hack as it breaks modularity which is the premise of OSGI. Versioning/restricti...
100
Views
0
Likes
0
Answers
Re: AEM 6.5 Authentication Cipher issue with BouncyCastle... sdouglasmc - Adobe Experience Manager
I found the actual issue. The issue is with the updated Felix Framework code. The BundleProtectionDomain has been updated since 6.4 and seems to be breaking in 6.5 because of the ProtectionDomain Code Source returning a different value. In 6.4 and below, it returns a jar input type in the CodeSource and location of:jar:bundle://546.0:0/!/Whereas in 6.5, although the Protection Domain is set the same (for the most part- [bcprov [583](R 583.0)]) as in 6.4 [bcprov [546](R 546.0)] - the CodeSource v...
136
Views
1
Like
0
Answers
Re: AEM 6.5 Authentication Cipher issue with BouncyCastle... sdouglasmc - Adobe Experience Manager
This is definitely a bug with 6.5. In 6.3 AND 6.4 you don't have to do anything but install the bouncy castle jar file in OSGI. I didn't even have to add the sling bootleg delegation entries.
136
Views
0
Likes
0
Comments
Re: AEM 6.5 Authentication Cipher issue with BouncyCastle... sdouglasmc - Adobe Experience Manager
my thought was to create a modular jar file from the jar and put it under jdk-11.0.4\jmods. But since I don't have the source it makes it pretty difficult.
153
Views
0
Likes
0
Comments
Re: AEM 6.5 Authentication Cipher issue with BouncyCastle... sdouglasmc - Adobe Experience Manager
Got it working with Java 8 because I can update the included JRE with the bc jar. Since Java 11 doesn't have this, and that's what we are actually using, I'm trying to figure out how to get it working in there.
157
Views
0
Likes
0
Comments
AEM 6.5 Authentication Cipher issue with BouncyCastle that doesn't appear in 6.3 sdouglasmc - Adobe Experience Manager
We are migrating a site in AEM 6.3 to 6.5(6.5.5). During authentication, there is the use of PKCS7PADDING which is not working in 6.5 but does work in 6.3 with both environments having bcprov-bcprov- 1.66 installed: final Cipher decrypterWithPad = Cipher.getInstance("AES/CBC/PKCS7PADDING",BouncyCastleProvider.PROVIDER_NAME);--Provider Name being "BC" as seen in the error below---I've stripped out everything and created a small test package (with only slight changes needed for versions of 2 depen...
224
Views
0
Likes
7
Answers and Comments
Betreff: Installed 6.5.4 SP RRD already closed Exception sdouglasmc - Adobe Experience Manager
Seems once I restarted after the install, it has gone away. Odd because usually if a SP need a restart, it does it automatically.
888
Views
0
Likes
0
Comments
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
This is the same issue we are facing: https://issues.apache.org/jira/browse/FELIX-6184
5139
Views
0
Likes
0
Comments
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
There was a code deployment. It failed activation when trying to register again.
5144
Views
0
Likes
0
Comments
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
This seems to be the same thing I'm experiencing:
7221
Views
0
Likes
0
Comments
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
04.05.2020 16:23:23.383 *INFO* [Adobe Granite Maintenance Scheduler Update Task] com.adobe.granite.maintenance.impl.MaintenanceJobsManagerImpl Name='com.day.cq.audit.impl.AuditLogMaintenanceTask', Status='UNSCHEDULED', Result='', Details='{"window":"granite_weekly"}'04.05.2020 16:23:23.383 *INFO* [Adobe Granite Maintenance Scheduler Update Task] com.adobe.granite.maintenance.impl.MaintenanceJobsManagerImpl Name='RevisionCleanupTask', Status='UNSCHEDULED', Result='', Details='{"window":"granite_d...
5158
Views
0
Likes
5
Answers
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
Finally got something worth while. If you have an email address, I can sent more to that but....
7232
Views
0
Likes
0
Comments
Re: Installed 6.5.4 SP RRD already closed Exception sdouglasmc - Adobe Experience Manager
True, but I would like to understand why it happens periodically. It seems to fail on the same thread over and over but the metrics still get written to. I've tried restarting a couple of related bundles but that doesn't seem to help. I also noticed the thread started having issues after some nightly maintenace jobs but that could be just a coincidence.
2161
Views
0
Likes
0
Comments
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
I would open a ticket but I know the first thing they are going to ask is to send the recreation steps and I don't know them currently. I have confirmed this is the issue. It just so happens this was happening on a development server and restarting the org.apache.sling.scripting.core (549) bundle set things right without having to restart.
7261
Views
0
Likes
0
Comments
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
Looks like on a good instance, Rhino is being used: Caused by: org.apache.sling.scripting.sightly.SightlyException: org.mozilla.javascript.EcmaError: ReferenceError: "granite" is not defined. (/libs/wcm/foundation/components/parsys/parsys.js#24) when I blew away the values in Apache Sling Scripting HTL JavaScript Use-API Factories Configuration (it keeps sightly:/libs/sling/sightly/js/internal/sly.js in by default it appears - but that file doesn't seem to appear in the repository - odd in itsel...
7273
Views
0
Likes
0
Comments
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
Do you have a quick way to test for the scripting engine? I was just going to deactivate the rhino bundle..
7292
Views
0
Likes
0
Comments
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
Right, I didn't see the bundle in mine either. My thought is that it is defaulting back to the one in the JDK, which is Nashorn, when whatever is happening, is happening.
7298
Views
0
Likes
0
Comments
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
Should it be even using the Nashorn Engine or should it be using Rhino? It seems to happen after a deployment where there is moderate traffic. We have 3 publish nodes and keep 2 active. About 2 hours after a deployment, it happens on the 2 live instances.I'm still trying my best to reproduce.
7309
Views
0
Likes
10
Answers
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
Should it be even using the Nashorn Engine or should it be using Rhino? I'm going to do my best to try and replicate it. It seems to happen after a deployment where there is moderate traffic. We have 3 publish node
2419
Views
0
Likes
0
Comments
Re: HTL sites not displaying anymore jdk.nashorn.internal... sdouglasmc - Adobe Experience Manager
Should it be even using the Nashorn Engine or should it be using Rhino?
2421
Views
0
Likes
0
Comments
HTL sites not displaying anymore jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "use" is not defined sdouglasmc - Adobe Experience Manager
Running AEM 6.5.4Java(TM) SE Runtime Environment(build 11.0.5+10-LTS)Have you solved this issue? We have no problem when we restart AEM, all things seem to work fine. What appears to be out of the blue, all HTL related pages stop displaying with this same error. If we restart, we are fine again. 22.04.2020 19:47:06.739 ERROR [10.65.37.142 [1587577626473] GET /ca/en_ca.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingExceptionjdk.nashorn.internal.runtim...
13202
Views
0
Likes
20
Answers and Comments
Re: JavaScript USE api error - jdk.nashorn.internal.runti... sdouglasmc - Adobe Experience Manager
Running AEM 6.5.4Java(TM) SE Runtime Environment(build 11.0.5+10-LTS)Have you solved this issue? We have no problem when we restart AEM, all things seem to work fine. What appears to be out of the blue, all HTL related pages stop displaying with this same error. If we restart, we are fine again. 22.04.2020 19:47:06.739 ERROR [10.65.37.142 [1587577626473] GET /ca/en_ca.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingExceptionjdk.nashorn.internal.runtim...
1031
Views
1
Like
4
Answers
6.5.4 Rollout Configuration Error for sites created using mvn archtype 22 sdouglasmc - Adobe Experience Manager
AEM Instance 6.5.4, that's it. Plain installation plus service pack. Used the wknd tutorial to create a test project:https://docs.adobe.com/content/help/en/experience-manager-learn/getting-started-wknd-tutorial-develop/overview.html mvn archetype:generate -B -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=22 -DgroupId=com.base.aem.rollout-test -Dversion=0.0.1-SNAPSHOT -DappsFolderName=rollout-test -DartifactId=aem-rollout-test -Dpack...
953
Views
0
Likes
1
Answers and Comments