Error en la previsualización de documentos.

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Error en la previsualización de documentos.

Buenas compañeros.
Decir en primer lugar que leo mucho el foro y he sacado varias soluciones.
Ahora se me presenta un problema y no doy con la solución ideal.

No se muestra la previsualización de algunos de los documentos de mi repositorio.
Adjunto log. A ver si se os ocurre algo.

Estoy en W7 de 64

Gracias.

2015-07-09 16:15:02,160 ERROR [org.alfresco.repo.web.scripts.RepositoryContainer] [http-apr-8080-exec-2] Server error (06090037)
org.springframework.extensions.webscripts.WebScriptException: 06090001 Wrapped Exception (with status template): 06090036 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 06090035 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/6/15/11/10/1d4fa97a-dc9e-4678-8e53-b1c956336b71.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=19842, encoding=UTF-8, locale=es_ES]
   writer: ContentAccessor[ contentUrl=store://2015/7/9/16/15/dd288d80-a6ec-4ce2-a6d8-2afc842cf8a2.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=es_ES]
   options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/77324b5d-ec42-444a-9fbc-3fc90901d6dd, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/b1b2ccc5-3566-4614-97d3-1202e8d92057, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxSourceSizeKBytes=768}
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1127)
   at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:195)
   at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:482)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:551)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:619)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:399)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:280)
   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:504)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
   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:421)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
   at java.lang.Thread.run(Unknown Source)
Caused by: org.alfresco.scripts.ScriptException: 06090036 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 06090035 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/6/15/11/10/1d4fa97a-dc9e-4678-8e53-b1c956336b71.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=19842, encoding=UTF-8, locale=es_ES]
   writer: ContentAccessor[ contentUrl=store://2015/7/9/16/15/dd288d80-a6ec-4ce2-a6d8-2afc842cf8a2.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=es_ES]
   options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/77324b5d-ec42-444a-9fbc-3fc90901d6dd, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/b1b2ccc5-3566-4614-97d3-1202e8d92057, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxSourceSizeKBytes=768}
   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:139)
   … 34 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 06090035 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/6/15/11/10/1d4fa97a-dc9e-4678-8e53-b1c956336b71.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=19842, encoding=UTF-8, locale=es_ES]
   writer: ContentAccessor[ contentUrl=store://2015/7/9/16/15/dd288d80-a6ec-4ce2-a6d8-2afc842cf8a2.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=es_ES]
   options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/77324b5d-ec42-444a-9fbc-3fc90901d6dd, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/b1b2ccc5-3566-4614-97d3-1202e8d92057, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxSourceSizeKBytes=768}
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:332)
   at org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:631)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
   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:129)
   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:159)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at com.sun.proxy.$Proxy38.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(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   … 1 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 06090034 OpenOffice server conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/6/15/11/10/1d4fa97a-dc9e-4678-8e53-b1c956336b71.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=19842, encoding=UTF-8, locale=es_ES]
   writer: ContentAccessor[ contentUrl=store://2015/7/9/16/15/dd288d80-a6ec-4ce2-a6d8-2afc842cf8a2.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=es_ES]
   from file: C:\Alfresco\tomcat\temp\Alfresco\blablabla.docx-OpenOfficeContentTransformer-OpenOfficeContentTransformer-1436451300928\Procedimiento de Atención del Servicio de Soporte Extendido.docx
   to file: C:\Alfresco\tomcat\temp\Alfresco\blablabla.docx-OpenOfficeContentTransformer-OpenOfficeContentTransformer-1436451300928\blablablao.docx-OpenOfficeContentTransformer-target-6917981427823604232.pdf
   at org.alfresco.repo.content.transform.OOoContentTransformerHelper.transform(OOoContentTransformerHelper.java:390)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   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:204)
   at com.sun.proxy.$Proxy19.transform(Unknown Source)
   at org.alfresco.repo.content.transform.ProxyContentTransformer.transformInternal(ProxyContentTransformer.java:100)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:250)
   … 31 more
Caused by: net.sf.jooreports.openoffice.connection.OpenOfficeException: conversion failed; com.sun.star.frame.IllegalArgumentIOException:
   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:386)
   … 41 more
2015-07-09 16:15:02,176 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-2] Exception from executeScript - redirecting to status template error: Server error (06090037).  Details can be found in the server logs.
java.lang.RuntimeException: Server error (06090037).  Details can be found in the server logs.
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:299)
   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:504)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
   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:421)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
   at java.lang.Thread.run(Unknown Source)
