3 Replies Latest reply on Aug 14, 2017 10:33 AM by smacdonald2008

    Custom Polling Importer on AEM 6.3 with archetype 11

    bhavyas69819199

      I have followed this link to create a custom polling importer :

      Adobe Experience Manager Help | Creating Custom Data Importer Services for Adobe Experience Manager

       

      I have followed all the steps correctly on both AEM 6.2 with archetype 10 and AEM 6.3 with archetype 11.

      But the service seems to get called fine in AEM 6.2 archetype10 but not on AEM 6.3. archetype11.

       

      AEM 6.2 with Archetype 10

      Error.log file

      ****************************************************************************************** ***********

      1. 12.08.2017 14:59:46.747 *INFO* [sling-oak-observation-49] com.day.cq.polling.importer.impl.PollingImporterImpl addResource: Registering PollConfig PollConfig(/content/poll/jcr:content): scheme=myimporter,source=myDataSource,target=/content/poll/jcr:content,interval=1800s,ena bled=true
      2. 12.08.2017 14:59:46.748 *INFO* [sling-oak-observation-49] com.day.cq.cq-polling-importer Service [PollConfig(/content/poll/jcr:content): scheme=myimporter,source=myDataSource,target=/content/poll/jcr:content,interval=1800s,ena bled=true,5078, [java.lang.Runnable]] ServiceEvent REGISTERED
      3. 12.08.2017 14:59:46.767 *INFO* [sling-default-22-myDataSource.5078] com.day.cq.polling.importer.impl.PollingImporterImpl importData: Importing data from myimporter:myDataSource to /content/poll/jcr:content as polling-importer-service by uk.co.three.rebus.three_rebus.core.SimpleDSComponent@32f2dd0b
      4. 12.08.2017 14:59:46.768 *INFO* [sling-default-22-myDataSource.5078] uk.co.three.rebus.three_rebus.core.SimpleDSComponent Date : Sat Aug 12 14:59:46 IST 2017
      5. 12.08.2017 14:59:46.768 *INFO* [sling-default-22-myDataSource.5078] uk.co.three.rebus.three_rebus.core.SimpleDSComponent scheme : myimporter
      6. 12.08.2017 14:59:46.768 *INFO* [sling-default-22-myDataSource.5078] uk.co.three.rebus.three_rebus.core.SimpleDSComponent datasource : myDataSource
      7. 12.08.2017 14:59:46.768 *INFO* [sling-default-22-myDataSource.5078] uk.co.three.rebus.three_rebus.core.SimpleDSComponent target : /content/poll/jcr:content

        ****************************************************************************************** **************************

       

      AEM 6.3 with Archetype 11

      Error.log file

      ******************************************************************************

      1. 12.08.2017 15:11:59.760 *WARN* [sling-cq-polling-importer-10-http://localhost:4502/content/Commercial.xml.4240] com.day.cq.polling.importer.impl.PollingImporterImpl importData: Cannot import from PollConfig(/content/Poll/jcr:content): scheme=myimporter,source=http://localhost:4502/content/Commercial.xml,target=/content/Poll/jcr:content,interval=300 s,enabled=true: No importer for scheme myimporter registered

      **********************************************************************************

       

      Is this issue because of the Archetype version or because of AEM version? What could possibly be wrong? Please Help.