09-13-2021 09:36 AM
Hello,
We have installed Alfresco Content Services 7.0.1 from the .zip-file and have started deploying our extensions from version 5.2.1 to our new installation. We are facing problems with the extension "custom-metadata-extrators-context.xml". To analyze our problem we have switched to the custom-metadata-extrators-context.xml.sample file provided with the installer and deployed this file. Nevertheless we get still numerous class not found exceptions. The exact error message is:
nested exception is java.lang.ClassNotFoundException: org.alfresco.repo.content.metadata.OpenDocumentMetadataExtracter
Does anyone have an idea?
09-13-2021 10:39 AM
With latest version ways to override/extend the metadata extrator has changed.
Read more on this here: https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/metadata-extractors/#ootbe...
The class you are looking for is no longer available with repository app and moved to transformation service app, see above doc link. So typically you don't need to configure anything with spring context file except for xml metadata extractor. What you see in distribution zip may be not removed and it should be removed to avoid any confusion and also the name of class is wrong in the sample pertaining to acs7.
Check the full doc here: https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/metadata-extractors/
09-14-2021 02:13 AM
Hello.
Thank you very much. I'll examine if this will solve my problem.
But to that relation then I have another question.
I installed the t-engine according to these installation instructions : https://docs.alfresco.com/transform-service/latest/install/#install-with-zip
I am able to launch all 3 jar files without errors on startup, but alfresco only starts up when running the aio-script without the 2 others.
Is this the correct way to go as this is an all-in-one scripts or do I also need the two other scripts running for alfresco to work correctly?
09-14-2021 10:16 AM
Checkout this post for detailed steps on installation:
https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html
All in one script sample:
09-15-2021 05:39 AM
Great Documentation. Thank you very much.
Explore our Alfresco products with the links below. Use labels to filter content by product module.