In my personal computer , I'm using Geoserver and print plugin (2.5.2 and 2.4(for print module)).Our development process was completed and We want to use this in our server machine.Java versions, opts and java encoding type are same but When I installed pdf plugin to server machine for example
"serverip:8080/geoserver/pdf/info.json"
error
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.ho.yaml.exception.YamlException: Error near line 0: Problem getting RİGHT value of enum type class org.mapfish.print.config.layout.HorizontalAlign
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)..
what does it mean? It is default "config.yaml" file. An error "org.ho.yaml.exception.YamlException: Error near line 0: Problem getting RİGHT value of enum type class org.mapfish.print.config.layout.HorizontalAlign".
I tried very different versions of geoserver and printplugin or mapfish print module same problem come out. Where am I doing wrong?
The print extension installation should be straightforward. Maybe there is a problem with different versions of Geoserver (2.5.2) and the print extension (you mentioned version 2.4).
I've just installed the latest version of Geoserver and the print extension to make sure it is working, and it works.
I already have Tomcat7 installed on
/opt/tomcat7
. I'm using java version 1.8.0_20.To install Geoserver:
The geoserver is automatically installed after the war file extraction.
To install the print module:
After having all /opt/tomcat7/webapps/geoserver/WEB-INF/lib, you can restart tomcat:
Check if the print module was successfully installed:
Go to the GEOSERVER_DATA_DIR (
/opt/tomcat7/webapps/geoserver/data
) and a new folder calledprinting
should be present, withconfig.yaml
inside.Check with the following request:
http://yourhost/geoserver/pdf/info.json