<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Timeout errors setting user space permissions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/timeout-errors-setting-user-space-permissions/m-p/192240#M145370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have Alfresco 3 installed and loaded with content for one of our customers. Some of the spaces have deeply nested folders with lots of documents. I am now trying to set the permissions for the folders which requires that I first uncheck the Inherit Permissions option. When I do this on a folder without many subfolders or documents it works find and quickly. But, on a higher level on folders with lots of subfolders and/or documents, it goes for awhile (sometime ~30 mins or more) and then returns the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A system error happened during the operation: could not update: [org.alfresco.repo.domain.hibernate.NodeImpl#479]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with the trailing number being different with each attempt. From the alfresco.log file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;16:02:55,687 ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: could not update: [org.alfresco.repo.domain.hibernate.NodeImpl#477]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.hibernate.exception.GenericJDBCException: could not update: [org.alfresco.repo.domain.hibernate.NodeImpl#477]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2430)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:322)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:306)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:183)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.domain.hibernate.HibernateSessionHelperResource.doResetAndRemove(HibernateSessionHelperResource.java:197)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.domain.hibernate.HibernateSessionHelperResource.resetAndRemoveMark(HibernateSessionHelperResource.java:170)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.domain.hibernate.HibernateSessionHelper.resetAndRemoveMark(HibernateSessionHelper.java:85)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.domain.hibernate.DMAccessControlListDAO.setFixedAcls(DMAccessControlListDAO.java:379)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.domain.hibernate.DMAccessControlListDAO.setInheritanceForChildren(DMAccessControlListDAO.java:308)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.domain.hibernate.DMPermissionsDaoComponentImpl.createAccessControlList(DMPermissionsDaoComponentImpl.java:93)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.domain.hibernate.AbstractPermissionsDaoComponentImpl.getMutableAccessControlList(AbstractPermissionsDaoComponentImpl.java:216)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.domain.hibernate.AbstractPermissionsDaoComponentImpl.setInheritParentPermissions(AbstractPermissionsDaoComponentImpl.java:511)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.reflect.Method.invoke(Method.java:597)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at $Proxy6.setInheritParentPermissions(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.setInheritParentPermissions(PermissionServiceImpl.java:932)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.GeneratedMethodAccessor1482.invoke(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.reflect.Method.invoke(Method.java:597)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at $Proxy16.setInheritParentPermissions(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.GeneratedMethodAccessor1482.invoke(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.reflect.Method.invoke(Method.java:597)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at $Proxy20.setInheritParentPermissions(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.web.bean.users.UserMembersBean.inheritPermissionsValueChanged(UserMembersBean.java:598)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.reflect.Method.invoke(Method.java:597)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at javax.faces.component.UIInput.broadcast(UIInput.java:244)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:32)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.Thread.run(Thread.java:619)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2019)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1937)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1922)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;… 81 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is using a MySQL database (local on the Alfresco server).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a solution to this or a workaround in the form, possibly, of an SQL query that can be run on the database tables to update the permissions there outside of the admin web interface?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris Stone&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AxisInternet, Inc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2009 19:14:10 GMT</pubDate>
    <dc:creator>axisinternet</dc:creator>
    <dc:date>2009-03-25T19:14:10Z</dc:date>
    <item>
      <title>Timeout errors setting user space permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timeout-errors-setting-user-space-permissions/m-p/192240#M145370</link>
      <description>Have Alfresco 3 installed and loaded with content for one of our customers. Some of the spaces have deeply nested folders with lots of documents. I am now trying to set the permissions for the folders which requires that I first uncheck the Inherit Permissions option. When I do this on a folder with</description>
      <pubDate>Wed, 25 Mar 2009 19:14:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timeout-errors-setting-user-space-permissions/m-p/192240#M145370</guid>
      <dc:creator>axisinternet</dc:creator>
      <dc:date>2009-03-25T19:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout errors setting user space permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timeout-errors-setting-user-space-permissions/m-p/192241#M145371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having the exact same problem and wondering the same thing. Any way to do this by brute force?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 11:25:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timeout-errors-setting-user-space-permissions/m-p/192241#M145371</guid>
      <dc:creator>adamthehutt</dc:creator>
      <dc:date>2009-07-02T11:25:42Z</dc:date>
    </item>
  </channel>
</rss>

