cancel
Showing results for 
Search instead for 
Did you mean: 

soffice.bin failed to convert docx to pdf

csyeow
Champ in-the-making
Champ in-the-making
hi i am new to alfresco , currently i install alfresco 5.0.a at virtualbox as below setting


alfresco : 5.0a
os: centos 6.5 x86_64

/opt/alfresco-5.0.a/tomcat/shared/classes/alfresco-global.properties
###############################
## Common Alfresco Properties #
###############################

dir.root=/opt/alfresco-5.0.a/alf_data

alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http

### database connection properties ###
db.driver=org.gjt.mm.mysql.Driver
db.username=alfresco
db.password=rootroot
db.name=alfresco
db.url=jdbc:mysql://localhost/alfresco?useUnicode=yes&characterEncoding=UTF-8

# The server mode. Set value here
# UNKNOWN | TEST | BACKUP | PRODUCTION
system.serverMode=UNKNOWN

### FTP Server Configuration ###
ftp.enabled=true
ftp.port=21

### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0

### External executable locations ###
#ooo.exe=/opt/alfresco-5.0.a/libreoffice/program/soffice.bin
ooo.exe=/opt/libreoffice4.3/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

### Initial admin password ###
alfresco_user_store.adminpassword=ba5950caf1a379dd9e73592533d747d4

### E-mail site invitation setting ###
notification.email.siteinvite=true

### License location ###
dir.license.external=/opt/alfresco-5.0.a

### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443

### BPM Engine ###
system.workflow.engine.jbpm.enabled=false

### Allow extended ResultSet processing
security.anyDenyDenies=false

#####added by me
###online preview doc - max 10MB
content.transformer.OpenOffice.extensions.doc.pdf.maxSourceSizeKBytes=10240
content.transformer.OpenOffice.extensions.docx.pdf.maxSourceSizeKBytes=10240
content.transformer.OpenOffice.extensions.xls.pdf.maxSourceSizeKBytes=10240
content.transformer.OpenOffice.extensions.xlsx.pdf.maxSourceSizeKBytes=10240
content.transformer.OpenOffice.extensions.ppt.pdf.maxSourceSizeKBytes=10240
content.transformer.OpenOffice.extensions.pptx.pdf.maxSourceSizeKBytes=10240
content.transformer.OpenOffice.extensions.vsd.pdf.maxSourceSizeKBytes=10240


——–end————-




problem:

i created folder testing under myfile   and upload few docx doc. some of the doc / docx cant preview online and the error as below : i also try to create site  and upload same doc but still same resutls.



2014-10-02 12:04:38,465  DEBUG [repo.thumbnail.ThumbnailServiceImpl] [http-apr-8080-exec-6] Getting thumbnails (nodeRef=workspace://SpacesStore/b0164445-d7b1-4af9-bd45-770b8542088d; contentProperty={http://www.alfresco.org/model/content/1.0}content; mimetype=null)
2014-10-02 12:04:40,893  DEBUG [repo.thumbnail.ThumbnailServiceImpl] [http-apr-8080-exec-12] Getting thumbnail by name (nodeRef=workspace://SpacesStore/b0164445-d7b1-4af9-bd45-770b8542088d; contentProperty={http://www.alfresco.org/model/content/1.0}content; thumbnailName=pdf)
2014-10-02 12:04:40,905  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12]
2014-10-02 12:04:40,905  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12] 3 G    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,905  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12] 3 S    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,906  DEBUG [content.transform.ContentTransformerRegistry] [http-apr-8080-exec-12] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: image/jpeg
   transformers: [OOXMLThumbnailContentTransformer, ]
2014-10-02 12:04:40,906  DEBUG [content.transform.ContentTransformerRegistry] [http-apr-8080-exec-12] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: application/pdf
   transformers: [ProxyContentTransformer]
2014-10-02 12:04:40,907  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12]
2014-10-02 12:04:40,908  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12] 3 G    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,908  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12] 3 S    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,909  DEBUG [repo.thumbnail.ThumbnailServiceImpl] [http-apr-8080-exec-12] Creating thumbnail (node=workspace://SpacesStore/b0164445-d7b1-4af9-bd45-770b8542088d; contentProperty={http://www.alfresco.org/model/content/1.0}content; mimetype=application/pdf
2014-10-02 12:04:40,910  DEBUG [repo.thumbnail.ThumbnailServiceImpl] [http-apr-8080-exec-12] Getting thumbnail by name (nodeRef=workspace://SpacesStore/b0164445-d7b1-4af9-bd45-770b8542088d; contentProperty={http://www.alfresco.org/model/content/1.0}content; thumbnailName=pdf)
2014-10-02 12:04:40,968  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12]
2014-10-02 12:04:40,968  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12] 3 G    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,968  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12] 3 S    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,972  DEBUG [content.transform.ContentTransformerRegistry] [http-apr-8080-exec-12] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: image/jpeg
   transformers: [OOXMLThumbnailContentTransformer, ]
