Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

sdouglasmc
Community profile sdouglasmc Level 3
Job title here
Location here
10 BADGES
Level 3

Level 3

Learn more
Joined the community 21-11-2014 10:56:08 AM
Offline
Top badges earned by sdouglasmc
Customize the badges you want to showcase on your profile
How does AEM Cloud send users to correct the country?
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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?

Views

297

Like

1

Replies

3
Re: Allow Activation but require Deactivation approval
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
sdouglasmc
- Adobe Experience Manager
I'll try that, but I wasn't aware that that is the same as Deactivate.

Views

263

Likes

0

Replies

0
Allow Activation but require Deactivation approval
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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.

Views

278

Likes

0

Replies

3
Re: AEM 6.5 Authentication Cipher issue with BouncyCastle...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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...

Views

394

Like

1

Replies

0
Re: AEM 6.5 Authentication Cipher issue with BouncyCastle...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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...

Views

478

Like

1

Replies

0
Re: AEM 6.5 Authentication Cipher issue with BouncyCastle...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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.

Views

499

Likes

0

Replies

0
Re: AEM 6.5 Authentication Cipher issue with BouncyCastle...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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.

Views

516

Likes

0

Replies

0
Re: AEM 6.5 Authentication Cipher issue with BouncyCastle...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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.

Views

520

Likes

0

Replies

0
AEM 6.5 Authentication Cipher issue with BouncyCastle that doesn't appear in 6.3
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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...

Views

715

Likes

0

Replies

9
Betreff: Installed 6.5.4 SP RRD already closed Exception
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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.

Views

1.9K

Likes

0

Replies

0
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
sdouglasmc
- Adobe Experience Manager
This is the same issue we are facing: https://issues.apache.org/jira/browse/FELIX-6184

Views

5.4K

Likes

0

Replies

0
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
sdouglasmc
- Adobe Experience Manager
There was a code deployment. It failed activation when trying to register again.

Views

5.4K

Likes

0

Replies

0
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
sdouglasmc
- Adobe Experience Manager
This seems to be the same thing I'm experiencing:

Views

7.5K

Likes

0

Replies

0
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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...

Views

5.4K

Like

1

Replies

5
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
sdouglasmc
- Adobe Experience Manager
Finally got something worth while. If you have an email address, I can sent more to that but....

Views

7.6K

Likes

0

Replies

0
Re: Installed 6.5.4 SP RRD already closed Exception
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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.

Views

3.2K

Likes

0

Replies

0
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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.

Views

7.6K

Likes

0

Replies

0
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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...

Views

7.6K

Likes

0

Replies

0
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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..

Views

7.6K

Likes

0

Replies

0
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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.

Views

7.6K

Likes

0

Replies

0
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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.

Views

7.6K

Like

1

Replies

10
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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

Views

2.7K

Likes

0

Replies

0
Re: HTL sites not displaying anymore jdk.nashorn.internal...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
sdouglasmc
- Adobe Experience Manager
Should it be even using the Nashorn Engine or should it be using Rhino?

Views

2.7K

Likes

0

Replies

0
HTL sites not displaying anymore jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "use" is not defined
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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...

Views

13.6K

Likes

0

Replies

21
Re: JavaScript USE api error - jdk.nashorn.internal.runti...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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...

Views

1.5K

Like

1

Replies

4
6.5.4 Rollout Configuration Error for sites created using mvn archtype 22
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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...

Views

1.2K

Likes

0

Replies

1
Installed 6.5.4 SP RRD already closed Exception
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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...

Views

3.9K

Likes

0

Replies

9
External File Data Store Failover
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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...

Views

1.5K

Likes

0

Replies

1
Re: How to implement user authentication using form basic...
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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.

Views

1.5K

Likes

2

Replies

0
Migrate JUST Version data AEM 6.5?
Avatar
Validate 1
Level 3
sdouglasmc
Level 3

Likes

22 likes

Total Posts

83 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
Boost 5
Boost 3
View profile
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?

Views

1.4K

Likes

0

Replies

1