Expand my Community achievements bar.

SOLVED

CQ5 Content Finder breaking page on load.

Avatar

Level 2

This is a hopefully simple question, with hopefully a simple solution.  When I try to load a page (on my local machine) at http://localhost:4502/cf#/content/my/website/page.html, my page never loads.  When I delete the /cf# in the url, the page loads as it should, just without the Content Finder Navigation on the left.  I was able to replicate this issue (on my local machine) in another instance http://localhost:4504/cf#/content/my/website/page.html does the same thing as the 4502 instance.  I was unable to replicate this issue on other machines and on colleagues machines.

Has anyone encountered this issue before and is there a fix for this?

1 Accepted Solution

Avatar

Correct answer by
Level 6

Yes, that is known to happen from time to time. Sometimes it is due to cached data, but most of the time, it is due to some error in the targeted page/template/component that makes it fail. Does your logs state anything?

Also, I have a couple of times got this behaviour when the internal cache has been corrupt and then removed those node from under /tmp and /var.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 6

Yes, that is known to happen from time to time. Sometimes it is due to cached data, but most of the time, it is due to some error in the targeted page/template/component that makes it fail. Does your logs state anything?

Also, I have a couple of times got this behaviour when the internal cache has been corrupt and then removed those node from under /tmp and /var.

Avatar

Level 2

Here are the logs from the last several minutes, having hit a page with the /cf#/ in the url:

15.08.2013 10:12:48.224 *INFO* [0:0:0:0:0:0:0:1 [1376579568221] GET /favicon.ico HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /favicon.ico not found 15.08.2013 10:13:58.819 *INFO* [jackrabbit-pool-8] org.apache.jackrabbit.core.query.lucene.IndexMerger merged 32 documents in 21 ms into _s55. 15.08.2013 10:14:24.013 *INFO* [pool-6-thread-1] com.day.cq.statistics.impl.StatisticsServiceImpl Running clean up reports... 15.08.2013 10:14:24.293 *INFO* [pool-6-thread-1] com.day.cq.statistics.impl.StatisticsServiceImpl Clean up reports finished 15.08.2013 10:14:24.294 *INFO* [pool-6-thread-1] com.day.cq.statistics.impl.StatisticsServiceImpl Running keyword update report... 15.08.2013 10:14:24.374 *INFO* [pool-6-thread-1] com.day.cq.statistics.impl.StatisticsServiceImpl No keyword properties modified 15.08.2013 10:16:13.377 *INFO* [jackrabbit-pool-15] org.apache.jackrabbit.core.query.lucene.IndexMerger merged 33 documents in 22 ms into _s5f. 15.08.2013 10:17:23.446 *INFO* [pool-6-thread-2] com.day.crx.security.token.impl.TokenCleanupTask TokenCleanupTask: Removed 0 token(s) in 444ms (2 token(s) still active) 15.08.2013 10:17:41.857 *INFO* [0:0:0:0:0:0:0:1 [1376579861854] GET /favicon.ico HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /favicon.ico not found 15.08.2013 10:18:27.927 *INFO* [jackrabbit-pool-6] org.apache.jackrabbit.core.query.lucene.IndexMerger merged 33 documents in 21 ms into _s5p. 15.08.2013 10:18:54.826 *INFO* [pool-6-thread-3] org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager cachename=crx.defaultBundleCache[ConcurrentCache@49115d5b], elements=2502, usedmemorykb=8191, maxmemorykb=8192, access=86233, miss=28683 15.08.2013 10:20:43.207 *INFO* [jackrabbit-pool-11] org.apache.jackrabbit.core.query.lucene.IndexMerger merged 33 documents in 21 ms into _s5z. 15.08.2013 10:22:58.463 *INFO* [jackrabbit-pool-15] org.apache.jackrabbit.core.query.lucene.IndexMerger merged 33 documents in 23 ms into _s69.

I cleared my browser cache, removed nodes from the /tmp and /var.  All my pages have the same behavior when trying to load it with the /cf#/ in the url.  If there is an error with the template, then I guess all my 8 or so templates have errors...