AnsweredAssumed Answered

NO PREVIEW IN 4.2D

Question asked by marcello.modica@logconsulting.it on Sep 20, 2013
Latest reply on Oct 9, 2013 by braguzz
[FONT=Arial Black]Well, i find time to write correctly and update this post. [/FONT]
[SIZE=4]I want to configure OOoJodConverter subsystem on 4.2d CE[/SIZE]
[FONT=Arial Black]I try to install from scratch Alfresco 4.2d con ubuntu 12.04 LTS.[/FONT]
[FONT=Arial Black]The enviroment is: O.S Ubuntu 12.04LTS, Alfresco 4.2d community edition.[/FONT]
[FONT=Arial Black]
[/FONT]
[FONT=Arial Black]I think many users want to config it, with difficult, see link below:[/FONT]
[FONT=Arial Black]
[/FONT]
http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrades/problem-trying-use


http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrades/alfresco-42d-cannot




The output for third party tools is, here we can evice tools path:

Using CATALINA_BASE:   /opt/alfresco/tomcat
Using CATALINA_HOME:   /opt/alfresco/tomcat
Using CATALINA_TMPDIR: /opt/alfresco/tomcat/temp
Using JRE_HOME:      /opt/alfresco/java/jdk1.7.0_25
Using CLASSPATH:     /opt/alfresco/tomcat/bin/bootstrap.jar:/opt/alfresco/tomcat/bin/tomcat-juli.jar
alfresco@cms:~$ whereis soffice
soffice: /usr/bin/soffice /usr/bin/X11/soffice
alfresco@cms:~$ whereis pdf2swf
pdf2swf: /usr/local/bin/pdf2swf
alfresco@cms:~$ whereis convert
convert: /usr/local/bin/convert
alfresco@cms:~$ whereis liberoffice
liberoffice:
alfresco@cms:~$ whereis libreoffice
libreoffice: /usr/bin/libreoffice /etc/libreoffice /usr/lib/libreoffice /usr/bin/X11/libreoffice /usr/share/libreoffice /usr/share/man/man1/libreoffice.1.gz
alfresco@cms:~$ whereis gs
gs: /usr/bin/gs /usr/bin/X11/gs /usr/share/man/man1/gs.1.gz

The tools version  output is:

alfresco@cms:~$ soffice –version
LibreOffice 3.5


alfresco@cms:~$ pdf2swf –version
pdf2swf - part of swftools 0.9.2
alfresco@cms:~$ convert –version
Version: ImageMagick 6.8.6-10 2013-09-19 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: fontconfig freetype gslib jng jp2 jpeg lcms png ps png tiff zlib

I want to configure OOoJodConverter subsystem on 4.2d CE. Based on path parameters I update  shared global.properties file with this line:

###########################################
#LOGCONSULTING CUSTOMIZATIONS
#######################################


dir.root=/opt/alfresco/alf_data
#IMPORTANT: comment dir.keystore


db.username=alfresco
db.password=alfresco


db.schema.update=true


db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://localhost:5432/alfresco


index.recovery.mode=AUTO


authentication.chain=alfrescoNtlm1:alfrescoNtlm


alfresco.rmi.services.host=0.0.0.0


#
# External locations
#————-
# LibreOffice
ooo.exe=/usr/lib/libreoffice/program/soffice.bin
ooo.enabled=false
ooo.port=8100
jodconverter.officeHome=/usr/lib/libreoffice
jodconverter.portNumbers=8101,8102,8103
jodconverter.enabled=true
# ImageMagick installation
img.root=/usr/local
img.exe=/usr/local/bin/convert
# SWFTools exe
swf.exe=/usr/local/bin/pdf2swf




#SOLR INSTALL


dir.keystore=/opt/alfresco/alf_data/keystore


index.subsystem.name=solr
solr.host=localhost
solr.port=8080
solr.port.ssl=8443


#cifs


cifs.enabled=false
cifs.domain=WORKGROUP
cifs.serverName=${localname}A
cifs.hostannounce=true


#ftp


ftp.enabled=false


[SIZE=5]The error is always the same as in , others users posts:[/SIZE]


at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:724)
2013-09-20 12:19:37,914  INFO  [web.scripts.ImapServerStatus] [http-bio-8080-exec-1] Successfully retrieved IMAP server status from Alfresco: disabled
2013-09-20 12:20:20,123  INFO  [management.subsystems.ChildApplicationContextFactory] [http-bio-8080-exec-13] Starting 'Transformers' subsystem, ID: [Transformers, default]
2013-09-20 12:20:20,171  ERROR [content.transform.TransformerConfigDynamicTransformers] [http-bio-8080-exec-13] Cannot create dynamic transformer transformer.complex.JodConverter.Image as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|complex.PDF.Image").
2013-09-20 12:20:20,171  ERROR [content.transform.TransformerConfigDynamicTransformers] [http-bio-8080-exec-13] Cannot create dynamic transformer transformer.complex.JodConverter.Pdf2swf as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|Pdf2swf").
2013-09-20 12:20:20,171  ERROR [content.transform.TransformerConfigDynamicTransformers] [http-bio-8080-exec-13] Cannot create dynamic transformer transformer.JodConverter.Html2Pdf as sub transformers could not be found or created ("JodConverter|odt|JodConverter").
2013-09-20 12:20:20,171  ERROR [content.transform.TransformerConfigDynamicTransformers] [http-bio-8080-exec-13] Cannot create dynamic transformer transformer.JodConverter.2Pdf as sub transformers could not be found or created ("JodConverter|JodConverter.Html2Pdf").
2013-09-20 12:20:20,171  ERROR [content.transform.TransformerConfigDynamicTransformers] [http-bio-8080-exec-13] Cannot create dynamic transformer transformer.complex.JodConverter.PdfBox as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|PdfBox").
2013-09-20 12:20:20,252  INFO  [management.subsystems.ChildApplicationContextFactory] [http-bio-8080-exec-13] Startup of 'Transformers' subsystem, ID: [Transformers, default] complete
2013-09-20 12:20:23,326  INFO  [web.scripts.MimetypesQuery] [http-bio-8080-exec-7] Successfully retrieved mimetypes information from Alfresco.

Outcomes