Dear All
We get 404 - Not found errors when we try to enable print option from
OpenLayers / Leaflet on CentOS through Post method. However, we are
getting print through Get method.
Our environment is as follows:
GeoServer version is 2.8 on CentOS - Tomcat 7.0.67
PHP - 5.5.36; Apache with SSL
Config.yaml for security / hosts related section are:
----------------------------------
hosts:
- !localMatch
dummy: true
Security:
- !basicAuth
matcher: !dnsMatch
host: www.gisdomain.com
port: 8080
username: xyz
password: abcd
preemptive: true
hosts:
- !dnsMatch
host: www.gisdomain.com
----------------------------
Geoerver log gives the following
----------------------
2016-11-25 17:47:17,669 WARN [yaml.CustomBeanWrapper] - Config: unknown
field 'Security' with value '[org.mapfish.print.config.Bas
icAuthSecurity@55c37192]'
2016-11-25 17:47:17,674 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
unknown field 'height' with value '150'
2016-11-25 17:47:17,681 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
unknown field 'height' with value '100'
2016-11-25 17:47:17,702 WARN [servlet.PageNotFound] - No mapping found for
HTTP request with URI [/geoserver/domain/wms] in DispatcherServlet with
name 'dispatcher'
2016-11-25 17:47:17,712 WARN [servlet.PageNotFound] - No mapping found for
HTTP request with URI [/geoserver/domain/wms] in DispatcherServlet with
name 'dispatcher'
2016-11-25 17:47:17,714 ERROR [print.PDFUtils] - Server returned an error
for https://www.gisdomain.com:8080/geoserver/domain/wms?BBOX=
8187100.555667659%2C655843.5302431142%2C9245433.863162776
%2C1802371.2994081532&WIDTH=1667&HEIGHT=1806&format_options=dpi%3A100&map_
resolution=100&FORMAT=image%2Fpng&REQUEST=GetMap&SRS=EPSG%
3A3857&VERSION=1.1.1&STYLES=&SERVICE=WMS&DPI=100&transparen
t=true&LAYERS=domain%3Alayer1: Error (status=404) while reading the image
from https://www.gisdomain.com:8080/geoserver/domain/wms?BBOX=
8187100.555667659%2C655843.5302431142%2C9245433.863162776
%2C1802371.2994081532&WIDTH=1667&HEIGHT=1806&format_options=dpi%3A100&map_
resolution=100&FORMAT=image%2Fpng&REQUEST=GetMap&SRS=EPSG%
3A3857&VERSION=1.1.1&STYLES=&SERVICE=WMS&DPI=100&transparen
t=true&LAYERS=domain%3Alayer1: Not Found
2016-11-25 17:47:17,715 ERROR [print.PDFCustomBlocks] - Error while adding
a PDF elementjava.io.IOException: Error (status=404) while reading the
image from https://www.gisdomain.com:8080/geoserver/domain/wms?BBOX=
8187100.555667659%2C655843.5302431142%2C9245433.863162776
%2C1802371.2994081532&WIDTH=1667&HEIGHT=1806&format_options=dpi%3A100&map_
resolution=100&FORMAT=image%2Fpng&REQUEST=GetMap&SRS=EPSG%
3A3857&VERSION=1.1.1&STYLES=&SERVICE=WMS&DPI=100&transparen
t=true&LAYERS=domain%3Alayer1: Not Found
2016-11-25 17:47:17,835 WARN [yaml.CustomBeanWrapper] - Config: unknown
field 'Security' with value '[org.mapfish.print.config.Bas
icAuthSecurity@3b55c5e7]'
2016-11-25 17:47:17,841 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
unknown field 'height' with value '150'
2016-11-25 17:47:17,852 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
unknown field 'height' with value '100'
2016-11-25 17:47:30,536 WARN [servlet.PageNotFound] - No mapping found for
HTTP request with URI [/geoserver/domain/wms] in DispatcherServlet with
name 'dispatcher'
----------------------------------------
Chennai and adjacent districts have been devasted due to Vardha cyclone..
Any help to resolve the error would be highly appreciated, pls.
--
With kind regards,
Mahalakshmi Narayanan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users