AnsweredAssumed Answered

org.alfresco.repo.security.permissions.impl.ExceptionTransla

Question asked by majd on Jun 22, 2011
Hi,

I am working with 3.2r, I get from time to time not always an exception when I conact to alfresco:


net.sf.acegisecurity.AccessDeniedException: Access is denied.
       net.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:86)
       net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:394)
       net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
       org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
       org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
       org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
       org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:148)
       org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
       org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
       org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
       $Proxy11.getProperties(Unknown Source)
       org.alfresco.web.bean.repository.Node.getProperties(Node.java:109)
       sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:457)
       org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:85)
       org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:535)
       org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
       org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:386)
       javax.faces.component.UIOutput.getValue(UIOutput.java:80)
       org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:223)
       org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:69)
       org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:57)
       javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:539)
       org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:419)
       org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:400)
       org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:417)
       org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderColumnBody(HtmlTableRendererBase.java:337)
       org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeColumnChild(HtmlTableRendererBase.java:306)
       org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:282)
       org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:134)
       javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:527)
       org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:414)
       org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:400)
       org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:78)
       javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:539)
       javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:498)
       javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:366)
       org.apache.myfaces.shared_impl.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:57)
       org.apache.jsp.hvm_002donline.index_jsp._jspx_meth_h_005fpanelGroup_005f0(index_jsp.java:412)
       org.apache.jsp.hvm_002donline.index_jsp._jspx_meth_h_005fform_005f0(index_jsp.java:287)
       org.apache.jsp.hvm_002donline.index_jsp._jspx_meth_f_005fview_005f0(index_jsp.java:185)
       org.apache.jsp.hvm_002donline.index_jsp._jspService(index_jsp.java:131)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
       org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
       org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
       org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
       org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:110)
       sun.reflect.GeneratedMethodAccessor613.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)
       org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
       org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
       $Proxy158.doFilter(Unknown Source)
       org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)
       org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:74)
       sun.reflect.GeneratedMethodAccessor613.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)
       org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
       org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
       $Proxy158.doFilter(Unknown Source)
       org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)
       de.kzv.alf.filter.PermissionFilter.doFilter(PermissionFilter.java:65)
       de.kzv.alf.authentication.JossoAuthenticationFilter$1.doWork(JossoAuthenticationFilter.java:179)
       de.kzv.alf.authentication.JossoAuthenticationFilter$1.doWork(JossoAuthenticationFilter.java:178)
       org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:514)
       de.kzv.alf.authentication.JossoAuthenticationFilter.doFilter(JossoAuthenticationFilter.java:176)

My Problem that I get this exception not always just once then it runs for awhile fine then I get the Exception again!

Please help me to solve the problem.

Thanks and Regards
Majd

Outcomes