<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Audit DataExtractor Custom No registered in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/audit-dataextractor-custom-no-registered/m-p/145373#M38538</link>
    <description>&lt;P&gt;Hello, I'm developing a custom audit file.&lt;BR /&gt;But when the system informs: "No registered audit data extractor exists for ..."&lt;/P&gt;&lt;P&gt;The application works correctly until you insert a custom extractor.&lt;/P&gt;&lt;P&gt;I'm using SDK 4.3.&lt;/P&gt;&lt;P&gt;Apparently it loads the audit xml before the beans.&lt;/P&gt;&lt;PRE&gt;2022-10-15 18:50:26,519 ERROR [org.alfresco.repo.audit.model.AuditModelRegistryImpl] [main] Failed to load audit model: jar:file:/usr/local/tomcat/webapps/alfresco/WEB-INF/lib/toolkit-platform-03.003.000.jar!/alfresco/extension/audit/htf-audit.xml
org.alfresco.repo.audit.model.AuditModelException: 09150002 No registered audit data extractor exists for 'auditModel.extractor.htf.userRolesExtractor'.&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;DataExtractors&amp;gt;
        &amp;lt;DataExtractor name="htfUserRoles" registeredName="auditModel.extractor.htf.userRolesExtractor"/&amp;gt;
    &amp;lt;/DataExtractors&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;bean id="auditModel.extractor.htf.userRolesExtractor" class="com.htf.toolkit.helper.CustomUserRolesDataExtractor"&amp;gt;
		&amp;lt;property name="registry" ref="auditModel.extractorRegistry" /&amp;gt;
		&amp;lt;property name="siteService" ref="siteService" /&amp;gt;
    &amp;lt;/bean&amp;gt; &lt;/PRE&gt;&lt;P&gt;I noticed that the same thing happens with rm-audit, if it depends on my project (amp) and I use hotswap.&lt;/P&gt;&lt;P&gt;The application does not load.&lt;/P&gt;&lt;P&gt;Already my independent if I use the hotswap or not, the reported error happens.&lt;/P&gt;&lt;P&gt;Any suggestion? I've tried to move the audit.xml to different locations, in the jar, in the shared folder and without success.&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;</description>
    <pubDate>Sat, 15 Oct 2022 22:10:58 GMT</pubDate>
    <dc:creator>filipehtf</dc:creator>
    <dc:date>2022-10-15T22:10:58Z</dc:date>
    <item>
      <title>Audit DataExtractor Custom No registered</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/audit-dataextractor-custom-no-registered/m-p/145373#M38538</link>
      <description>&lt;P&gt;Hello, I'm developing a custom audit file.&lt;BR /&gt;But when the system informs: "No registered audit data extractor exists for ..."&lt;/P&gt;&lt;P&gt;The application works correctly until you insert a custom extractor.&lt;/P&gt;&lt;P&gt;I'm using SDK 4.3.&lt;/P&gt;&lt;P&gt;Apparently it loads the audit xml before the beans.&lt;/P&gt;&lt;PRE&gt;2022-10-15 18:50:26,519 ERROR [org.alfresco.repo.audit.model.AuditModelRegistryImpl] [main] Failed to load audit model: jar:file:/usr/local/tomcat/webapps/alfresco/WEB-INF/lib/toolkit-platform-03.003.000.jar!/alfresco/extension/audit/htf-audit.xml
org.alfresco.repo.audit.model.AuditModelException: 09150002 No registered audit data extractor exists for 'auditModel.extractor.htf.userRolesExtractor'.&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;DataExtractors&amp;gt;
        &amp;lt;DataExtractor name="htfUserRoles" registeredName="auditModel.extractor.htf.userRolesExtractor"/&amp;gt;
    &amp;lt;/DataExtractors&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;bean id="auditModel.extractor.htf.userRolesExtractor" class="com.htf.toolkit.helper.CustomUserRolesDataExtractor"&amp;gt;
		&amp;lt;property name="registry" ref="auditModel.extractorRegistry" /&amp;gt;
		&amp;lt;property name="siteService" ref="siteService" /&amp;gt;
    &amp;lt;/bean&amp;gt; &lt;/PRE&gt;&lt;P&gt;I noticed that the same thing happens with rm-audit, if it depends on my project (amp) and I use hotswap.&lt;/P&gt;&lt;P&gt;The application does not load.&lt;/P&gt;&lt;P&gt;Already my independent if I use the hotswap or not, the reported error happens.&lt;/P&gt;&lt;P&gt;Any suggestion? I've tried to move the audit.xml to different locations, in the jar, in the shared folder and without success.&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 22:10:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/audit-dataextractor-custom-no-registered/m-p/145373#M38538</guid>
      <dc:creator>filipehtf</dc:creator>
      <dc:date>2022-10-15T22:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Audit DataExtractor Custom No registered</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/audit-dataextractor-custom-no-registered/m-p/145374#M38539</link>
      <description>&lt;P&gt;Modifying the alfresco-repository-11.140 jar, and including it in the audit-services-context.xml, works. but it is not an acceptable solution.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 23:43:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/audit-dataextractor-custom-no-registered/m-p/145374#M38539</guid>
      <dc:creator>filipehtf</dc:creator>
      <dc:date>2022-10-15T23:43:08Z</dc:date>
    </item>
  </channel>
</rss>

