-
1. Re: Wildfly and geoserver-2.9.1.war
mayerw01 Oct 27, 2016 6:02 AM (in response to jvdw)I've got the same issue with geoserver-2.9.2-war. But it seems to work under Apache Tomcat/8.5.6.
So this looks like an issue with WildFly
-
-
3. Re: Wildfly and geoserver-2.9.1.war
ctomc Oct 27, 2016 6:37 AM (in response to mayerw01)Wolfgang Mayer wrote:
I've got the same issue with geoserver-2.9.2-war. But it seems to work under Apache Tomcat/8.5.6.
So this looks like an issue with WildFly
So this looks like an issue with geoserver when running on WildFly
-
-
5. Re: Wildfly and geoserver-2.9.1.war
jaikiran Oct 27, 2016 8:54 AM (in response to jvdw)I couldn't find the source of geoserver online and didn't want to download the .zip to just check what the servlet mappings for that web app looks like and what the actual content of that about page is. Can you paste those contents here?
-
-
7. Re: Wildfly and geoserver-2.9.1.war
mayerw01 Oct 30, 2016 8:11 AM (in response to jaikiran)The source may be down loaded via Download - GeoServer
It looks like geoserver uses the Spring Framework as well as Restlet Framework (Restlet | Home )
I've no experience with Restlet but it looks like the pages are created dynamically via Freemarker templates like
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>GeoServer Configuration</title>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW"/>
</head>
<body>
<h2>Scripts:</h2> // this line is replaced by About:
<ul>
<#list values as s>
<li><a href="${page.pageURI(s.properties.name)}">${s.properties.name}</a></li>
</#list>
</ul>
</body>
</html>
so apparently the <#list values as s> is skipped
After adding
<logger category="org.geoserver">
<level name="FINE"/>
</logger>
The log reports" Failed to lookup template version.ftl: java.io.FileNotFoundException: Template version.ftl not found."
So this seems to be related to using Freemarker on WildFly (Freemarker does not find template on classpath )