AnsweredAssumed Answered

Alfresco-3.4d: alfresco share slingshot-login template error

Question asked by cpekyaman on Apr 27, 2011
Latest reply on Jun 12, 2015 by leticiafloresfragoso
I've recently downloaded and installed Alfresco binary alfresco-community-3.4.d-installer-win-x64 on my Windows7 laptop. I've used the defaults for the installation and I had no problems or warnings during install. When I start alfresco, I was able to login to http://localhost:8080/alfresco without a problem. But when I try to login to http://localhost:8080/share, I'm redirected to http://localhost:8080/share/page/site-index and I got this error on the page:

A problem has occurred.
This page could not be rendered:
slingshot-login
Please notify your system administrator.


when I check the tomcat logs I see an error trace after regular INFO messages:


22:16:01,093  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 309 Web Scripts (+0 failed), 319 URLs
22:16:01,094  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
22:16:01,094  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
22:16:01,323  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 2245.6216ms)
22:16:01,363  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
22:16:01,434  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
22:16:01,677  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
22:16:01,682  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
22:16:01,898  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
22:16:01,903  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
WARN : org.apache.myfaces.shared_impl.util.LocaleUtils - Locale name in faces-config.xml null or empty, setting locale to default locale : tr_TR
WARN : org.springframework.beans.GenericTypeAwarePropertyDescriptor - Invalid JavaBean property 'baseUrl' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.net.URI)]: [public void org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.lang.String) throws java.net.URISyntaxException]
22:16:08,099 http-8080-1 ERROR [surf.render.RenderService] An exception occurred while rendering: slingshot-login
org.springframework.extensions.surf.exception.RendererExecutionException: Cannot resolve template - may be missing from the definition: template-instance: slingshot-login, <?xml version="1.0" encoding="UTF-8"?>

<template-instance>
  <title>Slingshot Login Template</title> 
  <template-type>org/alfresco/global/slingshot-login</template-type>
</template-instance>

   at org.springframework.extensions.surf.render.RenderService.processTemplate(RenderService.java:354)
   at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.calculateComponentDependencies(TemplateInstanceRenderer.java:61)
   at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:118)
   at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:75)
   at org.springframework.extensions.surf.render.bean.PageRenderer.body(PageRenderer.java:85)
   at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:75)
   at org.springframework.extensions.surf.render.RenderService.renderPage(RenderService.java:408)
   at org.springframework.extensions.surf.mvc.PageView.dispatchPage(PageView.java:388)
   at org.springframework.extensions.surf.mvc.PageView.renderView(PageView.java:273)
   at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.renderMergedOutputModel(AbstractWebFrameworkView.java:285)
   at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
   at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1060)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)

Just before the stack trace it says about some template error; but I don't understand what is missing. I found the template file but it seems OK to me. Also I don't know which config files to check for problems. Can someone give me some directions please (what to check or where to look). I don't know anything about surf, so I'm a little stucked at this point.

thanks in advance.

Outcomes