Hello, Alfresco community,
I have a problem and i can't solved it without help.
I have no preview or thumbnails (both) in alfresco share 5.1 enterprise. But the libreoffice is installed and at the lauching of the libreoffice_ctl.sh, i have a positive message (nunning at 8100).
When i'm going in the Share interface, all office documents generate this error while i'm going to the details page of one of this.
I also saw an soffice.bin <defunct> process.. but if i kill the parent of this process and re-run the libreoffice_ctl.sh, i have a new defunct process, directly.
I verified the alfresco-global.properties and the jod and ooo configurations are OK.
I hope someone can help me, and for this, i give you the logs error I have.
Caused by: java.lang.IllegalStateException: this OfficeManager is currently stopped
==>
2018-08-14 14:13:16,753 ERROR [web.scripts.RepositoryContainer] [catalina-exec-1751] Server error (071412151)
org.springframework.extensions.webscripts.WebScriptException: 07140198 Wrapped Exception (with status template): 071412150 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 071412149 Content conversion failed:
reader: ContentAccessor[ contentUrl=store://2018/8/14/10/58/7faa0074-389d-41c9-b093-4bb15effbeba.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=11958, encoding=UTF-8, locale=fr]
writer: ContentAccessor[ contentUrl=store://2018/8/14/14/13/c58ea3a4-bfb7-454c-be16-dfe21bb9f266.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/a359ff01-baa0-48f9-8c69-8efcb1cf330f, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/f0d975c8-9423-49b8-b673-6dc47f103f8a, targetContentProperty=null, includeEmbedded=null}
limits: {timeoutMs=120000, maxSourceSizeKBytes=30720}
at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1138)
at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:202)
at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:512)
at org.alfresco.repo.transaction.RetryingTransactier.doInTransaction(RetryingTransactier.java:464)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:428)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:382)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)
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.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93)
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:68)
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.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$SocketWithOptionsProcessor.run(AprEndpoint.java:2403)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.alfresco.scripts.ScriptException: 071412150 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 071412149 Content conversion failed:
reader: ContentAccessor[ contentUrl=store://2018/8/14/10/58/7faa0074-389d-41c9-b093-4bb15effbeba.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=11958, encoding=UTF-8, locale=fr]
writer: ContentAccessor[ contentUrl=store://2018/8/14/14/13/c58ea3a4-bfb7-454c-be16-dfe21bb9f266.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/a359ff01-baa0-48f9-8c69-8efcb1cf330f, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/f0d975c8-9423-49b8-b673-6dc47f103f8a, targetContentProperty=null, includeEmbedded=null}
limits: {timeoutMs=120000, maxSourceSizeKBytes=30720}
at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:211)
at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:219)
at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:181)
at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:109)
at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1376)
at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:146)
... 35 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 071412149 Content conversion failed:
reader: ContentAccessor[ contentUrl=store://2018/8/14/10/58/7faa0074-389d-41c9-b093-4bb15effbeba.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=11958, encoding=UTF-8, locale=fr]
writer: ContentAccessor[ contentUrl=store://2018/8/14/14/13/c58ea3a4-bfb7-454c-be16-dfe21bb9f266.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
options: {use=pdf, contentReaderNodeRef=workspace://SpacesStore/a359ff01-baa0-48f9-8c69-8efcb1cf330f, sourceContentProperty=null, contentWriterNodeRef=workspace://SpacesStore/f0d975c8-9423-49b8-b673-6dc47f103f8a, targetContentProperty=null, includeEmbedded=null}
limits: {timeoutMs=120000, maxSourceSizeKBytes=30720}
at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:335)
at org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:638)
at sun.reflect.GeneratedMethodAccessor1332.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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:136)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:166)
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.$Proxy57.transform(Unknown Source)
at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:446)
at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:1)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:555)
at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:436)
at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
... 1 more
Caused by: java.lang.IllegalStateException: this OfficeManager is currently stopped
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(ProcessPoolOfficeManager.java:74)
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:78)
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:69)
at org.alfresco.enterprise.repo.content.transform.JodContentTransformer.convert(JodContentTransformer.java:66)
at org.alfresco.repo.content.transform.OOoContentTransformerHelper.transform(OOoContentTransformerHelper.java:393)
at sun.reflect.GeneratedMethodAccessor1308.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:79)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy35.transform(Unknown Source)
at org.alfresco.repo.content.transform.ProxyContentTransformer.transformInternal(ProxyContentTransformer.java:107)
at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:257)
... 30 more
Thank you very much for your help, in advance, and sorry for my approximative english.
And if you need more informations, say it
Jason
You‘ve mentioned, that you use the Enterprise Version - so you should have direct Support...
Yes, but I worked three years on the community edition and the enterprise is new for me.
But, i found the problem by myself and it was the alfresco.sh who call the ctl.sh in place of libreoffice_ctl.sh.
All is working fine now.
Thanks for your response.
Yas.
...you used the alfresco installer with linux - yes, there was a problem with the start script, but I thought this was only a problem when using the ooo subsystem - not with the JOD... hmm...
Are you sure that you are using JOD?
Yes, JOD is activated and I see that in the alfresco administration page, in the alfresco-global.properties (ooo.enabled=false and true for JOD.). My co-worker installed alfresco with the installer, i confirm. Is'nt a good idea?
Some like installing the components manually, some use the installers... I think both methods are okay - linux admins will prefer the manual installtion method, because some components of alfresco (imagemagick, libreoffice,...) are under control of the package manager of the os.
I heard, that the installers will be dropped in the future so the installation method will change completely.
Ah, good to know .. thanks for all
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.