Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-1822

BM0015: A lot of exceptions in logs: AccessDeniedException: Access is denied

    Details

      Description

      During execution BM0015 on Cloud MyAlfrescoHead builf 475 (rel36rc1) i can see a lot of the following errors:

      2014-05-24 17:33:11,236 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 04240701 Access Denied.  You do not have the appropriate permissions to perform this operation.
      org.alfresco.repo.security.permissions.AccessDeniedException: 04240701 Access Denied.  You do not have the appropriate permissions to perform this operation.
              at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:50)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
              at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:164)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
              at org.alfresco.repo.model.filefolder.FilenameFilteringInterceptor.invoke(FilenameFilteringInterceptor.java:280)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
              at com.sun.proxy.$Proxy70.create(Unknown Source)
              at org.alfresco.repo.web.scripts.bean.ADMRemoteStore$4.doWork(ADMRemoteStore.java:475)
              at org.alfresco.repo.web.scripts.bean.ADMRemoteStore$4.doWork(ADMRemoteStore.java:454)
              at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
              at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.writeDocument(ADMRemoteStore.java:453)
              at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.createDocument(ADMRemoteStore.java:370)
              at org.alfresco.repo.web.scripts.bean.BaseRemoteStore.execute(BaseRemoteStore.java:302)
              at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:426)
              at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
              at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)
              at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:553)
              at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:343)
              at org.alfresco.module.org_alfresco_module_cloud.webscripts.TenantSwitchingRepositoryContainer.access$201(TenantSwitchingRepositoryContainer.java:52)
              at org.alfresco.module.org_alfresco_module_cloud.webscripts.TenantSwitchingRepositoryContainer$2.doWork(TenantSwitchingRepositoryContainer.java:190)
              at org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:119)
              at org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:88)
              at org.alfresco.module.org_alfresco_module_cloud.webscripts.TenantSwitchingRepositoryContainer.executeScript(TenantSwitchingRepositoryContainer.java:186)
              at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
              at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
              at org.alfresco.repo.web.scripts.TenantWebScriptServlet.service(TenantWebScriptServlet.java:74)
              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.alfresco.module.org_alfresco_module_cloud.webscripts.TenantLeakLogger.doFilter(TenantLeakLogger.java:56)
              at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
              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:203)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
              at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2378)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.
              at net.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:86)
              at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:398)
              at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
              at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
              ... 54 more
      

      I verified logs for previous BM0015 runs i was not able to find the same error (yep i can see similar exceptions with the access is denied error. But these exceptions contains different stack traces. So current issue will be marked as "Regression"

      Probably the error can be related with ACE-1818 (because count of exceptions in the logs does not correspond count of failed BM actions ) - we have a lot of exceptions in the log but only several failures for BM results.

      please see attached logs.

        Attachments

        1. alfresco-n1.log
          428 kB
        2. alfresco-n2.log
          1.26 MB
        3. alfresco-n2.log
          234 kB

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  dyukhnovets Dmitry Yukhnovets [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel