since ‎21-11-2014
Online
sdouglasmc
Level 2
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.
18
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.
35
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.
39
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...
58
Views
0
Likes
5
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.
565
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
5070
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.
5075
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:
7136
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...
5087
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....
7147
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.
1835
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.
7176
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...
7188
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..
7207
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.
7213
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.
7222
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
2368
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?
2370
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...
13089
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...
854
Views
0
Likes
0
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...
857
Views
0
Likes
1
Answers and Comments
Installed 6.5.4 SP RRD already closed Exception sdouglasmc - Adobe Experience Manager
I've installed the latest SP, 6.5.4 and now see the below error littered throughout the logs. Any quick fixes to get rid of this?22.03.2020 19:11:00.158 *ERROR* [metrics-RRD4JReporter-1-thread-1] com.codahale.metrics.ScheduledReporter Exception thrown from RRD4JReporter#report. Exception was suppressed.java.lang.IllegalStateException: RRD already closed, cannot store this sampleat org.rrd4j.core.RrdDb.store(RrdDb.java:512) [org.apache.sling.commons.metrics-rrd4j:1.0.2]at org.rrd4j.core.Sample.up...
2537
Views
0
Likes
7
Answers and Comments
External File Data Store Failover sdouglasmc - Adobe Experience Manager
We have 1 author and 3 pubs sharing an NFS mounted datastore. Things work really well after knocking out a few kinks.AEM 6.5.2However, we had a network outage this morning and it messed up the mount points because we might not have our mount points configured best. Supposedly, by default they keep trying to reconnect and each time it failed, the timeout retry wouldn't be attempted to a much longer period of time. This got me thinking about something else, what is the best way to fail-over a shar...
1401
Views
0
Likes
1
Answers and Comments
Re: How to implement user authentication using form basic... sdouglasmc - Adobe Experience Manager
The main key IMO is to make sure the resource you are trying to authenticate is "seen" by the proper authentication handler.In SAML, you can define the paths that, when a user needs permission to access, will trigger SAML Authenication handler. For all others, it should default to the OOTB Sling Authentication when a CUG or ACL is on the resource.
1337
Views
2
Likes
0
Answers
Migrate JUST Version data AEM 6.5? sdouglasmc - Adobe Experience Manager
We migrated data from 6.3 to 6.5 and knew the version history would be wiped out. Now a small group wants to get the version history for their area of content only. Is there any way to just migrate/merge the version history of a section of content from 6.3 to 6.5 without doing the content itself again?
1327
Views
0
Likes
1
Answers and Comments
Re: 6.5 SAML logout not working after upgrade. sdouglasmc - Adobe Experience Manager
The problem was, we were using the acs-commons environment indicator. Disabling this, resolved the issue. Because the saml authentication handler does this in PostBinding: httpResponse.addHeader("cache-control", "private, max-age=0, no-cache, no-store"); httpResponse.getOutputStream().print(builder.toString()); httpResponse.flushBuffer();It was being messed up by the acs-commons indicator.
1094
Views
1
Like
0
Answers
6.5 SAML logout not working after upgrade. sdouglasmc - Adobe Experience Manager
We recently did an upgrade from 6.3 to 6.5. We ported the code and content over to a fresh instance of 6.5 instead of doing an in-place upgrade.with Everything seems to work great with SAML Authentication, we have two configurations - one for site A and one for site B. All works in our 6.3 instance. Authentication login in the new 6.5 works great as well, but logout does not.I can no longer see the logout url (configured in the auth handler) actually being called whereas in the current 6.3 I can...
1149
Views
0
Likes
1
Answers and Comments
Re: AEM 6.5 Bundles not installing under {project}/install sdouglasmc - Adobe Experience Manager
It seems to have started to happen when we switched over to an external datastore and shared between author and publish (going the binaryless replication route). What is also interesting is that the .ser files under launchpad/installer are all from before those dates too.
1798
Views
0
Likes
0
Answers
Re: AEM 6.5 Bundles not installing under {project}/install sdouglasmc - Adobe Experience Manager
hahahahha... of course I incremented the build in the POM files and re-compiled.
1821
Views
1
Like
0
Answers
Re: AEM 6.5 Bundles not installing under {project}/install sdouglasmc - Adobe Experience Manager
While the new 3.11.2 appears in the install folder, the osgi is still pointed to the older version, still saying installed on the 23rd.
1798
Views
0
Likes
0
Answers