10-10-2016 06:37 AM
Hi,
I have installed Alfresco community version 5.1.
I have update the alfresco-global setting as follows:
jodconverter.enabled=true
ooo.enabled=false
saved the file and restart the Alfresco.
When I try to preview word documents, I am getting the following error message on share: "This document can't be previewed. Click here to download it." On the log file I am seeing this error message:" The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js".
I changed to JOD because I wanted to make the following settings to enable big files to be previewed:
content.transformer.JodConverter.extensions.doc.pdf.maxSourceSizeKBytes=4096
content.transformer.JodConverter.extensions.docm.pdf.maxSourceSizeKBytes=4096
content.transformer.JodConverter.extensions.docx.pdf.maxSourceSizeKBytes=4096
content.transformer.JodConverter.extensions.dotm.pdf.maxSourceSizeKBytes=4096
content.transformer.JodConverter.extensions.dotx.pdf.maxSourceSizeKBytes=4096
content.transformer.JodConverter.extensions.potm.pdf.maxSourceSizeKBytes=4096
content.transformer.JodConverter.extensions.potx.pdf.maxSourceSizeKBytes=4096
How can I confirm that JOD converter is running?
Kind regards
10-10-2016 09:22 AM
The JODConverter is only available as part of the Enterprise Edition. In Community Edition you can only use the regular OOoDirect / OpenOffice transformer subsystem.
10-10-2016 09:22 AM
The JODConverter is only available as part of the Enterprise Edition. In Community Edition you can only use the regular OOoDirect / OpenOffice transformer subsystem.
10-13-2016 10:40 AM
Thank you Alex.
I have enabled OOO and I can preview the documents that are in the sample site, like the meeting documents. However when I upload documents over 1 MB they don't preview. The Message I get on the share is "This document can't be previewed. Click here to download it."
Error message on log file is:
2016-10-13 22:35:49,270 ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-3] Exception from executeScript - redirecting to status template error: 09130011 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js
org.springframework.extensions.webscripts.WebScriptException: 09130011 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js
Kind Regards
10-29-2016 06:50 PM
We are having the exact same problem on 4.2, 5.1d, 5.1f on Windows and Linux.
Same display error.
Same Error in the log.
Same lost node reference.
Cross linked on another post "This document can't be previewed."
08-08-2017 10:53 PM
Community Edition how to solve this problem, our server need restart every couple of days because the 'transform' process crashes .
please give me some advice,thanks @axel Faust
09-13-2017 09:14 AM
In your original question you were trying to set properties like:
content.transformer.JodConverter.extensions.docm.pdf.maxSourceSizeKBytes=4096
Now that you have switched back to OOO you can still set properties, but they have a different name:
content.transformer.OpenOffice.extensions.docm.pdf.maxSourceSizeKBytes=4096
In terms of the restarting issue, some community users have a cron jobs that kill off and restarts the soffice process to avoid having the process running too long. The JodConverter provides a layer between Alfresco and libreoffice and that is one of its functions. Both OOO and JodConverter end up talking to the same libreoffice version.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.