2014-10-02 12:04:40,972  DEBUG [content.transform.ContentTransformerRegistry] [http-apr-8080-exec-12] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: application/pdf
   transformers: [ProxyContentTransformer]
2014-10-02 12:04:40,972  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12]
2014-10-02 12:04:40,972  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12] 3 G    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,972  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12] 3 S    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,973  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12]
2014-10-02 12:04:40,974  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12] 3 G    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,974  DEBUG [content.transform.TransformerConfigLimits] [http-apr-8080-exec-12] 3 S    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,980  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3]
2014-10-02 12:04:40,980  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 G    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,980  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 S    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,981  DEBUG [content.transform.ContentTransformerRegistry] [pool-13-thread-3] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: image/jpeg
   transformers: [OOXMLThumbnailContentTransformer, ]
2014-10-02 12:04:40,982  DEBUG [content.transform.ContentTransformerRegistry] [pool-13-thread-3] Searched for transformer:
   source mimetype: application/vnd.openxmlformats-officedocument.wordprocessingml.document
   target mimetype: application/pdf
   transformers: [ProxyContentTransformer]
2014-10-02 12:04:40,983  DEBUG [content.transform.TransformerDebug] [pool-13-thread-3] 5             docx pdf  Technical_Design_Document_RHN_satellite_PROD_ENV_v1.0.docx 1.1 MB ContentService.transform(…)
2014-10-02 12:04:40,984  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3]
2014-10-02 12:04:40,984  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 G    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,984  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 S    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,984  DEBUG [content.transform.TransformerDebug] [pool-13-thread-3] 5             **a) [110] OpenOffice<<Proxy>> < 10 MB   3,924 ms
2014-10-02 12:04:40,985  DEBUG [content.transform.TransformerDebug] [pool-13-thread-3] 5.1           docx pdf  Technical_Design_Document_RHN_satellite_PROD_ENV_v1.0.docx 1.1 MB OpenOffice<<Proxy>>
2014-10-02 12:04:40,986  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3]
2014-10-02 12:04:40,987  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 G    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,987  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 S    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,987  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3]
2014-10-02 12:04:40,987  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 G    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,987  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 S    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,988  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3]
2014-10-02 12:04:40,988  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 G    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,988  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 S    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:40,988  DEBUG [content.transform.OpenOfficeContentTransformerWorker] [pool-13-thread-3] transforming content from application/vnd.openxmlformats-officedocument.wordprocessingml.document to application/pdf
2014-10-02 12:04:49,044  DEBUG [content.transform.TransformerDebug] [pool-13-thread-3] 5.1                     Failed 09020034 OpenOffice server conversion failed
2014-10-02 12:04:49,044  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3]
2014-10-02 12:04:49,044  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 G    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:49,044  DEBUG [content.transform.TransformerConfigLimits] [pool-13-thread-3] 3 S    transformer.OpenOffice.application/vnd.openxmlformats-officedocument.wordprocessingml.document.application/pdf.*=10240
2014-10-02 12:04:49,045  DEBUG [content.transform.TransformerLog] [pool-13-thread-3] 5 docx pdf  ERROR Technical_Design_Document_RHN_satellite_PROD_ENV_v1.0.docx 1.1 MB 8,060 ms OpenOffice<<Proxy>> Failed conversion failed; com.sun.star.task.ErrorCodeIOException:
2014-10-02 12:04:49,051  DEBUG [content.transform.TransformerDebug] [pool-13-thread-3] 5             Finished in 8,071 ms

2014-10-02 12:04:49,282  ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-12] Exception from executeScript - redirecting to status template error: 09020006 Wrapped Exception (with status template): 09020036 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 09020035 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2014/9/30/18/53/49c7596a-6bcb-41ec-912e-36af477eb3dd.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1155441, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store://2014/10/2/12/4/26a61d99-aa7f-43a8-8883-ad0da39b735a.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/b0164445-d7b1-4af9-bd45-770b8542088d, contentWriterNodeRef=workspace://SpacesStore/73687172-9581-4509-8e9d-c0c52dd27295, sourceContentProperty=null, use=null, includeEmbedded=false}
   limits: {maxSourceSizeKBytes=10240}
