since ‎18-02-2014
‎10-12-2019
peady
Level 1
Re: AEM 6.2 OSGi HTTP proxy with authentication drops username peady - Adobe Experience Manager
I can confirm that upgrading 6.2 to included SP1 (which I had already) and CFP17 (I only had CFP2 !) does indeed rectify the problem.Thanks for your suggestion.
72
Views
0
Likes
0
Answers
AEM 6.2 OSGi HTTP proxy with authentication drops username peady - Adobe Experience Manager
This link for 6.2: OSGi Configuration Settings suggests org.apache.http.proxyconfigurator is available. However the java docs appear to be missing it: "The Adobe AEM Quickstart and Web Application." Regardless, if I attempt to use org.apache.http.osgi.services.ProxyConfiguration and associated org.apache.http.osgi.services.HttpClientBuilderFactory within a vanilla 6.2 instance I see that the username, even tho it's set in the Web Console config, is ignored (an empty string is used when debugging...
187
Views
0
Likes
2
Answers and Comments
Bundled Apache HTTP client - no proxy peady - Adobe Experience Manager
AEM 6.2/3/4Does anyone know if it's possible to use (or uses) the Apache HttpClient OSGi bundle (org.apache.httpcomponents.httpclient) without proxy settings?In other words, if it's disabled by unchecking "Enable HTTP Proxy" and I try to use an instance of it via HttpClientBuilderFactory, will it behave as a regular Apache HTTP client?I suspect so...Regards,David(Don't say try it )
79
Views
0
Likes
2
Answers and Comments
Re: SlingFilter doFilter NPE root cause and diagnosis peady - Adobe Experience Manager
Current file imports plus interface implementations:import com.day.cq.wcm.api.components.ComponentContext; import com.google.common.base.Charsets; import com.google.common.base.Strings; import com.google.common.hash.HashCode; import com.google.common.hash.Hasher; import com.google.common.hash.Hashing; import lombok.extern.slf4j.Slf4j; import org.apache.commons.io.FilenameUtils; import org.apache.felix.scr.annotations.Activate; import org.apache.felix.scr.annotations.Property; import org.apache.f...
19
Views
0
Likes
0
Replies
Re: SlingFilter doFilter NPE root cause and diagnosis peady - Adobe Experience Manager
Great it doesn't handle attachements. OK, here's the end of the stack trace, hopefully that'll be enough:Caused by: java.lang.NullPointerException at org.apache.sling.i18n.DefaultLocaleResolver.resolveLocale(DefaultLocaleResolver.java:53) at org.apache.sling.i18n.DefaultLocaleResolver.resolveLocale(DefaultLocaleResolver.java:44) at org.apache.sling.i18n.impl.I18NFilter$I18NSlingHttpServletRequest.getLocaleList(I18NFilter.java:360) at org.apache.sling.i18n.impl.I18NFilter$I18NSlingHttpServletRequ...
19
Views
0
Likes
0
Replies
SlingFilter doFilter NPE root cause and diagnosis peady - Adobe Experience Manager
Apologies for the slow reply, just back from holidays. Thanks for your willingness to take a look at the package. Unfortunately I can't send it on as there's IP constraints and it's used by a number of customers of our service. I was hoping for a bit of direction on:Where and why the NPE is being thrown from what I can send in the way of stack traces.Where I might add any extra logging orany tips for Filter debugging by way of what we're encountering. I suspect it is another lib/package that is ...
240
Views
0
Likes
4
Replies