Viewing CQ server logs for a system hosted on Cloud Manager

- Samartha Vashishtha

To understand how you can view logs for a CQ Cloud Manager authoring server, look no further than this useful forum topic.

For more top issues and FAQ related to Adobe CQ Cloud Manager, see this documentation article.

-------

Read the original post at The Doc Fox.

CQ5 – Command Line Admin

- Jochen Toppe

It’s so rare that I post here, it’s almost criminal. While researching how to best automate cloud-based installations of CQ5, I ran across these sweet command line tools to change passwords and setup replication agents. I figured they’d be worth sharin 8-)

They’re right here on github.

---------

Read the original post at Jochen Toppe's blog.

Cloud Manager: How are Pause and Stop operations different?

- Samartha Vashishtha

When you pause a cloud, the cloud provider doesn’t charge for CPU cycles anymore. However, you are still charged for the allocated storage (for example, Amazon EBS volumes). Paused clouds are displayed in the Clouds dashboard with a yellow status.

However, when you stop a cloud, no memory, EBS storage, or instances remain allocated to it anymore. However, online backups for the stopped cloud are still retained and can be restored. The cloud provider continues to charge for the saved online backups. Stopped clouds are displayed in the Clouds dashboard with a red status.

For more FAQ related to Cloud Manager, refer to this documentation topic or consult this forum.

----------

Read the original post at The Doc Fox.

Logging Activates, Deactivates and Deletes

- Sensei Martin

To keep a log of who has activated or deactivated a page, add this to your logging :-

Log Level: Debug

Logger: com.day.cq.replication.impl.queue.ReplicationJob

........

---------------

Read the complete post at My Day CQ Blog.

CQ Developer Tricks

- Feike Visser

While working with Adobe CQ5 every now and then you discover some new tricks or options, here the list that I use daily:

Remove #cf/

Don’t want to see/wait for the content-finder while refereshing pages, just remove #cf/ in your url.

?debug=layout

Shows you all details of the components used on your page

?debugConsole=true

Runs Firebug Lite inside your browser

?wcmmode=(edit|preview|design|disabled)

This parameter sets your WcmMode in the specified mode, makes testing for a particular WcmMode easier .

...

----------

Read the complete blog post at the Experience Delivers blog.

Creating a Column Control in Adobe CQ

- Dan Klco

Column Controls in Adobe CQ allow authors to easily create and configure column-based layouts.  This guide shows advanced users and developers how to create and configure a column control.

Step 1: Add a Parsys to a Component JSP

Include a Paragraph System into the page’s component JSP.  You can use any node name for the path, the resource type is ‘foundation/components/parsys’

<cq:includepath="par"resourceType="foundation/components/parsys "/>

Step 2: Configure the Paragraph System

To add a Column Control to the Paragraph System, you will first need to update the design.  Select design mode on the sidekick.

Selecting Design Mode

Selecting Design Mode

...

-------

Read the complete post on the Six Dimensions blog.

Disk space growing on the CQ author server?

- Sensei Martin

If the disk space on the CQ5 author server is growing at 1-2GBs per day, then check on the filesystem, to see where the growth is at.

If you find that the "journal" directory is GigaBytes then check out this article: http://dev.day.com/content/kb/home/Crx/Troubleshooting/JournalTooMuchDiskSpace.html.

Symptoms

With a default FileJournal configuration in place, depending on the activity on the repository, over time, many Journal log-files will be created. This eventually may cause a disk space issue and performance problems in applications that use CRX.

...

-----

Read the full post at this URL.

Escaping xpath queries

node name in xpath query cannot start with numbers:

https://issues.apache.org/jira/browse/JCR-579

So, use org.apache.jackrabbit.util.ISO9075 as shown in:

http://wiki.apache.org/jackrabbit/EncodingAndEscaping

Example xpath servlet (/apps/sandbox/xpath/xpath.jsp):

https://gist.github.com/1478007

...

----------

Read the full blog post at this URL.

Reverse Replication woes

- Sensei Martin

So, in my previous post I said how wonderful FP37434 is (the replication stabilisation FP). Unfortunately, it did not solve our problem and we now have a large volume of content to reverse replicate (~50k nodes in /var/replication/outbox across all our publish servers).

We are currently facing 2 problems. When the RR agent polls, the publish server with FP37434 exhibits a huge native memory leak (approx 8GB of native memory is being claimed) causing a great deal of paging on the system.

When we batch this down to only 10 items in the outbox, we noticed that the author takes 30 minutes to process 10 nodes.

Adding extra logging (com.day.cq.replication.content.durbo) at DEBUG level shows that the Author is doing valid work for 30 minutes processing just 10 nodes from the outbox.

...

---------

Read the complete post at this URL.