org.springframework.extensions.webscripts.WebScriptException: 09020006 Wrapped Exception (with status template): 09020036 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 09020035 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2014/9/30/18/53/49c7596a-6bcb-41ec-912e-36af477eb3dd.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1155441, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store://2014/10/2/12/4/26a61d99-aa7f-43a8-8883-ad0da39b735a.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/b0164445-d7b1-4af9-bd45-770b8542088d, contentWriterNodeRef=workspace://SpacesStore/73687172-9581-4509-8e9d-c0c52dd27295, sourceContentProperty=null, use=null, includeEmbedded=false}
   limits: {maxSourceSizeKBytes=10240}
        at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1126)
        at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:184)
        at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:426)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:563)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:343)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2378)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.alfresco.scripts.ScriptException: 09020036 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 09020035 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2014/9/30/18/53/49c7596a-6bcb-41ec-912e-36af477eb3dd.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1155441, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store://2014/10/2/12/4/26a61d99-aa7f-43a8-8883-ad0da39b735a.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/b0164445-d7b1-4af9-bd45-770b8542088d, contentWriterNodeRef=workspace://SpacesStore/73687172-9581-4509-8e9d-c0c52dd27295, sourceContentProperty=null, use=null, includeEmbedded=false}
   limits: {maxSourceSizeKBytes=10240}
        at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:204)
        at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:212)
        at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:174)
        at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
        at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1364)
        at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:128)
        … 31 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 09020035 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2014/9/30/18/53/49c7596a-6bcb-41ec-912e-36af477eb3dd.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1155441, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store://2014/10/2/12/4/26a61d99-aa7f-43a8-8883-ad0da39b735a.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/b0164445-d7b1-4af9-bd45-770b8542088d, contentWriterNodeRef=workspace://SpacesStore/73687172-9581-4509-8e9d-c0c52dd27295, sourceContentProperty=null, use=null, includeEmbedded=false}
   limits: {maxSourceSizeKBytes=10240}
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:257)
        at org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:649)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.model.ml.MLContentInterceptor.invoke(MLContentInterceptor.java:125)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:158)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at com.sun.proxy.$Proxy53.transform(Unknown Source)
        at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:439)
        at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:430)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
        at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:429)
        at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:404)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        … 3 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 09020034 OpenOffice server conversion failed:
   reader: ContentAccessor[ contentUrl=store://2014/9/30/18/53/49c7596a-6bcb-41ec-912e-36af477eb3dd.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1155441, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store://2014/10/2/12/4/26a61d99-aa7f-43a8-8883-ad0da39b735a.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
   from file: /opt/alfresco-5.0.a/tomcat/temp/Alfresco/OpenOfficeContentTransformer-source-6085437195873759458.docx
   to file: /opt/alfresco-5.0.a/tomcat/temp/Alfresco/OpenOfficeContentTransformer-target-7551261933495583145.pdf
        at org.alfresco.repo.content.transform.OOoContentTransformerHelper.transform(OOoContentTransformerHelper.java:372)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at com.sun.proxy.$Proxy20.transform(Unknown Source)
        at org.alfresco.repo.content.transform.ProxyContentTransformer.transformInternal(ProxyContentTransformer.java:98)
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:212)
        … 29 more
Caused by: net.sf.jooreports.openoffice.connection.OpenOfficeException: conversion failed; com.sun.star.task.ErrorCodeIOException:
        at net.sf.jooreports.openoffice.converter.OpenOfficeDocumentConverter.convertInternal(OpenOfficeDocumentConverter.java:117)
        at net.sf.jooreports.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:88)
        at org.alfresco.repo.content.transform.OpenOfficeContentTransformerWorker.convert(OpenOfficeContentTransformerWorker.java:118)
        at org.alfresco.repo.content.transform.OOoContentTransformerHelper.transform(OOoContentTransformerHelper.java:368)
        … 39 more
^C
[root@alfresco scripts]#




————-error—-
2014-10-02 12:04:49,044  DEBUG [content.transform.TransformerDebug] [pool-13-thread-3] 5.1                     Failed 09020034 OpenOffice server conversion failed


my question is as below, hope some one able to help me solve this issue


1. is ihis caused by libreoffice during convert docx to pdf ?
2. some time the doc able to preview but only 1 page or few pages, not a completed docx. any solution ?

tq
2 REPLIES 2

markrwells
Champ in-the-making
Champ in-the-making
We have uploaded a bunch of DOCX files and we can't figure out why some DOCX files render and show in the preview just fine, exactly like they are suppose to, while other DOCX files will not show at all and say that the preview engine for this file type is not available.

Anyone have any idea why this would be happening.

scouil
Star Contributor
Star Contributor
Hi,

It is most likely related to the size of your source docx document.
Basically you can configure your global properties to setup a max size for the documents you want to transform.
And it has default values. To avoid overloading the server by constantly transforming huge documents.
If you find that value isn't right for you, feel free to update it.