Is linkchecker enabled by default? | Community
Skip to main content
arvindk091986
Level 2
August 2, 2019

Is linkchecker enabled by default?

  • August 2, 2019
  • 1 reply
  • 4994 views

Hi all,

I am trying to enable the link checker on my instance, because of the concern of the broken links on the website. Is the link checker enabled by default and does the events get triggered when we are authoring the pages with say rich text field component? I have been through quite a few articles that are on the web - for instance AEM Link Checker : Comprehensive Guide , but there is nothing different than in the configuration, that we have it on our AEM 6.2 instance, from what it is mentioned. The default parameters have never been changed and neither it's disabled. Most of my internet search ended up with only disabling a link checker and not that anything else need to be configured for making it to work. Upon making changes to configuration, I could see that in the logs but when I apply broken links for validation while authoring, it doesn't show up either in logs nor in the link checker console /etc/linkchecker.html.

02.08.2019 08:19:14.382 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.adobe.cq.mobile.cq-mobile-dps Service [com.adobe.cq.mobile.dps.impl.rewriter.PathRewriterTransformerFactory,3967, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent UNREGISTERING

02.08.2019 08:19:14.384 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.mcm.cq-mcm-core Service [com.day.cq.mcm.core.newsletter.NewsletterTransformerFactory,2481, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent UNREGISTERING

02.08.2019 08:19:14.386 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.wcm.cq-wcm-mobile-core Service [com.day.cq.wcm.mobile.core.impl.rewriter.MobileTransformerFactory,2731, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent UNREGISTERING

02.08.2019 08:19:14.388 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.wcm.cq-wcm-content-sync Service [com.day.cq.wcm.contentsync.impl.rewriter.PathRewriterTransformerFactory,3983, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent UNREGISTERING

02.08.2019 08:19:14.388 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.cq-rewriter Service [com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl,2479, [java.lang.Runnable, com.day.cq.rewriter.linkchecker.LinkChecker]] ServiceEvent UNREGISTERING

02.08.2019 08:19:14.389 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.adobe.cq.mobile.cq-mobile-core Service [com.adobe.cq.mobile.platform.impl.rewriter.HybridAppPathRewriterTransformerFactory,2480, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent UNREGISTERING

02.08.2019 08:19:14.392 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.cq-rewriter Service [com.day.cq.rewriter.linkchecker.impl.LinkCheckerTransformerFactory,2482, [org.apache.sling.rewriter.TransformerFactory, org.osgi.service.event.EventHandler, com.day.cq.rewriter.linkchecker.LinkCheckerConfigProvider]] ServiceEvent UNREGISTERING

02.08.2019 08:19:14.393 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.cq-rewriter Service [com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask,2483, [java.lang.Runnable, com.day.cq.rewriter.linkchecker.ExternalLinkChecker, org.apache.sling.discovery.TopologyEventListener]] ServiceEvent UNREGISTERING

02.08.2019 08:19:14.394 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask LinkChecker service shut down

02.08.2019 08:19:14.396 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.adobe.cq.media.cq-media-publishing-dps-integration Service [com.adobe.cq.media.publishing.dps.impl.rewriter.PathRewriterTransformerFactory,5339, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent UNREGISTERING

02.08.2019 08:19:14.408 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.adobe.cq.mobile.cq-mobile-dps Service [com.adobe.cq.mobile.dps.impl.rewriter.PathRewriterTransformerFactory,12215, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent REGISTERED

02.08.2019 08:19:14.411 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.mcm.cq-mcm-core Service [com.day.cq.mcm.core.newsletter.NewsletterTransformerFactory,12216, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent REGISTERED

02.08.2019 08:19:14.412 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.wcm.cq-wcm-mobile-core Service [com.day.cq.wcm.mobile.core.impl.rewriter.MobileTransformerFactory,12217, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent REGISTERED

02.08.2019 08:19:14.414 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.wcm.cq-wcm-content-sync Service [com.day.cq.wcm.contentsync.impl.rewriter.PathRewriterTransformerFactory,12218, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent REGISTERED

02.08.2019 08:19:14.414 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.cq-rewriter Service [com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl,12214, [java.lang.Runnable, com.day.cq.rewriter.linkchecker.LinkChecker]] ServiceEvent REGISTERED

02.08.2019 08:19:14.415 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.adobe.cq.mobile.cq-mobile-core Service [com.adobe.cq.mobile.platform.impl.rewriter.HybridAppPathRewriterTransformerFactory,12219, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent REGISTERED

02.08.2019 08:19:14.417 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.cq-rewriter Service [com.day.cq.rewriter.linkchecker.impl.LinkCheckerTransformerFactory,12220, [org.apache.sling.rewriter.TransformerFactory, org.osgi.service.event.EventHandler, com.day.cq.rewriter.linkchecker.LinkCheckerConfigProvider]] ServiceEvent REGISTERED

02.08.2019 08:19:14.418 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.cq-rewriter Service [com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask,12221, [java.lang.Runnable, com.day.cq.rewriter.linkchecker.ExternalLinkChecker, org.apache.sling.discovery.TopologyEventListener]] ServiceEvent REGISTERED

02.08.2019 08:19:14.420 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask LinkChecker service activated

02.08.2019 08:19:14.421 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] org.apache.sling.discovery.commons.providers.base.ViewStateManagerImpl enqueue: enqueuing topologyEvent TopologyEvent [type=TOPOLOGY_INIT, oldView=null, newView=DefaultTopologyView[current=true, num=1, instances=106405bb-0ee8-4fd7-9ede-e4f8dccdcd48[local=true,leader=true]]], to com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask@3bd38214

02.08.2019 08:19:14.422 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl)] com.adobe.cq.media.cq-media-publishing-dps-integration Service [com.adobe.cq.media.publishing.dps.impl.rewriter.PathRewriterTransformerFactory,12222, [org.apache.sling.rewriter.TransformerFactory]] ServiceEvent REGISTERED

Can someone please let me know if there is anything else need to be done to make it work on AEM instance or if I am missing anything else?

As far as the link checker configuration is concerned, all the environments including Dev, QA, UAT and PROD are on AEM 6.2 and has the same default configuration.

Appreciate your help. Thanks in advance.

Thanks,
Arvind

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
August 2, 2019

Go to [1] and make sure the "Disable Checking" checkbox is unchecked. By Default, Link checker runs every hour which can be configured by changing the "Scheduler Period" from [2]

[1] http://<host>:<port>/system/console/configMgr/com.day.cq.rewriter.linkchecker.impl.LinkCheckerTransformerFactory

[2] http://<host>:<port>/system/console/configMgr/com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

arvindk091986
Level 2
August 2, 2019

Hi JaideepBrar,

I confirm that, the "Disable checking" is unchecked and the default value for "Scheduler period" was changed to random values and tried testing it and then had reset values. No luck yet. Was not able to see anything related to link checker in logs nor in the link checker tool console.

Adobe Employee
August 2, 2019

Follow the steps below:

- Change the "Scheduler period" to 5

- Open any page

- Add Text Component to it

- Add a hyperlink to text(www.adobe.com)

- Now, go to <host>:<port>/etc/linkchecker.html

- AEM should list the newly added link here

- Wait for 5 seconds and AEM should verify the links.

You can setup a DEBUG logger on "com.day.cq.rewriter.linkchecker" to check whats happening in the background.