2015-07-09 16:15:11,023 ERROR [org.alfresco.repo.web.scripts.RepositoryContainer] [http-apr-8080-exec-8] Server error (06090041)
org.springframework.extensions.webscripts.WebScriptException: 06090002 Wrapped Exception (with status template): 06090040 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 06090039 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/6/15/11/10/1d4fa97a-dc9e-4678-8e53-b1c956336b71.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=19842, encoding=UTF-8, locale=es_ES]
   writer: ContentAccessor[ contentUrl=store://2015/7/9/16/15/444caad2-9347-4045-80e1-67ebd7f863de.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=es_ES]
   options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/77324b5d-ec42-444a-9fbc-3fc90901d6dd, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/3e2ce4ec-6912-4837-8df0-526d34df009b, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxSourceSizeKBytes=768}
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1127)
   at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:195)
   at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:482)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:551)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:619)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:399)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:280)
   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:504)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
   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:421)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
   at java.lang.Thread.run(Unknown Source)
Caused by: org.alfresco.scripts.ScriptException: 06090040 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 06090039 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/6/15/11/10/1d4fa97a-dc9e-4678-8e53-b1c956336b71.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=19842, encoding=UTF-8, locale=es_ES]
   writer: ContentAccessor[ contentUrl=store://2015/7/9/16/15/444caad2-9347-4045-80e1-67ebd7f863de.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=es_ES]
   options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/77324b5d-ec42-444a-9fbc-3fc90901d6dd, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/3e2ce4ec-6912-4837-8df0-526d34df009b, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxSourceSizeKBytes=768}
   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:139)
   … 34 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 06090039 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/6/15/11/10/1d4fa97a-dc9e-4678-8e53-b1c956336b71.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=19842, encoding=UTF-8, locale=es_ES]
   writer: ContentAccessor[ contentUrl=store://2015/7/9/16/15/444caad2-9347-4045-80e1-67ebd7f863de.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=es_ES]
   options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/77324b5d-ec42-444a-9fbc-3fc90901d6dd, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/3e2ce4ec-6912-4837-8df0-526d34df009b, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000, maxSourceSizeKBytes=768}
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:332)
   at org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:631)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
   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:129)
   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:159)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at com.sun.proxy.$Proxy38.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(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   … 1 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 06090038 OpenOffice server conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/6/15/11/10/1d4fa97a-dc9e-4678-8e53-b1c956336b71.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=19842, encoding=UTF-8, locale=es_ES]
   writer: ContentAccessor[ contentUrl=store://2015/7/9/16/15/444caad2-9347-4045-80e1-67ebd7f863de.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=es_ES]
   from file: C:\Alfresco\tomcat\temp\Alfresco\blablabla.docx-OpenOfficeContentTransformer-OpenOfficeContentTransformer-1436451310602\Procedimiento de Atención del Servicio de Soporte Extendido.docx
   to file: C:\Alfresco\tomcat\temp\Alfresco\blablabla.docx-OpenOfficeContentTransformer-OpenOfficeContentTransformer-1436451310602\blablabla.docx-OpenOfficeContentTransformer-target-4634278563861865160.pdf
   at org.alfresco.repo.content.transform.OOoContentTransformerHelper.transform(OOoContentTransformerHelper.java:390)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   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:204)
   at com.sun.proxy.$Proxy19.transform(Unknown Source)
   at org.alfresco.repo.content.transform.ProxyContentTransformer.transformInternal(ProxyContentTransformer.java:100)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:250)
   … 31 more
Caused by: net.sf.jooreports.openoffice.connection.OpenOfficeException: conversion failed; com.sun.star.frame.IllegalArgumentIOException:
   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:386)
   … 41 more
2015-07-09 16:15:11,023 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-8] Exception from executeScript - redirecting to status template error: Server error (06090041).  Details can be found in the server logs.
java.lang.RuntimeException: Server error (06090041).  Details can be found in the server logs.
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:299)
   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:504)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
   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:421)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
   at java.lang.Thread.run(Unknown Source)
10 Replies
Highlighted
Active Member

Re: Error en la previsualización de documentos.

Hola Raul,

Quizas este artículo te pueda ayudar, el autor relata un problema parecido al tuyo, con respecto a la visualización de contenido.

Saludos,
Pablo.
Highlighted
Alfresco Employee

