Saturday, July 5, 2014

How to enable logging for JSP pages?

JSPs are compiled into a package called org.apache.jsp with the script path converted to further package parts.


You can configure below log name to enable logging for title.jsp

log Name:   org.apache.jsp.apps.demo.components

Friday, July 4, 2014

What is Replication in CQ5 & the process.

Replication is the mechanism used to:

Publish (activate) content from an author to publish environment.
Explicitly flush content from the Dispatcher cache.
Return user input (eg, form input) from publish environment to the author environment (under control of the author environment)


1)    First, the author requests that certain content to be published (activated).
2)    The request is passed to the appropriate default replication agent.
3)    Replication agent packages the content and places it in the replication queue.
4)    the content is lifted from the queue and transported to the publish environment using the   configured protocol.
5)    a servlet in the publish environment receives the request and publishes the received content, the default servlet is http://localhost:4502/bin/receive.