since ‎01-04-2016
‎10-12-2019
timlwhite
Level 2
Re: Caching Redirect Responses With Dispatcher? timlwhite - Adobe Experience Manager
Yes, I understand that I could manually add redirects in Apache, but these are redirects that are coming from the publisher, and managed from authoring. So I need them to invalidate and cache just like normal pages do...
1448
Views
0
Likes
0
Answers
Caching Redirect Responses With Dispatcher? timlwhite - Adobe Experience Manager
Hello -We have lots of pages in our AEM Publisher that end up returning a 302 or 301 redirect response.Is there any way to configure Dispatcher to cache those, so they don't make their way to the publisher each time?I tried turning on the "header caching" for the "Location" header, but that didn't seem to help.I see articles on the Internet about setting up a Varnish cache to do this, but that's not feasible in our environment, hence why I am hoping there is a way to do it with Dispatcher.Thanks...
6499
Views
0
Likes
11
Answers and Comments
Re: Other than disabling workflows, how can I upload a package into the DAM w/o losing metadata? timlwhite - Adobe Experience Manager
No - this has never been fixed or addressed, despite multiple support tickets. We just have complex scripts that enable/disable workflow to move packages around now, which are very touchy.
1749
Views
0
Likes
1
Replies
Re: AEM 6.3: Felix SCR Annotations Deprecated - Replacement for @SlingFilter? timlwhite - Adobe Experience Manager
Yes, most of the Felix annotations show deprecated when compiling against the 6.3 UberJar. I'll try setting things up with @Component. Thanks!
2434
Views
1
Like
0
Answers
AEM 6.3: Felix SCR Annotations Deprecated - Replacement for @SlingFilter? timlwhite - Adobe Experience Manager
Hello, it appears that the Felix SCR annotations have been deprecated in AEM 6.3. This is not reflected on the Sling website or documentation as far as I can tell, but is appearing that way when we compile against the 6.3 uberjar.In fact, the latest AEM Maven Archetype does not include the Felix SCR dependency at all.I see this blog post from last year that covers a lot of conversion questions.And this very recent one from Feike.The OSGi 6 method for registering configuration properties using a ...
17297
Views
1
Like
16
Answers and Comments
FYI: AEM 6.2 Implements Strict HTTP Host Header Checking timlwhite - Adobe Experience Manager
: Hello All - I am posting this in hopes it helps you all in the future.As part of our upgrade from AEM 6.0 to AEM 6.2, we were stymied by an issue where the load balancer health checks were failing (thus taking the site down) because in the upgrade from 6.0 to 6.2, the Jetty library was updated, and that update included strict HTTP Host Header Checking...which is actually a bug in Jetty as described here: https://github.com/eclipse/jetty.project/issues/592 .Our F5 load balancer, like many such ...
952
Views
1
Like
1
Replies
Getting User-Agent Header in Sightly? timlwhite - Adobe Experience Manager
Hello all!I need to do some workarounds for Microsoft products, and to do that I need to know the User-Agent in slightly, and do something different in the template if the User-Agent is 'ms-office'.I've never been able to figure out how to use methods on the 'request' global object that require parameters.I'm trying to do something like this:${request.header @ name='User-Agent' }but, that's not working.I've seen examples like this:${request.requestParameterMap['test'][0].toString}...but that req...
691
Views
0
Likes
0
Replies
Re: AEM 6.1 & Java 1.8 Bytecode Verification Error - Constructor must call super() or this() before return timlwhite - Adobe Experience Manager
FYI, when I opened a ticket with support on this issue, their reply was to use the unobfuscated jar you can only get by opening a support ticket (and then you have to hack Maven to load it locally instead of trying to download it). As for using the obfuscated jar, this was their reply:~~Ticket Id: 89821Hi Tim,Unfortunately this is a known issue with the obfuscated api jar:https://docs.adobe.com/docs/en/aem/6-2/develop/dev-tools/ht-projects-maven.html#You%20mentioned%20an%20exception%20to%20SCR%2...
596
Views
0
Likes
0
Answers
LiveRelationshipManagerImpl StarResource : no parent: no LiveCopy errors for content that does not exist timlwhite - Adobe Experience Manager
We're getting 100's of errors in the logs for content that doesn't exist. This is on AEM 6.0 SP3.It's to the point now where certain pages have become uneditable, and the only thing in the logs is all these errors about content nodes for those pages, which do not exist.We're not using MSM, so I'm not sure why these errors are appearing at all?25.07.2016 10:01:38.710 *WARN* [0:0:0:0:0:0:0:1 [1469462497982] GET /content/business/enterprise/services/voice/hosted-voip.html HTTP/1.1] com.day.cq.wcm.m...
2845
Views
1
Like
6
Replies
Re: Java Deprecated Inheritance Feature - What's the 'Right' Way Now? timlwhite - Adobe Experience Manager
It looks like it may be a javadoc issue?While I do not see it here:https://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/overview-summary.htmlI was able to compile against that path in 6.0....
779
Views
0
Likes
0
Answers
Re: Java Deprecated Inheritance Feature - What's the 'Right' Way Now? timlwhite - Adobe Experience Manager
Thanks, Scott!Unfortunately, I can't seem to locate the 6.0 version of AbsoluteTimeAutoAdvancer in the com.adobe.granite tree... 😞I only see it here:https://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/com/day/cq/workflow/timeout/autoadvance/AbsoluteTimeAutoAdvancer.htmlI don't see a deprecation warning, or other note on what it might have been replaced by?Thanks!
775
Views
0
Likes
0
Answers
Java Deprecated Inheritance Feature - What's the 'Right' Way Now? timlwhite - Adobe Experience Manager
Hello, we have a class that inherits from AbsoluteTimeAutoAdvancer:public class WorkflowDelayedPublish extends AbsoluteTimeAutoAdvancer {And we've started seeing these warnings:[WARNING] C:\Projects\EWCM_Projects\ewcm\core\src\main\java\ewcm\global\core\workflow\email\process\WorkflowDelayedPublish.java [1:1]: Component ewcm.global.core.workflow.email.process.WorkflowDelayedPublish is using the deprecated inheritance feature and inherits from com.day.cq.workflow.timeout.autoadvance.AbsoluteTimeA...
2803
Views
0
Likes
9
Answers and Comments
Re: Help building against AEM 6.1 beta (601_Load_19) timlwhite - Adobe Experience Manager
I'm going to post this here in case people find this thread before they find mine.This issue is caused by the obfuscator that has been run on the AEM 6.1 uber-jar. That obfuscator removes methods that the Java 1.8 bytecode verifier needs to be there. If you request the unobfuscated jar from support, and compile against that, these errors disappear.I have a support ticket open to request that they adjust the obfucsator settings to prevent this from happening.
548
Views
0
Likes
0
Answers
Re: Other than disabling workflows, how can I upload a package into the DAM w/o losing metadata? timlwhite - Adobe Experience Manager
Ok, I'm running 6.0 SP3...and this is still happening. Does anyone know what the bug number might be?Thank you!!!
1749
Views
0
Likes
0
Replies
Other than disabling workflows, how can I upload a package into the DAM w/o losing metadata? timlwhite - Adobe Experience Manager
Hello!We have a need to move a few - just 2-3 a day, packages containing DAM assets from one instance to another.Right now, if we build a package with a PowerPoint file, download it, and upload it to another server, the workflow runs and wipes out the metadata from the DAM asset, and replaces it with the data from the Powerpoint file itself.The jcr:title in particular is getting overwritten every time we install the package.I know we can disable the workflow launchers, but since we're moving the...
1858
Views
0
Likes
6
Replies
Re: AEM 6.2 - 'nosamplecontent' == 'productionready' - why? timlwhite - Adobe Experience Manager
So, I have installed AEM 6.1 many times with nosamplecontent, and never encountered this issue. So, if it was implemented in AEM 6.1, it was not in the same way.I will try the geometrixx super package removal - in the past it was impossible to completely remove them once they were installed.I would still be curious to know why the nosamplecontent runmode was changed, rather than just adding a 'productionready' runmode....just doesn't seem to logically make sense. 🙂
616
Views
0
Likes
0
Answers
Re: AEM 6.2 - 'nosamplecontent' == 'productionready' - why? timlwhite - Adobe Experience Manager
Thanks, Scott!Yes, ticket number is 90121, they referred me to to this page: https://docs.adobe.com/docs/en/aem/6-2/administer/security/production-ready.html
618
Views
0
Likes
0
Answers
AEM 6.2 - 'nosamplecontent' == 'productionready' - why? timlwhite - Adobe Experience Manager
It appears from a support ticket that I opened, that in AEM 6.2 installing a server with the runmode of 'nosamplecontent' also forces the 'productionready' stuff, including disabling crx/de.If I'm understanding this correctly, there is now no way to build out a development environment without all the Geometrixx stuff? Am I missing something?I could see adding a 'productionready' runmode that included 'nosamplecontent', but essentially the ability to 'just' not have Geometrixx has been removed.
2005
Views
1
Like
8
Answers and Comments
Re: AEM 6.1 & Java 1.8 Bytecode Verification Error - Constructor must call super() or this() before return timlwhite - Adobe Experience Manager
This appears to be an issue with the AEM 6.1 Obfuscated Uber Jar. The obfuscator appears to have removed various bits and pieces from the bytecode that the Java 1.8 compiler is requiring to be there.I got the unobfuscated Uber Jar from AEM support, and after much Maven wrangling, was able to compile against it without these errors. Unfortunately, using this jar means you have to run your own Maven repo, or manually install the Uber Jar in the Maven repo on every developer machine and build serve...
580
Views
0
Likes
0
Answers
Re: AEM 6.1 & Java 1.8 Bytecode Verification Error - Constructor must call super() or this() before return timlwhite - Adobe Experience Manager
Yes, it compiles just fine under 1.7:[INFO] --- maven-sling-plugin:2.1.0:install (install-bundle) @ ewcm.global.core --- [INFO] Installing Bundle ewcm.global.core(C:\Projects\EWCM_Projects\ewcm\core\target\ewcm.global.core-1.0.51-SNAPSHOT.jar) to http://localhost:4502/crx/repository/crx.default/apps/ewcm/install/ via PUT [INFO] Bundle installed [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ---------------------------------------------...
580
Views
0
Likes
0
Answers
AEM 6.1 & Java 1.8 Bytecode Verification Error - Constructor must call super() or this() before return timlwhite - Adobe Experience Manager
Hello - Using Java 1.8u77, and the uber-jar 6.1.0-SP1, when trying to compile, I am seeing this error which is preventing the code from compiling.at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:11...
2408
Views
0
Likes
8
Answers and Comments
Re: content-package-maven-plugin has gone missing from adobe repo? timlwhite - Adobe Experience Manager
So, I already had defined the Adobe repo profile in my pom.xml, just like in the Archetype.However, despite being set to be active by default in the POM, it wasn't kicking in every time the build ran for some reason.If I run:mvn help:active-profilesit kicks in every time, but onclean installit does not.Which is weird, and bug-like from a maven perspective. It also doesn't kick in reliably when running from Eclipse or IntelliJ.That said, if I explicitly invoke 'adobe-public' as a profile on the b...
1079
Views
2
Likes
0
Answers
Re: content-package-maven-plugin has gone missing from adobe repo? timlwhite - Adobe Experience Manager
Thanks all, the settings.xml did the trick. I really appreciate the responses!This is going to be a huge mess to get a settings.xml on to all our build servers, developer laptops so forth on computers all over the world, since it doesn't go into source code control in a repeatably-installable place, and makes the builds unportable, but I'll see if I can work all that out.Thanks!
976
Views
0
Likes
0
Answers
content-package-maven-plugin has gone missing from adobe repo? timlwhite - Adobe Experience Manager
Trying to do a fresh build on a new computer:[INFO] Downloading: https://repo.maven.apache.org/maven2/com/day/jcr/vault/content-package-maven-plugin/0.0.24/content-package-maven-plugin-0.0.24.pom[WARNING] The POM for com.day.jcr.vault:content-package-maven-plugin:jar:0.0.24 is missing, no dependency information availableLooking at that directory, it is a 404. I have the adobe repo configured to go to:https://repo.adobe.com/nexus/content/repositories/publicBut maven always downloads fromhttps://r...
3336
Views
2
Likes
7
Answers and Comments
Re: AEM 6.0 - Preview Mode Still Has Edit Bar Placeholders - How to Remove "new section" Divs timlwhite - Adobe Experience Manager
Yes, I tried that as well, and it made no difference...
4764
Views
0
Likes
0
Replies
Re: AEM 6.0 - Preview Mode Still Has Edit Bar Placeholders - How to Remove "new section" Divs timlwhite - Adobe Experience Manager
Specifically - here is a screenshot of what "Preview Mode" for a page. You can see that the " are still there, although the CSS is setting them to display:none.Unfortunately, this causes lots of issues with the CSS and HTML structure in a responsive design, so we always have to have our authors use ?wcmmode=disabled to preview their content, instead of using preview mode. They are finally revolting wondering why AEM Preview Mode "doesn't work".In addition, when including templates, even if we se...
4763
Views
0
Likes
2
Replies
Re: AEM 6.0 - Preview Mode Still Has Edit Bar Placeholders - How to Remove "new section" Divs timlwhite - Adobe Experience Manager
This snippet did not work, and I was unable to remove it once I put it in my global.jsp - I had to rebuild my server completely because the JSP cache would not clear. I tried adding the imports that weren't called out in the snippet above, and that caused yet more errors. 🙂
4764
Views
0
Likes
1
Replies
AEM 6.0 - Preview Mode Still Has Edit Bar Placeholders - How to Remove "new section" Divs timlwhite - Adobe Experience Manager
Hello - When entering "Preview" mode in AEM 6.0, the edit header is gone, but the "add component here" divs (with class="new section") are still there (although empty), and still have a defined height. As a result the page looks terrible, as it's full of space where the edit bars were. Why are these still here in "Preview" mode, and can I set up AEM to not include them? Thanks!Tim
5599
Views
0
Likes
7
Replies
Re: Replication Error : Failed to register namespace mapping stEvt -> http://ns.adobe.com/xap/1.0/sType/ResourceEvent timlwhite - Adobe Experience Manager
Thanks! I'd already looked there, and there's nothing useful to this issue in that doc.Through sheer trial and error, I have narrowed it down to Adobe Photoshop metadata on particular assets in the DAM. For some reason, this metadats imports OK on the author server and some of the publish instances, but not all of them.The "xpMM:history" node and "photoshop:DocumentAncestors" nodes seem to be particularly troublesome.I'm investigating to see if a patch perhaps fixed this and got left off one of ...
610
Views
0
Likes
0
Answers
Replication Error : Failed to register namespace mapping stEvt -> http://ns.adobe.com/xap/1.0/sType/ResourceEvent timlwhite - Adobe Experience Manager
Hello, one of my replication agents is not able to replicate assets in the DAM.This is not happening on all the publish instances, just this one. I can't tell a difference between the configs to any of them, and I have restarted the publish instances.Here's the error from the replication log:Sending message to omapub1:450322.05.2015 09:39:08 - ERROR - int-omapub1 : >> POST /bin/receive HTTP/1.022.05.2015 09:39:08 - ERROR - int-omapub1 : >> Action: Activate22.05.2015 09:39:08 - ERROR - int-omapub...
808
Views
0
Likes
2
Answers and Comments
Likes given to