Re: Error en la previsualización de documentos.

Alfresco utiliza LibreOffice para realizar las transformaciones de previsualización a formato PDF. Ocurre que en ocasiones LibreOffice no es capaz de convertir un documento concreto a PDF: éste es el error que estás observando.

En general, LibreOffice suele tener problemas con los nuevos formatos empaquetados de Microsoft (docx, xlsx, pptx), lo que coincide con el log que adjuntas (conversión de un docx). Alfresco CE no provee solución para este problema, aunque en la versión Enterprise se dispone de un servidor de transformación especializado para formatos Microsoft (que se licencia aparte).
Software Engineer in Alfresco Search Team.
Highlighted
Member II

Re: Error en la previsualización de documentos.

Muchas gracias a ambos, intentaré hacer lo que pone en el artíclo (Si lo puedo hacer en W7) y os comento los resultados.

Saludos.
Highlighted
Active Member

Re: Error en la previsualización de documentos.

Un gusto Raul.

No sabia de la existencia de este problema, gracias Angel por la aclaración.

Saludos,
Pablo V.
Highlighted
Member II

Re: Error en la previsualización de documentos.

Buen dia,

Comparto una solución al problema que tuve con la previsualización de documentos de procesador de textos (doc o odt). Para ello requeri subir un servicio de LibreOffice de la siguiente forma.

/usr/lib64/libreoffice/program/soffice –nologo –headless –nofirtstartwizard –accept='socket,host=127.0.0.1,port=8100,tcpNoDelay=1;urp'


Se requiere ejecutarlo desde una sesión que tenga Interfaz Grafica para el caso de sistemas operativos Linux (CentOS 6.x)

Y como comentaban de los formatos docx, etc… se tiene que realice la prueba y este tipo de archivos no los previsualiza correctamente, solo muestra la primera pagina.


Quedo atento a cualquier comentario al respecto.
Highlighted
Member II

Re: Error en la previsualización de documentos.

He descubierto que si le cambio el nombre y lo acorto considerablemente los documentos que no se previsualizaban empiezan a hacerlo. Después de esto ya le puedes poner el nombre que quieras.

Tirando del hilo hemos llegado a la conclusión que la ruta en la que hace la conversión a .pdf es muy larga y por ello no es capaz de convertirlo a pdf (el .docx ubicado en Alfreco\tomcat\temp si se visualiza con el típico "doble clic" al contrario que el .pdf que aparece con un peso de 0KB y al intentar abrirlo muestra error). Estoy investigando como cambiar esa ruta para llevarla a C:\ o a D:\

A ver si me echáis una mano en cambiar esa propiedad y os comento los resultados.

Gracias.

EDITO: He encontrado como cambiarle el temp a Catalina. Pero OpenOffice sigue creando una estructura de carpetas dentro empezando por \alfresco\… quisiera recortar también esa. O bueno, alguna otra idea.

¡Saludos!
Highlighted
Alfresco Employee

Re: Error en la previsualización de documentos.

Supongo que será debido a la instalación en un servidor Windows y su problema con la longitud de rutas. No obstante, aunque resuelvas parte de los problemas por este método, debes tener claro que habrá documentos "DOCX" que seguirás sin poder convertir. Básicamente porque el propio LibreOffice no es capaz de hacerlo.

La jerarquía dentro de la carpeta "TEMP" de Tomcat no puedes cambiarla, porque está escrita en el propio código fuente (por otra parte, creo que solo podrías ahorrar "alfresco/").

https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V5.0.d/root/projects/core...
Software Engineer in Alfresco Search Team.
Highlighted
Member II

Re: Error en la previsualización de documentos.

Muchas gracias Ángel. Voy a ver si doy con alguna otra solución.

Por otro lado, me gustaría excluir de los correos de notificación el tema de fulanito ha dado me gusta a un documento, ha comentado o a previsualizado. He intentado excluirlas, pero me muestra aún así un mensaje indicando que "desconocido" previsualizó "documento". Sin aparecer ni el usuario, ni el documento, pero si la acción.
Highlighted
Alfresco Employee

Re: Error en la previsualización de documentos.

Échale un vistazo a este post http://blogs.alfresco.com/wp/kevinr/2014/10/14/configuring-alfresco-activity-stream/

Explica cómo configurar los flujos de actividad en Share y en el correo.
Software Engineer in Alfresco Search Team.