Alfresco 6.1.2-ga Error al cargar nuevas versiones

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

Alfresco 6.1.2-ga Error al cargar nuevas versiones

 

Buenas tardes, estamos teniendo un problema con la versión 6.1.2-ga, se produce un error al cargar nuevas versiones en una casuística concreta. Indico los pasos:

1. Levantamos dockers (alfresco, share, solr..). OK

2. Cargamos un nuevo documento. OK

3. Cargamos nuevas versiones al documento. OK

4. Reiniciamos dockers (alfresco, share, solr..). OK

5. Intentamos cargar nueva versión al documento anteriormente cargado (sin subir ningún documento nuevo). NO OK, falla mostrando el error adjunto.

 

- Cada vez que se reinicia el sistema, cargar nuevas versiones a documentos existentes produce la excepción adjunta. Una vez que se carga un nuevo documento, la carga de versiones vuelva a funcionar correctamente.

 

Analizando el error y buscando información, parece que el fichero upload.post.js falla cuando es llamado para cargar una nueva version cuando no ha sido llamado con anterioridad por la carga de un nuevo contenido.

 

La traza del error:

alfresco     |  2020-07-14 13:16:51,733  ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-9] Exception from executeScript: 06140006 Unexpected error occurred during upload of new content.
alfresco     |  org.springframework.extensions.webscripts.WebScriptException: 06140006 Unexpected error occurred during upload of new content.
alfresco     | 	at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1124)
alfresco     | 	at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
alfresco     | 	at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:519)
alfresco     | 	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
alfresco     | 	at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587)
alfresco     | 	at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656)
alfresco     | 	at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:428)
alfresco     | 	at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308)
alfresco     | 	at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399)
alfresco     | 	at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)
alfresco     | 	at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
alfresco     | 	at org.alfresco.repo.web.scripts.AlfrescoWebScriptServlet.service(AlfrescoWebScriptServlet.java:43)
alfresco     | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
alfresco     | 	at jdk.internal.reflect.GeneratedMethodAccessor462.invoke(Unknown Source)
alfresco     | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
alfresco     | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
alfresco     | 	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
alfresco     | 	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
alfresco     | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
alfresco     | 	at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
alfresco     | 	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
alfresco     | 	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:170)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:225)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
alfresco     | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
alfresco     | 	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
alfresco     | 	at jdk.internal.reflect.GeneratedMethodAccessor442.invoke(Unknown Source)
alfresco     | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
alfresco     | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
alfresco     | 	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
alfresco     | 	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
alfresco     | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
alfresco     | 	at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
alfresco     | 	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
alfresco     | 	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
alfresco     | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
alfresco     | 	at org.alfresco.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93)
alfresco     | 	at jdk.internal.reflect.GeneratedMethodAccessor442.invoke(Unknown Source)
alfresco     | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
alfresco     | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
alfresco     | 	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
alfresco     | 	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
alfresco     | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
alfresco     | 	at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
alfresco     | 	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
alfresco     | 	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
alfresco     | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
alfresco     | 	at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)
alfresco     | 	at jdk.internal.reflect.GeneratedMethodAccessor442.invoke(Unknown Source)
alfresco     | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
alfresco     | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
alfresco     | 	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
alfresco     | 	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
alfresco     | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
alfresco     | 	at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
alfresco     | 	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
alfresco     | 	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
alfresco     | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
alfresco     | 	at org.alfresco.web.app.servlet.ClearSecurityContextFilter.doFilter(ClearSecurityContextFilter.java:53)
alfresco     | 	at jdk.internal.reflect.GeneratedMethodAccessor442.invoke(Unknown Source)
alfresco     | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
alfresco     | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
alfresco     | 	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
alfresco     | 	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
alfresco     | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
alfresco     | 	at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
alfresco     | 	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
alfresco     | 	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
alfresco     | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
alfresco     | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
alfresco     | 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
alfresco     | 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
alfresco     | 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
alfresco     | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
alfresco     | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
alfresco     | 	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
alfresco     | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
alfresco     | 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
alfresco     | 	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
alfresco     | 	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
alfresco     | 	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
alfresco     | 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
alfresco     | 	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
alfresco     | 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
alfresco     | 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
alfresco     | 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
alfresco     | 	at java.base/java.lang.Thread.run(Thread.java:834)
alfresco     | Caused by: org.mozilla.javascript.JavaScriptException: JavaException: Unexpected error occurred during upload of new content. (classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js#519)
alfresco     | 	at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_upload_upload_post_js_12._c_main_6(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js:519)
alfresco     | 	at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_upload_upload_post_js_12.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js)
alfresco     | 	at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:74)
alfresco     | 	at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_upload_upload_post_js_12._c_script_0(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js:523)
alfresco     | 	at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_upload_upload_post_js_12.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js)
alfresco     | 	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:405)
alfresco     | 	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3508)
alfresco     | 	at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_upload_upload_post_js_12.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js)
alfresco     | 	at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_upload_upload_post_js_12.exec(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js)
alfresco     | 	at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:509)
alfresco     | 	at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:207)
alfresco     | 	at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:219)
alfresco     | 	at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:181)
alfresco     | 	at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:109)
alfresco     | 	at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1376)
alfresco     | 	at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
alfresco     | 	... 107 more
1 Reply
angelborroy
Alfresco Employee

Re: Alfresco 6.1.2-ga Error al cargar nuevas versiones

No he podido reproducir el error con Safari. ¿Qué navegador estáis usando?

Hyland Developer Evangelist