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

Linda_Jufferma1
Community profile Linda_Jufferma1 Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 09-05-2014 12:23:33 AM
Offline
Top badges earned by Linda_Jufferma1
Customize the badges you want to showcase on your profile
Re: Autoscaling AEM
Avatar
Level 1
Linda_Jufferma1
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
Linda_Jufferma1
- Adobe Experience Manager
I've been wondering if it is possible to separate content from code in such a way that we can containerize the AEM instance with just code (OSGi bundles, templates, components, clientlibraries, etc.) that can be used to quickly spin-up a new (Publisher) instance - or to prepare the next code release - and where content (e.g. pages, assets, data sets) is maintained in a separate layer and available to the new instance.In our experience, cloning an entire Publisher instance takes too much time and...

Views

7.4K

Likes

0

Replies

2
Re: RequestResponseFactory and FakeRequest
Avatar
Level 1
Linda_Jufferma1
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
Linda_Jufferma1
- Adobe Experience Manager
I did not overcome the issue; for pages we're using an HTTP request in stead of the requestResponseFactory solution.

Views

1.7K

Likes

0

Replies

0
Re: RequestResponseFactory and FakeRequest
Avatar
Level 1
Linda_Jufferma1
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
Linda_Jufferma1
- Adobe Experience Manager
I noticed I forgot to paste 1 line of code in my question (this would be line #5):slingRequestProcessor.processRequest(servletRequest, servletResponse, resourceResolver);I tried the code from https://gist.githubusercontent.com/nateyolles/1dc9f8699fce70916764/raw/e344a064804dc920f5fc7e79ec8687899387a7b3/AemResou… but calling that servlet (on /bin/foo) causes the same error:Caused by: java.lang.UnsupportedOperationException: nullat com.day.cq.contentsync.impl.handler.util.FakeRequest$FakeHttpSessi...

Views

1.7K

Likes

0

Replies

2
Re: RequestResponseFactory and FakeRequest
Avatar
Level 1
Linda_Jufferma1
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
Linda_Jufferma1
- Adobe Experience Manager
There's Retrieve the HTML contents of a cq:Page and RequestResponseFactory ("The Adobe AEM Quickstart and Web Application.") ...I'm not trying to get node information, I'm trying to retrieve content (HTML and client libraries).

Views

1.7K

Likes

0

Replies

5
RequestResponseFactory and FakeRequest
Avatar
Level 1
Linda_Jufferma1
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
Linda_Jufferma1
- Adobe Experience Manager
Hi,We use the RequestResponseFactory to retrieve content from AEM inside an OSGi bundle:The service is obtained through:@Referenceprivate RequestResponseFactory requestResponseFactory;And used like this:final HttpServletRequest servletRequest = requestResponseFactory.createRequest("GET", path);WCMMode.DISABLED.toRequest(servletRequest);final ByteArrayOutputStream responseOutputStream = new ByteArrayOutputStream();final HttpServletResponse servletResponse = requestResponseFactory.createResponse(r...

Views

2.5K

Likes

0

Replies

9