cancel
Showing results for 
Search instead for 
Did you mean: 

JODConverter

lufunoc
Champ on-the-rise
Champ on-the-rise

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

1 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

The JODConverter is only available as part of the Enterprise Edition. In Community Edition you can only use the regular OOoDirect / OpenOffice transformer subsystem.

View answer in original post

5 REPLIES 5

afaust
Legendary Innovator
Legendary Innovator

The JODConverter is only available as part of the Enterprise Edition. In Community Edition you can only use the regular OOoDirect / OpenOffice transformer subsystem.

lufunoc
Champ on-the-rise
Champ on-the-rise

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

nfast
Champ in-the-making
Champ in-the-making

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."

kevinchen
Champ in-the-making
Champ in-the-making

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

adavis
Champ in-the-making
Champ in-the-making

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.