cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco 4.2.d Cannot create dynamic transformer

sharifu
Confirmed Champ
Confirmed Champ
I have ceontos 6 64bit. I am upgrading 4.2.c to 4.2.d and noticed the following in the log file. how can i resolve this?


2013-09-09 05:37:36,105  ERROR [content.transform.TransformerConfigDynamicTransformers] [indexTrackerThread2] 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-09 05:37:36,106  ERROR [content.transform.TransformerConfigDynamicTransformers] [indexTrackerThread2] Cannot create dynamic transformer transformer.complex.JodConverter.Pdf2swf as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|Pdf2swf").
2013-09-09 05:37:36,106  ERROR [content.transform.TransformerConfigDynamicTransformers] [indexTrackerThread2] Cannot create dynamic transformer transformer.JodConverter.Html2Pdf as sub transformers could not be found or created ("JodConverter|odt|JodConverter").
2013-09-09 05:37:36,106  ERROR [content.transform.TransformerConfigDynamicTransformers] [indexTrackerThread2] Cannot create dynamic transformer transformer.JodConverter.2Pdf as sub transformers could not be found or created ("JodConverter|JodConverter.Html2Pdf").
2013-09-09 05:37:36,106  ERROR [content.transform.TransformerConfigDynamicTransformers] [indexTrackerThread2] Cannot create dynamic transformer transformer.complex.JodConverter.PdfBox as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|PdfBox").

2013-09-09 05:37:36,177  INFO  [management.subsystems.ChildApplicationContextFactory] [indexTrackerThread2] Startup of 'Transformers' subsystem, ID: [Transformers, default] complete
2013-09-09 05:37:36,180  INFO  [management.subsystems.ChildApplicationContextFactory] [indexTrackerThread2] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
2013-09-09 05:37:45,348  WARN  [solr.tracker.CoreTracker] [SolrTrackerScheduler_Worker-2] Tracking communication timed out.
2013-09-09 05:37:51,094  INFO  [management.subsystems.ChildApplicationContextFactory] [indexTrackerThread2] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
2013-09-09 05:37:51,104  INFO  [management.subsystems.ChildApplicationContextFactory] [indexTrackerThread2] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
2013-09-09 05:37:51,560  WARN  [alfresco.util.OpenOfficeConnectionTester] [indexTrackerThread2] An initial OpenOffice connection could not be established.
2013-09-09 05:37:51,568  INFO  [management.subsystems.ChildApplicationContextFactory] [indexTrackerThread2] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
2013-09-09 05:38:00,192  WARN  [solr.tracker.CoreTracker] [SolrTrackerScheduler_Worker-3] Tracking communication timed out.
2013-09-09 05:40:00,483  WARN  [solr.tracker.CoreTracker] [SolrTrackerScheduler_Worker-2] Tracking communication timed out.
2013-09-09 05:40:15,120  WARN  [solr.tracker.CoreTracker] [SolrTrackerScheduler_Worker-1] Tracking communication timed out.
2013-09-09 05:42:15,143  WARN  [solr.tracker.CoreTracker] [SolrTrackerScheduler_Worker-2] Tracking communication timed out.
2013-09-09 05:42:30,596  WARN  [solr.tracker.CoreTracker] [SolrTrackerScheduler_Worker-1] Tracking communication timed out.

14 REPLIES 14

braguzz
Champ in-the-making
Champ in-the-making
(SOLVED) my problem was a mis-configuration of image-magick in /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/thirdparty/default/imagemagick-transform.properties
(I don't know the reason because of with 4.2.c worked)

I put this
# External executable locations
img.root=/usr
img.dyn=${img.root}/lib
img.exe=${img.root}/local/bin/convert
#img.coders=${img.root}/modules/coders
#img.config=${img.root}/config
img.gslib=${img.root}/share/ghostscript/9.05/lib


in that file and thumb works as it should.

thanks!

PS.
I've disable jodconverter, but at start I have some errors like
2013-10-09 08:25:31,235  ERROR [content.transform.TransformerConfigDynamicTransformers] [http-bio-8080-exec-7] Cannot create dynamic transformer transformer.complex.JodConverter.Pdf2swf as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|Pdf2swf").

I dont know why….

nickd
Champ in-the-making
Champ in-the-making
Thanks for this - this was exactly the problem I had. For some reason, by default it overrides all the coder, library and configuration folders - instead of, in this case, using the system-provided built in decoders.

If the initial ImageMagickTransformer subsystem initialisation fails, because of this, then it seems that Alfresco will never try again (because, it would just fail again), and with no other valid converters (see: the JOD subsystem issues) thumbnails are never generated.

elvis
Champ in-the-making
Champ in-the-making
Big big braguzz!!!
After many times and attemps, with your suggestion I fix it.
Thank you very much

johnny_k
Confirmed Champ
Confirmed Champ
Can you tell me what you do? I have same problem.

sharifu
Confirmed Champ
Confirmed Champ
i am on 5.0.a an still having this same issue on startup.


2015-09-08 15:19:39,163  ERROR [content.transform.TransformerConfigDynamicTransformers] [http-apr-8080-exec-9] Cannot create dynamic transformer transformer.complex.JodConverter.Image as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|complex.PDF.Image").
2015-09-08 15:19:39,163  ERROR [content.transform.TransformerConfigDynamicTransformers] [http-apr-8080-exec-9] Cannot create dynamic transformer transformer.complex.JodConverter.Pdf2swf as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|Pdf2swf").
2015-09-08 15:19:39,164  ERROR [content.transform.TransformerConfigDynamicTransformers] [http-apr-8080-exec-9] Cannot create dynamic transformer transformer.JodConverter.Html2Pdf as sub transformers could not be found or created ("JodConverter|odt|JodConverter").
2015-09-08 15:19:39,164  ERROR [content.transform.TransformerConfigDynamicTransformers] [http-apr-8080-exec-9] Cannot create dynamic transformer transformer.JodConverter.2Pdf as sub transformers could not be found or created ("JodConverter|JodConverter.Html2Pdf").
2015-09-08 15:19:39,164  ERROR [content.transform.TransformerConfigDynamicTransformers] [http-apr-8080-exec-9] Cannot create dynamic transformer transformer.complex.JodConverter.PdfBox as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|PdfBox").



global properties file has



### External executable locations ###
ooo.exe=/opt/alfresco-5.0.a/libreoffice/program/soffice.bin
ooo.enabled=true
ooo.port=8100
img.root=/opt/alfresco-5.0.a/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
swf.exe=/opt/alfresco-5.0.a/common/bin/pdf2swf
swf.languagedir=/opt/alfresco-5.0.a/common/japanese

jodconverter.enabled=false
jodconverter.officeHome=/opt/alfresco-5.0.a/libreoffice
jodconverter.portNumbers=8100