AnsweredAssumed Answered

Alfresco Share dashlets

Question asked by kollymars on Sep 4, 2008
Latest reply on Sep 5, 2008 by kollymars
I have installed the Alfresco Share.  It is kind of working, however some of the dashlets are not working.  Specifically the RSS and the Alfresco Network dashlets are giving errors.  I am running on RHEL5 and intalled using the CentOS instructions on the wiki.  The error is:



Alfresco    Web Script Status 500 - Internal Error

The Web Script /share/service/components/dashlets/alfresco-network has responded with a status of 500 - Internal Error.

500 Description:   An error inside the HTTP server which prevented it from fulfilling the request.

Message:   Failed to load script '/org/alfresco/components/dashlets/alfresco-network.get.js (in classpath store file:/usr/share/tomcat5/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': ReferenceError: "XML" is not defined. (AlfrescoScript#1)
   
Exception:   org.mozilla.javascript.EcmaError - ReferenceError: "XML" is not defined. (AlfrescoScript#1)
   
   org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
   org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3340)
   org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3413)
   org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1612)
   org.mozilla.javascript.gen.c18._c0(AlfrescoScript:1)
   org.mozilla.javascript.gen.c18.call(AlfrescoScript)
   org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
   org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
   org.mozilla.javascript.gen.c18.call(AlfrescoScript)
   org.mozilla.javascript.gen.c18.exec(AlfrescoScript)
   org.mozilla.javascript.Context.evaluateString(Context.java:1196)
   org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:234)
   org.alfresco.web.scripts.PresentationScriptProcessor.executeScript(PresentationScriptProcessor.java:115)
   org.alfresco.web.scripts.AbstractWebScript.executeScript(AbstractWebScript.java:615)
   org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:105)
   org.alfresco.web.scripts.PresentationContainer.executeScript(PresentationContainer.java:46)
   org.alfresco.web.scripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:182)
   org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:240)
   org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)
   org.alfresco.web.scripts.WebScriptRenderer.execute(WebScriptRenderer.java:272)
   org.alfresco.web.site.RenderUtil.renderComponent(RenderUtil.java:465)
   org.alfresco.web.site.PresentationUtil.renderComponent(PresentationUtil.java:202)
   org.alfresco.web.site.taglib.ComponentTag.doStartTag(ComponentTag.java:107)
   org.alfresco.tools.TagUtil.execute(TagUtil.java:143)
   org.alfresco.tools.TagUtil.execute(TagUtil.java:79)
   org.alfresco.web.scripts.FreemarkerTagSupportDirective.executeTag(FreemarkerTagSupportDirective.java:95)
   org.alfresco.web.scripts.FreemarkerTagSupportDirective.executeTag(FreemarkerTagSupportDirective.java:73)
   org.alfresco.web.scripts.ComponentFreemarkerTagDirective.execute(ComponentFreemarkerTagDirective.java:118)
   freemarker.core.Environment.visit(Environment.java:261)
   freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.Environment.process(Environment.java:188)
   freemarker.template.Template.process(Template.java:237)
   org.alfresco.web.scripts.PresentationTemplateProcessor.process(PresentationTemplateProcessor.java:146)
   org.alfresco.web.scripts.FreemarkerRenderer.execute(FreemarkerRenderer.java:219)
   org.alfresco.web.site.RenderUtil.executeRenderer(RenderUtil.java:869)
   org.alfresco.web.site.RenderUtil.executeRenderer(RenderUtil.java:846)
   org.alfresco.web.site.RenderUtil.renderRegion(RenderUtil.java:376)
   org.alfresco.web.site.PresentationUtil.renderRegion(PresentationUtil.java:164)
   org.alfresco.web.site.taglib.RegionTag.doStartTag(RegionTag.java:113)
   org.alfresco.tools.TagUtil.execute(TagUtil.java:143)
   org.alfresco.tools.TagUtil.execute(TagUtil.java:79)
   org.alfresco.web.scripts.FreemarkerTagSupportDirective.executeTag(FreemarkerTagSupportDirective.java:95)
   org.alfresco.web.scripts.RegionFreemarkerTagDirective.execute(RegionFreemarkerTagDirective.java:128)
   freemarker.core.Environment.visit(Environment.java:261)
   freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)
   freemarker.core.Environment.visit(Environment.java:415)
   freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)
   freemarker.core.Environment.visit(Environment.java:415)
   freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.Macro$Context.runMacro(Macro.java:164)
   freemarker.core.Environment.visit(Environment.java:601)
   freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.IfBlock.accept(IfBlock.java:82)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.Macro$Context.runMacro(Macro.java:164)
   freemarker.core.Environment.visit(Environment.java:601)
   freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.Environment.visit(Environment.java:393)
   freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.Macro$Context.runMacro(Macro.java:164)
   freemarker.core.Environment.visit(Environment.java:601)
   freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.Environment.process(Environment.java:188)
   freemarker.template.Template.process(Template.java:237)
   org.alfresco.web.scripts.PresentationTemplateProcessor.process(PresentationTemplateProcessor.java:146)
   org.alfresco.web.scripts.FreemarkerRenderer.execute(FreemarkerRenderer.java:219)
   org.alfresco.web.site.RenderUtil.renderTemplate(RenderUtil.java:268)
   org.alfresco.web.site.RenderUtil.renderPage(RenderUtil.java:172)
   org.alfresco.web.site.PresentationUtil.renderPage(PresentationUtil.java:88)
   org.alfresco.web.site.servlet.DispatcherServlet.dispatchPage(DispatcherServlet.java:455)
   org.alfresco.web.site.servlet.DispatcherServlet.dispatch(DispatcherServlet.java:356)
   org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:144)
   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.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:619)
   
Exception:   org.alfresco.web.scripts.WebScriptException - ReferenceError: "XML" is not defined. (AlfrescoScript#1)
   
   org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:239)
   
Exception:   org.alfresco.web.scripts.WebScriptException - Failed to load script '/org/alfresco/components/dashlets/alfresco-network.get.js (in classpath store file:/usr/share/tomcat5/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': ReferenceError: "XML" is not defined. (AlfrescoScript#1)
   
   org.alfresco.web.scripts.PresentationScriptProcessor.executeScript(PresentationScriptProcessor.java:120)

It is probably something simple that I am missing.  Any help is appreciated

Outcomes