Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Exception thrown when generating feed.xml

Avatar

Level 5

    Hi All,

        We are  trying to add rss feed feature to geoblog - geometrix blog page. Requirement is users can subscribe to all the blogs from the blog listing page and to a particular blog from the main blog page.

            When we change the selector of http://localhost:4502/cf#/content/geometrixx/en/blog.html  to  http://localhost:4502/cf#/content/geometrixx/en/blog.feed the feed.jsp at /libs/foundation/components/primary/cq/Page/feed.jsp  got executed.

            We tried to change this behaviour but failed. Then we had to make an overlay for the same. Now we are  getting feeds as expected and the xml file is getting generated but for some reason in logs an exception is thrown 

Caused by: java.lang.IllegalStateException: output stream already obtained
    at com.day.j2ee.servletengine.ResponseImpl.getWriter(ResponseImpl.java:765)

we followed [1] but the issue still persists.

[1] https://helpx.adobe.com/experience-manager/kb/OutputStreamAlreadyObtained.html

Can someone help us on this please.

Thanks in advance!!

0 Replies