<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Web Script Status 500 / Alfresco 5 on Tomcat 8 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/web-script-status-500-alfresco-5-on-tomcat-8/m-p/300167#M253297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Alfresco community,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For quite a while I've been trying to find out how to deploy Alfresco Community Edition to the Tomcat 8 instance that is already running on my server (Arch Linux kernel 3.18.6, JRE 8 OpenJDK). Installation and WAR deployment worked fine as far as I can tell: alfresco, share and solr webapps come up according to the Tomcat server manager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whenever I try to login to &lt;/SPAN&gt;&lt;A href="http://myhost:8080/share" rel="nofollow noopener noreferrer"&gt;http://myhost:8080/share&lt;/A&gt;&lt;SPAN&gt; using the default admin user I only get a Surf web script error "02090001 Failed to process template org/alfresco/share/header/share-header.get.html.ftl". I'm seeing this error with Alfresco 5.0.a, 5.0.c and also on the latest 5.1-NIGHTLY (March 8).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!–break–&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception dump:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;java.lang.IllegalArgumentException - The resource path [/../service/constants/Default-min.js] has been normalized to [null] which is not valid&lt;BR /&gt; &lt;BR /&gt;org.apache.catalina.webresources.StandardRoot.validate(StandardRoot.java:265)&lt;BR /&gt;org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot.java:212)&lt;BR /&gt;org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot.java:206)&lt;BR /&gt;org.apache.catalina.core.ApplicationContext.getResource(ApplicationContext.java:557)&lt;BR /&gt;org.apache.catalina.core.ApplicationContextFacade.getResource(ApplicationContextFacade.java:199)&lt;BR /&gt;org.springframework.web.context.support.ServletContextResource.exists(ServletContextResource.java:102)&lt;BR /&gt;org.springframework.extensions.surf.DependencyHandler.getResourceInputStream(DependencyHandler.java:511)&lt;BR /&gt;org.springframework.extensions.surf.DojoDependencyRule.addJavaScriptDependency(DojoDependencyRule.java:276)&lt;BR /&gt;org.springframework.extensions.surf.DojoDependencyRule.processDependency(DojoDependencyRule.java:256)&lt;BR /&gt;org.springframework.extensions.surf.DojoDependencyRule.processRegexRules(DojoDependencyRule.java:149)&lt;BR /&gt;org.springframework.extensions.surf.DojoDependencyHandler.getDependencies(DojoDependencyHandler.java:248)&lt;BR /&gt;[ … ]&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and also&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.springframework.extensions.webscripts.WebScriptException - 02090001 Failed to process template org/alfresco/share/header/share-header.get.html.ftl&lt;BR /&gt; &lt;BR /&gt;org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:175)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I read from it: somehow service/constants/Default-min.js is referenced in the web application so the Servlet filter &amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.web.site.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:168) is invoked and throws that exception because the file is apparently missing. I have no idea where I could get it. Even more confusing - the same installation is working fine on Tomcat 7, and the file doesn't exist there either?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Java ClassLoaders make my head hurt …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody else faced such an issue or even got a workaround? I really would like to avoid having to maintain two Tomcat instances at different major releases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sebastian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 15:09:42 GMT</pubDate>
    <dc:creator>basti_g</dc:creator>
    <dc:date>2015-03-09T15:09:42Z</dc:date>
    <item>
      <title>Web Script Status 500 / Alfresco 5 on Tomcat 8</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-status-500-alfresco-5-on-tomcat-8/m-p/300167#M253297</link>
      <description>Hi Alfresco community,For quite a while I've been trying to find out how to deploy Alfresco Community Edition to the Tomcat 8 instance that is already running on my server (Arch Linux kernel 3.18.6, JRE 8 OpenJDK). Installation and WAR deployment worked fine as far as I can tell: alfresco, share and</description>
      <pubDate>Mon, 09 Mar 2015 15:09:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-status-500-alfresco-5-on-tomcat-8/m-p/300167#M253297</guid>
      <dc:creator>basti_g</dc:creator>
      <dc:date>2015-03-09T15:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Status 500 / Alfresco 5 on Tomcat 8</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-status-500-alfresco-5-on-tomcat-8/m-p/300168#M253298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tomcat 8 is not supported, you have to use Tomcat 7:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://wiki.alfresco.com/wiki/Alfresco_Community_5.0.c_Release_Notes" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Alfresco_Community_5.0.c_Release_Notes&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 11:21:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-status-500-alfresco-5-on-tomcat-8/m-p/300168#M253298</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2015-03-23T11:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Status 500 / Alfresco 5 on Tomcat 8</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-status-500-alfresco-5-on-tomcat-8/m-p/300169#M253299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi OpenPj.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, that's what I suspected. I was just hoping for a gap between "it's not supported" and "it won't work" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marking the question as solved, thanks for the clarification.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 22:37:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-status-500-alfresco-5-on-tomcat-8/m-p/300169#M253299</guid>
      <dc:creator>basti_g</dc:creator>
      <dc:date>2015-03-28T22:37:24Z</dc:date>
    </item>
  </channel>
</rss>

