Creation of thumbnail 'doclib' failed

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

Creation of thumbnail 'doclib' failed

Estimados 

tengo una aplicación de carga la cual funciona bien al ejecutarse una vez, quiero ejecutar esta aplicación  cuatro veces en paralelo, al ejecutar esto alfresco me entrega un error  y el aplicativo el aplicativo otro.  no siempre ocurre el error y tres de los cuatro procesos terminan bien.  tenia pensando tratar de forzar la creación thumbnail en forma synchronous.

también intente aumentar el time out del thumbnail con esta liena en alfresco-global.properties

 system.thumbnail.quietPeriod=604800

pero el error continua 

alguna idea de como solucionar esto ?

Desde ya gracias.

-Alfresco Error-

org.alfresco.error.AlfrescoRuntimeException: 03200197 Creation of thumbnail 'doclib' failed
at org.alfresco.repo.thumbnail.CreateThumbnailActionExecuter.executeImpl(CreateThumbnailActionExecuter.java:213)
at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:274)
at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:846)
at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:747)
at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:430)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:333)
at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:439)
at org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:126)
at org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:95)
at org.alfresco.repo.tenant.TenantUtil$1.doWork(TenantUtil.java:69)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:555)
at org.alfresco.repo.tenant.TenantUtil.runAsUserTenant(TenantUtil.java:65)
at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:442)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.alfresco.service.cmr.thumbnail.ThumbnailException: 03200196 03200195 Transformation failed to obey timeout limit
at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnailNode(ThumbnailServiceImpl.java:752)
at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.access$4(ThumbnailServiceImpl.java:736)
at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1$1.doWork(ThumbnailServiceImpl.java:411)
at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1$1.doWork(ThumbnailServiceImpl.java:1)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:555)
at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.execute(ThumbnailServiceImpl.java:407)
at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.execute(ThumbnailServiceImpl.java:1)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnail(ThumbnailServiceImpl.java:401)
at sun.reflect.GeneratedMethodAccessor814.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 org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:41)
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.alfresco.repo.transaction.RetryingTransactionInterceptor$1.execute(RetryingTransactionInterceptor.java:86)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
at org.alfresco.repo.transaction.RetryingTransactionInterceptor.invoke(RetryingTransactionInterceptor.java:76)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy139.createThumbnail(Unknown Source)
at org.alfresco.repo.thumbnail.CreateThumbnailActionExecuter.executeImpl(CreateThumbnailActionExecuter.java:192)
... 16 more

-Aplicativo error - 

AxisFault
 faultSubcode:
 faultString: java.util.ConcurrentModificationException
 faultActor:
 faultNode:
 faultDetail:
java.util.ConcurrentModificationException
        at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
        at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
        at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java
:1087)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source
)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Driver.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
        at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:
62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at org.talend.DynamicInvoker.invokeMethod(DynamicInvoker.java:336)
        at org.talend.DynamicInvoker.main(DynamicInvoker.java:190)
        at org.talend.DynamicInvoker.main(DynamicInvoker.java:131)
        at uploadalfresco3libertymodel.sendfileslibertym_0_1.sendFilesLibertyM.tIterateToFlow_1_A
IProcess(sendFilesLibertyM.java:7990)
        at uploadalfresco3libertymodel.sendfileslibertym_0_1.sendFilesLibertyM.tFileList_1Process
(sendFilesLibertyM.java:1123)
        at uploadalfresco3libertymodel.sendfileslibertym_0_1.sendFilesLibertyM.runJobInTOS(sendFi
lesLibertyM.java:8899)
        at uploadalfresco3libertymodel.sendfileslibertym_0_1.sendFilesLibertyM.runJob(sendFilesLi
bertyM.java:8746)
        at uploadalfresco3libertymodel.readfileslibertym_0_1.readFilesLibertyM.tRunJob_1Process(r
eadFilesLibertyM.java:556)
        at uploadalfresco3libertymodel.readfileslibertym_0_1.readFilesLibertyM.tPostjob_2Process(
readFilesLibertyM.java:762)
        at uploadalfresco3libertymodel.readfileslibertym_0_1.readFilesLibertyM.runJobInTOS(readFi
lesLibertyM.java:6471)
        at uploadalfresco3libertymodel.readfileslibertym_0_1.readFilesLibertyM.runJob(readFilesLi
bertyM.java:6318)
ileDelete_1Process(prepareDataLibertyInicioM.java:3190)
ileInputDelimited_1Process(prepareDataLibertyInicioM.java:2517)
ileInputDelimited_2Process(prepareDataLibertyInicioM.java:4405)
nJobInTOS(prepareDataLibertyInicioM.java:4757)
in(prepareDataLibertyInicioM.java:4589)
2017-04-13 17:25:08|W6LEjg|JYA2MN|gQksYi|UPLOADALFRESCO3LIBERTYMODEL|sendFilesLibertyM|DEV|6|Java
 Exception|tWebServiceInput_1|org.apache.axis.AxisFault:java.util.ConcurrentModificationException
2 Replies
cristinamr
Advanced

Re: Creation of thumbnail 'doclib' failed

Buenos días.

Hay un path que está mal en la configuración de tu alfresco: Edita el archivo /opt/alfresco/alfresco.sh y sustituye esto:

Como está por defecto:

LIBREOFFICE_SCRIPT=$INSTALLDIR/libreoffice/scripts/ctl.sh

Como debe estar:

LIBREOFFICE_SCRIPT=$INSTALLDIR/libreoffice/scripts/libreoffice_ctl.sh

Reinicia y debería funcionarte.

¡Un saludo!

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc
felipealamos
Member II

Re: Creation of thumbnail 'doclib' failed

ok gracias lo revisare, tenia puesto system.thumbnail.generate=false  para evitar el error por mientras.

el otro error del aplicativo le puse synchronized y funca.

Saludos