AnsweredAssumed Answered

How to override share pages?

Question asked by upforsin on Aug 1, 2019
Latest reply on Aug 2, 2019 by abhinavmishra14_alfresco

Hello,

I have been following few tutorials about overriding and creating own share pages but none of those works..

I am using Alfresco Community - 6.1.2 on Docker.

 

The error:

ERROR [alfresco.web.site] [http-nio-8080-exec-3] javax.servlet.ServletException: Could not resolve view with name 'tutorials-login.xml' in servlet with name 'Spring Surf Dispatcher Servlet'

 

Full stack trace:

my-share_1     | 2019-08-01 14:50:09,396  INFO  [web.site.EditionInterceptor] [http-nio-8080-exec-1] Successfully retrieved license information from Alfresco.
my-share_1     | 2019-08-01 14:50:10,952  WARN  [extensions.webscripts.WebTemplateProcessor] [http-nio-8080-exec-1] Unable to find a valid template path for uri: tutorials/tutorials-login.ftl
my-share_1     | 2019-08-01 14:50:10,955  WARN  [extensions.webscripts.WebTemplateProcessor] [http-nio-8080-exec-1] Unable to find a valid template path for uri: tutorials/tutorials-login.ftl
my-share_1     | Aug 01, 2019 2:52:54 PM org.apache.catalina.core.StandardWrapperValve invoke
my-share_1     | SEVERE: Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Could not resolve view with name 'tutorials-login.xml' in servlet with name 'Spring Surf Dispatcher Servlet'] with root cause
my-share_1     | javax.servlet.ServletException: Could not resolve view with name 'tutorials-login.xml' in servlet with name 'Spring Surf Dispatcher Servlet'
my-share_1     |     at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1198)
my-share_1     |     at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1001)
my-share_1     |     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945)
my-share_1     |     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
my-share_1     |     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
my-share_1     |     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
my-share_1     |     at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
my-share_1     |     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
my-share_1     |     at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
my-share_1     |     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
my-share_1     |     at org.springframework.extensions.webscripts.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:177)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
my-share_1     |     at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:356)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
my-share_1     |     at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:474)
my-share_1     |     at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:443)
my-share_1     |     at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
my-share_1     |     at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:81)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
my-share_1     |     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
my-share_1     |     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
my-share_1     |     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
my-share_1     |     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
my-share_1     |     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
my-share_1     |     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
my-share_1     |     at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
my-share_1     |     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
my-share_1     |     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
my-share_1     |     at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
my-share_1     |     at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
my-share_1     |     at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
my-share_1     |     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
my-share_1     |     at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
my-share_1     |     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
my-share_1     |     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
my-share_1     |     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
my-share_1     |     at java.base/java.lang.Thread.run(Thread.java:834)
my-share_1     |
my-share_1     | 2019-08-01 14:52:55,258  ERROR [alfresco.web.site] [http-nio-8080-exec-3] javax.servlet.ServletException: Could not resolve view with name 'tutorials-login.xml' in servlet with name 'Spring Surf Dispatcher Servlet'
my-share_1     | 2019-08-01 14:52:59,426  WARN  [extensions.webscripts.WebTemplateProcessor] [http-nio-8080-exec-4] Unable to find a valid template path for uri: tutorials/tutorials-login.ftl

Outcomes