- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Problems with Tomcat 8
Hi @all,
we are trying to bring the tomcat in our FS 5.2 R3 landscape to Tomcat 8. We're using tomcat in place of the internal jetty. The Tomcat 8 runs fine and showing all Web-Applications correctly. The only problem we have is, that in fs5preview and fs5webedit the html files are not displayable in the right way. We figure out, that the reason must be located in the new way of accessing the jasper ressources in the tomcat itself, I copy the the lines from the web.xml her to this post:
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>development</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>checkInterval</param-name>
<param-value>30</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>compilerSourceVM</param-name>
<param-value>1.8</param-value>
</init-param>
<init-param>
<param-name>compilerTargetVM</param-name>
<param-value>1.8</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
and additionally:
<!-- The mappings for the JSP servlet -->
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
<url-pattern>*.jspx</url-pattern>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
Is there somebody, who had the same problems in her/his landscape and can give us a hint, how to handel these 404 problems in fs5preview and fs5webedit ? Thanks in advance and best regards
Torsten
- Labels:
-
Developers
- Tags:
- tomcat8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Torsten,
do you mean Tomcat 8.5 or Tomcat 8.0? While Tomcat 8.0 ist supported by FirstSpirit 5.2 using Java 8 or Java 7 I don't know much about Tomcat 8.5 yet as that version is technically derived from Tomcat 9.0 according to the release notes:
The Tomcat 8.5.x branch was created from the Tomcat 9.0.0.M4 tag. Changes were applied to restore Java 7 compatibility and to align the specification APIs with Servlet 3.1, JSP 2.3, EL 3.0, WebSocket 1.1 and JASPIC 1.1.
https://tomcat.apache.org/tomcat-8.5-doc/changelog.html
Holger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Holger,
i'am talking about Tomcat 8.0.36
Regards Torsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not aware about any problems with FirstSpirit 5.2 on Tomcat 8.0 in general. Mostly it is used with the Webserver Type "Tomcat" set in the FirstSpirit ServerManager, that means automatically deploying the FirstSpirit WebApps as fs5*.war via the Tomcat Manager WebApp (http://hostname:8080/manager/html). Do you use that integration method or some other?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We're using it exactly this way. Via the tomcat manager all applications are available and starting without any problem. Only error is that the fs5preview will not show / generate the html-pages and display it. Here we receive a 404 error.
Regards Torsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As it is a supported combination, Tomcat 8.0 and FirstSpirit 5.2 using the integration documented in the FirstSpirit Admin manual, please ask our TechSupport or contact your Account Manager for scheduling a remote session with e-Spirit Professional Service.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello together, is FS 5.2 R9 officially suported in comination with Tomcat 8.5.x?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content