Greetings Everyone,
I followed this post - https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-comunity-7-zip-haven-t-alfresco...
and installed my local Transformer Service based off Abhinav's blog - https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html
Once, I start Alfreso and other Services like ActiveMQ, localTransformers, Alfresco and Solr6 - I see the following:
ERROR [content.transform.LocalTransform] [http-nio-8080-exec-3] Local transformer TikaAuto on http://localhost:8090/ is not available: 10106190 TikaAuto check failed to connect or to read the response
ERROR [content.transform.LocalTransform] [http-nio-8080-exec-12] Local transformer TikaAuto on http://localhost:8090/ is not available: 10108780 TikaAuto check failed to connect or to read the response
ERROR [content.transform.LocalTransform] [http-nio-8080-exec-20] Local transformer html on http://localhost:8090/ is not available: 101011620 html check failed to connect or to read the response
ERROR [content.transform.LocalTransform] [http-nio-8080-exec-18] Local transformer Archive on http://localhost:8090/ is not available: 101013387 Archive check failed to connect or to read the response
ERROR [content.transform.LocalTransform] [http-nio-8080-exec-11] Local transformer html on http://localhost:8090/ is not available: 101013516 html check failed to connect or to read the response
ERROR [content.transform.LocalTransform] [http-nio-8080-exec-10] Local transformer string on http://localhost:8090/ is not available: 101013534 string check failed to connect or to read the response
ERROR [content.transform.LocalTransform] [http-nio-8080-exec-26] Local transformer TikaAuto on http://localhost:8090/ is not available: 101013548 TikaAuto check failed to connect or to read the response
In my alfreso-global.properties file, I've set the following:
## AMQ And Transformation services localTransform.core-aio.url=http://localhost:8090/ local.transform.service.enabled=true messaging.broker.url=tcp://localhost:61616 messaging.subsystem.autoStart=true #If you have setup username and password for AMQ, then set the below properties. In my case i have kept default admin/admin messaging.broker.username=admin messaging.broker.password=admin
How do I resolve this issue ?
Thanks and Regards,
-Mohit
The error indicates that the local tranform service is not running. Did you started the alfresco-transform-core-aio-boot app ?
May be cross check whether app starts, refer this script : https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/blob/main/linux-platform...
Try accessing the url: http://localhost:8090/ in browser and see what you get after starting the service.
You can also refer this script that starts all services: https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/blob/main/linux-platform...
Hi Abhinav,
Thank you for your response, and I'm Sorry for updating the ticket/case after so many days.
1. I added the following to the alfresco-global.properties file and the errors disappeared.
img.root=/home/alfresco/alfresco/imagemagick
img.dyn=${img.root}/lib
img.exe=${img.root}/convert
img.coders=${img.root}/modules-Q16/coders
img.config=${img.root}/config-Q16
img.url=${img.root}/url
alfresco-pdf-renderer.root=/home/alfresco/alfresco/alfresco-pdf-renderer
alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer
But this makes me wonder that the Legacy Transformer has kicked in and that's why the errors are not seen.
2. Secondly, I have this installed on an AWS Centos instance as suggested in your post - https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html, So I cannot access it by using the URL - : http://localhost:8090/. So what I generally do is remote into a Windows Server in teh same AWS VPC and using the browser, I navigate to http://<ipaddress>:8090.
But when I tried the URL - http://<ipaddress>:8090, it gives me 'The page cannot be displayed', which tells me that my Local Transformer Engine is not up and running.
3. I have set it up using the localTransformationService.sh script that I call from a start.sh like this:
sudo -u alfresco $ALF_HOME/localTransformationService.sh start
4. I ran the command 'ps -eaf | grep alfresco' and realized that 'Yes, the Transformer Engine was not running. Don't know why.
5. I explicitly started it by running the ./localTransformationService.sh start and then went to http://<ipaddress>:8090 and I do see all the Transformer options.
So question to you is:
a. Can I remove the properties img.root, img.* and alfresco-pdf-renderer.* from my alfresco-global.properties file ?
b. I believe I will need to change the URL from http://localhost:8090/ to http://domainname:8090/ and also need to add the Reverse Proxy for the same.
c. Lastly, when I upgrade an Alfresco 5.x Instance to Alfresco 7.1.x Instance - I get 100s of the following Warning and Error Messages:
WARN [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-1] Transformer "rfc822ToPdf" ignored as step transforms ("rfc822", "libreoffice") do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
WARN [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-1] Transformer "htmlToPdfViaTXT" ignored as step transforms ("string", "libreoffice") do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "outlookMsg2Pdf" references the transformOptions (tikaOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "rfc822ToImage" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "textToImageViaPdf" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "ooXmlToImageViaText" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "archiveToImageViaText" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "ooXmlToPdfViaText" references the transformOptions (tikaOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "archiveToPdfViaText2" references the transformOptions (archiveOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "libreofficeToPdfBoxViaPdf" references the transformOptions (pdfboxOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "textBasedToImageViaText" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "outlookMsgToLibreofficeViaText" references the transformOptions (tikaOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "htmlToImageViaTXT" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
WARN [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "rfc822ToPdf" ignored as step transforms ("rfc822", "libreoffice") do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
WARN [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "htmlToPdfViaTXT" ignored as step transforms ("string", "libreoffice") do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
Thanks and Regards,
-Mohit
@mohitashah1 wrote:
Hi Abhinav,
Thank you for your response, and I'm Sorry for updating the ticket/case after so many days.
1. I added the following to the alfresco-global.properties file and the errors disappeared.
img.root=/home/alfresco/alfresco/imagemagick
img.dyn=${img.root}/lib
img.exe=${img.root}/convert
img.coders=${img.root}/modules-Q16/coders
img.config=${img.root}/config-Q16
img.url=${img.root}/url
alfresco-pdf-renderer.root=/home/alfresco/alfresco/alfresco-pdf-renderer
alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-rendererBut this makes me wonder that the Legacy Transformer has kicked in and that's why the errors are not seen.
2. Secondly, I have this installed on an AWS Centos instance as suggested in your post - https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html, So I cannot access it by using the URL - : http://localhost:8090/. So what I generally do is remote into a Windows Server in teh same AWS VPC and using the browser, I navigate to http://<ipaddress>:8090.
But when I tried the URL - http://<ipaddress>:8090, it gives me 'The page cannot be displayed', which tells me that my Local Transformer Engine is not up and running.
3. I have set it up using the localTransformationService.sh script that I call from a start.sh like this:
sudo -u alfresco $ALF_HOME/localTransformationService.sh start
4. I ran the command 'ps -eaf | grep alfresco' and realized that 'Yes, the Transformer Engine was not running. Don't know why.
5. I explicitly started it by running the ./localTransformationService.sh start and then went to http://<ipaddress>:8090 and I do see all the Transformer options.
So question to you is:
a. Can I remove the properties img.root, img.* and alfresco-pdf-renderer.* from my alfresco-global.properties file ?
b. I believe I will need to change the URL from http://localhost:8090/ to http://domainname:8090/ and also need to add the Reverse Proxy for the same.
c. Lastly, when I upgrade an Alfresco 5.x Instance to Alfresco 7.1.x Instance - I get 100s of the following Warning and Error Messages:
WARN [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-1] Transformer "rfc822ToPdf" ignored as step transforms ("rfc822", "libreoffice") do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
WARN [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-1] Transformer "htmlToPdfViaTXT" ignored as step transforms ("string", "libreoffice") do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "outlookMsg2Pdf" references the transformOptions (tikaOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "rfc822ToImage" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "textToImageViaPdf" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "ooXmlToImageViaText" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "archiveToImageViaText" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "ooXmlToPdfViaText" references the transformOptions (tikaOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "archiveToPdfViaText2" references the transformOptions (archiveOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "libreofficeToPdfBoxViaPdf" references the transformOptions (pdfboxOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "textBasedToImageViaText" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "outlookMsgToLibreofficeViaText" references the transformOptions (tikaOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "htmlToImageViaTXT" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
WARN [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "rfc822ToPdf" ignored as step transforms ("rfc822", "libreoffice") do not exist. Read from resource alfresco/transforms/0100-basePipelines.json
WARN [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Transformer "htmlToPdfViaTXT" ignored as step transforms ("string", "libreoffice") do not exist. Read from resource alfresco/transforms/0100-basePipelines.jsonThanks and Regards,
-Mohit
1 and a. -> These properties are no longer valid for ACS7.x. Legacy tr service was deprecated in acs6.x https://docs.alfresco.com/transform-service/latest/config/#transform-service-vs-local-and-legacy-tra...
2-5 and b -> You need to make sure that service starts and accessible to repository and activemq. You can also refer this script: https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/blob/main/linux-platform... which starts all required services
c. The error should get away once 1-5 (a & b) is resolved.
You can also refer this thread : https://hub.alfresco.com/t5/alfresco-content-services-forum/error-transformer-ignored-as-step-transf...
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.