I posted this in installation - but perhaps it is better suited here. Thumbnails aren't appearing, even though I'm pretty sure everything is setup correctly.I think it's an issue with openoffice or maybe pdf2swf. Is there any other things that openoffice does so I can test whether it's working properly or not?Thumnails for images, txt files all work - but doc/xls/pdf file thumbnails don't work - and I get the following in the logs 19:58:23,103 User:tom.miller@ebiz.co.uk DEBUG [repo.thumbnail.ThumbnailServiceImpl] Getting thumbnail by name (nodeRef=workspace://SpacesStore/c4f009c4-3827-4029-aa93-22872bf1f5a3; contentProperty={http://www.alfresco.org/model/content/1.0}content; thumbnailName=imgpreview)
19:58:23,105 User:tom.miller@ebiz.co.uk DEBUG [repo.thumbnail.ThumbnailServiceImpl] Creating thumbnail (node=workspace://SpacesStore/c4f009c4-3827-4029-aa93-22872bf1f5a3; contentProperty={http://www.alfresco.org/model/content/1.0}content; mimetype=image/png
19:58:23,105 User:tom.miller@ebiz.co.uk DEBUG [repo.thumbnail.ThumbnailServiceImpl] Getting thumbnail by name (nodeRef=workspace://SpacesStore/c4f009c4-3827-4029-aa93-22872bf1f5a3; contentProperty={http://www.alfresco.org/model/content/1.0}content; thumbnailName=imgpreview)
19:58:23,120 User:tom.miller@ebiz.co.uk DEBUG [content.transform.ContentTransformerRegistry] Searched for transformer:
source mimetype: application/vnd.ms-word
target mimetype: image/png
transformers: []
19:58:23,120 User:tom.miller@ebiz.co.uk DEBUG [repo.thumbnail.ThumbnailServiceImpl] Creating thumbnail: There is no transformer to generate the thumbnail required (node=workspace://SpacesStore/c4f009c4-3827-4029-aa93-22872bf1f5a3; contentProperty={http://www.alfresco.org/model/content/1.0}content; mimetype=image/png)
19:58:23,121 User:tom.miller@ebiz.co.uk DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 20.380495ms
19:58:23,237 User:tom.miller@ebiz.co.uk ERROR [web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 08170038 Wrapped Exception (with status template): 08170037 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in classpath store file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 08170036 Thumbnail could not be created as required transformation is not supported from application/vnd.ms-word to image/png
org.alfresco.web.scripts.WebScriptException: 08170038 Wrapped Exception (with status template): 08170037 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in classpath store file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 08170036 Thumbnail could not be created as required transformation is not supported from application/vnd.ms-word to image/png
at org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:613)
at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:212)
at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:357)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:407)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:424)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:288)
at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:262)
at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)
at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.scripts.ScriptException: 08170037 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in classpath store file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 08170036 Thumbnail could not be created as required transformation is not supported from application/vnd.ms-word to image/png
at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:178)
at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:274)
at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:108)
at org.alfresco.web.scripts.AbstractWebScript.executeScript(AbstractWebScript.java:819)
at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:158)
… 21 more
Caused by: org.alfresco.service.cmr.thumbnail.ThumbnailException: 08170036 Thumbnail could not be created as required transformation is not supported from application/vnd.ms-word to image/png
at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.doWork(ThumbnailServiceImpl.java:279)
at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.doWork(ThumbnailServiceImpl.java:199)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:489)
at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnail(ThumbnailServiceImpl.java:197)
at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnail(ThumbnailServiceImpl.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy95.createThumbnail(Unknown Source)
at org.alfresco.repo.jscript.ScriptNode.createThumbnail(ScriptNode.java:2075)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
at org.mozilla.javascript.gen.c5._c1(file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js:61)
at org.mozilla.javascript.gen.c5.call(file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at org.mozilla.javascript.gen.c5._c0(file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js:101)
at org.mozilla.javascript.gen.c5.call(file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.gen.c5.call(file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
at org.mozilla.javascript.gen.c5.exec(file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:449)
at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:174)
… 25 moreI'm not getting any errors in my startup file even with debugging turned on: 20:02:33,260 User:System DEBUG [util.exec.RuntimeExec] Execution result:
os: Linux
command: [/opt/alfresco/swftools-0.9.0/lib/pdf/pdf2swf, -V]
succeeded: true
exit code: 0
out: pdf2swf - part of swftools 0.9.0
err:
20:02:33,470 User:System DEBUG [util.exec.RuntimeExec] Execution result:
os: Linux
command: [/usr/bin/convert, /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_source_1126332993688041934.gif[0], /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_target_7571896692277955618.png]
succeeded: true
exit code: 0
out:
err:
20:02:33,470 User:System DEBUG [transform.magick.ImageMagickContentTransformerWorker] ImageMagic executed successfully:
RuntimeExec:
command: /usr/bin/convert ${source} SPLIT:${options} ${target}
env props: [Ljava.lang.String;@28479662
dir: null
os: Linux
20:02:33,529 User:System DEBUG [util.exec.RuntimeExec] Execution result:
os: Linux
command: [/usr/bin/convert, -version]
succeeded: true
exit code: 0
out: Version: ImageMagick 6.3.7 06/04/09 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
err:
20:02:33,576 User:System DEBUG [util.exec.RuntimeExec] Execution result:
os: Linux
command: [/opt/openoffice.org3/program/soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///var/lib/alfresco/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
succeeded: true
exit code: 0
out:
err:Any help would be greatly appreciated.