Web Script Status 500 - Erreur Interne de Servlet

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

Web Script Status 500 - Erreur Interne de Servlet

Bonjour,

J'ai un problème plutôt étrange sur certains utilisateurs dans alfresco, quand je veux activé le webscript "Document list" sur la page "Mon Alfresco", J'ai ce message d'erreur:

Alfresco     Web Script Status 500 - Erreur Interne de Servlet

The Web Script /alfresco/wcs/ui/doclist has responded with a status of 500 - Erreur Interne de Servlet.

500 Description:   Le serveur a recontrer une erreur interne qui l''a empêché de satisfaire la requête.

Message:   Une erreur est survenue lors de la génération du modèle 'get(name) failed on instance of org.alfresco.repo.template.TemplateNode'.

Exception:   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:176)
   org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:256)
   org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:191)
   org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   $Proxy2.getProperties(Unknown Source)
   org.alfresco.repo.template.TemplateNode.getProperties(TemplateNode.java:203)
   org.alfresco.repo.template.TemplateNode.getName(TemplateNode.java:172)
   sun.reflect.GeneratedMethodAccessor617.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
   freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:272)
   freemarker.ext.beans.BeanModel.get(BeanModel.java:183)
   freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
   freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
   freemarker.core.Expression.getStringValue(Expression.java:93)
   freemarker.core.BuiltIn$lengthBI._getAsTemplateModel(BuiltIn.java:233)
   freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
   freemarker.core.Assignment.accept(Assignment.java:90)
   freemarker.core.Environment.visit(Environment.java:196)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:196)
   freemarker.core.IfBlock.accept(IfBlock.java:82)
   freemarker.core.Environment.visit(Environment.java:196)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:196)
   freemarker.core.Environment.process(Environment.java:176)
   freemarker.template.Template.process(Template.java:232)
   org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:200)
   org.alfresco.web.scripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:329)
   org.alfresco.web.scripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:232)
   org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:158)
   org.alfresco.web.scripts.WebScriptRuntime.wrappedExecute(WebScriptRuntime.java:342)
   org.alfresco.web.scripts.WebScriptRuntime.authenticatedExecute(WebScriptRuntime.java:308)
   org.alfresco.web.scripts.WebScriptRuntime$1.execute(WebScriptRuntime.java:163)
   org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:225)
   org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)
   org.alfresco.web.scripts.WebScriptRuntime.executeScript(WebScriptRuntime.java:174)
   org.alfresco.web.scripts.jsf.UIWebScript.encodeBegin(UIWebScript.java:199)
   org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:412)
   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.RendererUtils.renderChildren(RendererUtils.java:400)
   org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:417)
   org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:229)
   org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:101)
   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.jsp.dashboards.layouts.single_002dcolumn_jsp._jspService(single_002dcolumn_jsp.java:322)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
   org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)
   org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
   org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965)
   org.apache.jsp.jsp.dashboards.container_jsp._jspService(container_jsp.java:485)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
   org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
   org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
   org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
   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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:94)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
   org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
   org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
   org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
   org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
   java.lang.Thread.run(Thread.java:595)
   
Exception:   org.alfresco.repo.security.permissions.AccessDeniedException - Accès interdit. Vous n'avez pas la permission de réaliser cette opération.
   
   org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53)
   
Exception:   java.lang.reflect.InvocationTargetException
   
   sun.reflect.GeneratedMethodAccessor617.invoke(Unknown Source)
   
Exception:   freemarker.template.TemplateModelException - get(name) failed on instance of org.alfresco.repo.template.TemplateNode
   
   freemarker.ext.beans.BeanModel.get(BeanModel.java:223)
   
Exception:   org.alfresco.service.cmr.repository.TemplateException - Une erreur est survenue lors de la génération du modèle 'get(name) failed on instance of org.alfresco.repo.template.TemplateNode'.
   
   org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:204)
   
Server:   Alfresco Community Network v2.1.0 (484) schema 64
Time:   8 juil. 2009 11:09:06

Diagnostics:   Inspect Web Script (org/alfresco/portlets/doclist.get)


Si quelqu'un pouvait m'aider car je dois présenter cet espace demain pour un de nos clients à qui je doit partager des données.

Merci d'avance.
1 Reply
rguinot
Customer

Re: Web Script Status 500 - Erreur Interne de Servlet

Exception:   net.sf.acegisecurity.AccessDeniedException - Access is denied.

Problème de droits sur le répertoire "Web Scripts" du dictionnaire de données sans doute.
Soit votre utilisateur loggué n'a pas les droits de voir le contenu du repertoire Web Scripts du Data Dictionary, ou bien vous avez enlevé les permissions Lecteur à tout le monde / à guest sur ce répertoire ….