cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Share display vnd.ms-outlook

timok
Champ in-the-making
Champ in-the-making
hi,

I looked into the supported file list (http://docs.alfresco.com/5.0/references/valid-transformations-preview.html)
and saw that the vnd.ms-outlook mimetyp is supported for preview in share.

But instead of preview i get the following error:


ERROR [org.alfresco.repo.web.scripts.RepositoryContainer] [http-apr-8080-exec-10] Server error (07040098)
org.springframework.extensions.webscripts.WebScriptException: 07040001 Wrapped Exception (with status template): 07040097 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 07040096 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/2/18/8/56/4625f597-31cf-4142-af95-88266ff8810f.bin, mimetype=application/vnd.ms-outlook, size=346624, encoding=UTF-8, locale=de_DE]
   writer: ContentAccessor[ contentUrl=store://2015/8/4/15/42/07049116-cbca-468e-89e1-b33095422031.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=de_DE]
   options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/8dffaa76-ee8d-420f-89e9-8f48fdbb47d7, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/47dc7be2-85c9-41c1-92e6-18f9bdbbeadd, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000}
   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: 07040097 Failed to execute script


I looked into the extension Folders and didn't find any transformer i could activate. In the registered mimetype list there are transformers available.

What goes wrong here? (Using Alfresco 5d Community)
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Have you included all the exception trace?  The problem was not whether the mimetype was supported but a specific problem with the transformation.  

timok
Champ in-the-making
Champ in-the-making
Here is the complete exception:

2015-08-05 11:30:21,730 ERROR [org.alfresco.repo.web.scripts.RepositoryContainer] [http-apr-8080-exec-8] Server error (07050124)
org.springframework.extensions.webscripts.WebScriptException: 07050002 Wrapped Exception (with status template): 07050123 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 07050122 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/8/4/15/2/dbe3280f-cde2-429d-9de2-f290c9a641f7.bin, mimetype=message/rfc822, size=4447, encoding=UTF-8, locale=de_DE]
   writer: ContentAccessor[ contentUrl=store://2015/8/5/11/30/c2d06307-730f-44c3-ac67-5b5c9d876624.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=de_DE]
   options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/6a1cbf2b-a38b-4b6f-afea-4bb86eb22f57, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/fb24be32-d038-4ffe-a758-f5aef8ff7856, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000}
   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: 07050123 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 07050122 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/8/4/15/2/dbe3280f-cde2-429d-9de2-f290c9a641f7.bin, mimetype=message/rfc822, size=4447, encoding=UTF-8, locale=de_DE]
   writer: ContentAccessor[ contentUrl=store://2015/8/5/11/30/c2d06307-730f-44c3-ac67-5b5c9d876624.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=de_DE]
   options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/6a1cbf2b-a38b-4b6f-afea-4bb86eb22f57, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/fb24be32-d038-4ffe-a758-f5aef8ff7856, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000}
   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: 07050122 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/8/4/15/2/dbe3280f-cde2-429d-9de2-f290c9a641f7.bin, mimetype=message/rfc822, size=4447, encoding=UTF-8, locale=de_DE]
   writer: ContentAccessor[ contentUrl=store://2015/8/5/11/30/c2d06307-730f-44c3-ac67-5b5c9d876624.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=de_DE]
   options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/6a1cbf2b-a38b-4b6f-afea-4bb86eb22f57, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/fb24be32-d038-4ffe-a758-f5aef8ff7856, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000}
   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: 07050121 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://C:\Alfresco\tomcat\temp\Alfresco\ComplextTransformer_intermediate_eml_8567603781152719983.html, mimetype=text/html, size=131, encoding=UTF-8, locale=de_DE]
   writer: ContentAccessor[ contentUrl=store://2015/8/5/11/30/c2d06307-730f-44c3-ac67-5b5c9d876624.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=de_DE]
   options: {use=pdf, contentReaderNodeRef=null, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/fb24be32-d038-4ffe-a758-f5aef8ff7856, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000}
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:332)
   at org.alfresco.repo.content.transform.ComplexContentTransformer.transformInternal(ComplexContentTransformer.java:486)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:250)
   … 31 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 07050120 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://C:\Alfresco\tomcat\temp\Alfresco\ComplextTransformer_intermediate_eml_8567603781152719983.html, mimetype=text/html, size=131, encoding=UTF-8, locale=de_DE]
   writer: ContentAccessor[ contentUrl=store://C:\Alfresco\tomcat\temp\Alfresco\ComplextTransformer_intermediate_html_7103097169802052202.odt, mimetype=application/vnd.oasis.opendocument.text, size=0, encoding=UTF-8, locale=de_DE]
   options: {use=pdf, contentReaderNodeRef=null, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/fb24be32-d038-4ffe-a758-f5aef8ff7856, targetContentProperty=null, includeEmbedded=false}
   limits: {timeoutMs=120000}
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:332)
   at org.alfresco.repo.content.transform.ComplexContentTransformer.transformInternal(ComplexContentTransformer.java:486)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:250)
   … 33 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 07050119 OpenOffice server conversion failed:
   reader: ContentAccessor[ contentUrl=store://C:\Alfresco\tomcat\temp\Alfresco\ComplextTransformer_intermediate_eml_8567603781152719983.html, mimetype=text/html, size=131, encoding=UTF-8, locale=de_DE]
   writer: ContentAccessor[ contentUrl=store://C:\Alfresco\tomcat\temp\Alfresco\ComplextTransformer_intermediate_html_7103097169802052202.odt, mimetype=application/vnd.oasis.opendocument.text, size=0, encoding=UTF-8, locale=de_DE]
   from file: C:\Alfresco\tomcat\temp\Alfresco\TemporaryFile-ec923eca-61e4-42e6-9ebc-bf68164bb41b-OpenOfficeContentTransformer-OpenOfficeContentTransformer-1438767020903\TemporaryFile-ec923eca-61e4-42e6-9ebc-bf68164bb41b
   to file: C:\Alfresco\tomcat\temp\Alfresco\TemporaryFile-ec923eca-61e4-42e6-9ebc-bf68164bb41b-OpenOfficeContentTransformer-OpenOfficeContentTransformer-1438767020903\TemporaryFile-ec923eca-61e4-42e6-9ebc-bf68164bb41b-OpenOfficeContentTransformer-target-6259050200252412814.odt
   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)
   … 35 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)
   … 45 more


I configured the external soffice.exe to convert Office stuff.