AnsweredAssumed Answered

Probleme interface share

Question asked by jcl_4104 on Jun 16, 2009
Latest reply on Jun 17, 2009 by michaelh
Bonjour,

Notre serveur est en version alfresco 3.0.0 ( build 1562)

L'interface share tourne depuis 4 mois sans problèmes.

Sur un utilisateur membre de plusieurs sites, nous avons le message d'erreur suivant sur le dashlet calendar du tableau de bord général.


The Web Script /share/service/components/dashlets/user-calendar 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:   Error during remote call. status: 500, response: { "status" : { "code" : 500, "name" : "Erreur Interne de Servlet", "description" : "Le serveur a recontrer une erreur interne qui l''a empêché de satisfaire la requête." }, "message" : "Wrapped Exception (with status template): Failed to execute script '\/org\/alfresco\/slingshot\/calendar\/userevents.get.js (in classpath store file:\/opt\/Alfresco\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts)': Access refus\u00e9. Vous n'avez pas la permission de r\u00e9aliser cette op\u00e9ration.", "exception" : "org.alfresco.web.scripts.WebScriptException - Wrapped Exception (with status template): Failed to execute script '\/org\/alfresco\/slingshot\/calendar\/userevents.get.js (in classpath store file:\/opt\/Alfresco\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts)': Access refus\u00e9. Vous n'avez pas la permission de r\u00e9aliser cette op\u00e9ration.", "callstack" : [ "" ,"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:166)" ,"org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)" ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)" ,"org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)" ,"org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)" ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)" ,"org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)" ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)" ,"org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)" ,"$Proxy23.getAllSetPermissions(Unknown Source)" ,"org.alfresco.repo.site.SiteServiceImpl.isSitePublic(SiteServiceImpl.java:519)" ,"org.alfresco.repo.site.SiteServiceImpl.createSiteInfo(SiteServiceImpl.java:501)" ,"org.alfresco.repo.site.SiteServiceImpl.listSites(SiteServiceImpl.java:458)" ,"org.alfresco.repo.site.SiteServiceImpl.listSites(SiteServiceImpl.java:470)" ,"org.alfresco.repo.site.script.ScriptSiteService.listUserSites(ScriptSiteService.java:116)" ,"sun.reflect.GeneratedMethodAccessor706.invoke(Unknown Source)" ,"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)" ,"java.lang.reflect.Method.invoke(Method.java:597)" ,"org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)" ,"org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)" ,"org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)" ,"org.mozilla.javascript.gen.c1570._c1(AlfrescoScript:27)" ,"org.mozilla.javascript.gen.c1570.call(AlfrescoScript)" ,"org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)" ,"org.mozilla.javascript.gen.c1570._c0(AlfrescoScript:17)" ,"org.mozilla.javascript.gen.c1570.call(AlfrescoScript)" ,"org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)" ,"org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)" ,"org.mozilla.javascript.gen.c1570.call(AlfrescoScript)" ,"org.mozilla.javascript.gen.c1570.exec(AlfrescoScript)" ,"org.mozilla.javascript.Context.evaluateString(Context.java:1196)" ,"org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:390)" ,"org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:122)" ,"org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:263)" ,"org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:108)" ,"org.alfresco.web.scripts.AbstractWebScript.executeScript(AbstractWebScript.java:800)" ,"org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:90)" ,"org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:319)" ,"org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)" ,"org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)" ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:368)" ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:390)" ,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:273)" ,"org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:261)" ,"org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)" ,"org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)" ,"javax.servlet.http.HttpServlet.service(HttpServlet.java:717)" ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)" ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)" ,"org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)" ,"org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)" ,"org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)" ,"org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)" ,"org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)" ,"org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)" ,"org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)" ,"org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)" ,"org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)" ,"java.lang.Thread.run(Thread.java:619)" ,"org.alfresco.repo.security.permissions.AccessDeniedException: Access refus\u00e9. Vous n'avez pas la permission de r\u00e9aliser cette op\u00e9ration." ,"org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53)" ,"org.alfresco.scripts.ScriptException: Failed to execute script '\/org\/alfresco\/slingshot\/calendar\/userevents.get.js (in classpath store file:\/opt\/Alfresco\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts)': Access refus\u00e9. Vous n'avez pas la permission de r\u00e9aliser cette op\u00e9ration." ,"org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:126)" ,"org.alfresco.web.scripts.WebScriptException: Wrapped Exception (with status template): Failed to execute script '\/org\/alfresco\/slingshot\/calendar\/userevents.get.js (in classpath store file:\/opt\/Alfresco\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts)': Access refus\u00e9. Vous n'avez pas la permission de r\u00e9aliser cette op\u00e9ration." ,"org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:595)" ], "server" : "Alfresco Labs v3.0.0 (Stable 1526) schema 1 002", "time" : "16 juin 2009 17:06:50" }
Server:   Alfresco Labs v3.0.0 (Stable 1526) schema 1 002
Time:   16 juin 2009 17:06:50
   
Diagnostics:   Inspect Web Script (org/alfresco/components/dashlets/user-calendar.get)

De plus dans le dashlet 'mes sites' aucun site n'apparait malgré  l'appartenance à plusieurs sites.
Par contre je peux aller sur les sites en question directement par http::// ….:8080/share/page/site/….

Merci de votre aide

Outcomes