aodn / aodn-portal

AODN Open Geospatial Portal
https://portal.aodn.org.au/
GNU General Public License v3.0
21 stars 13 forks source link

Date issue in content.ftl for Deep-ocean Tsunami Detection Buoys #328

Closed pmbohm closed 11 years ago

pmbohm commented 11 years ago

The content.ftl for geoserver.imos.org.au/geoserver Bureau of Meteorology -> Deep-ocean Tsunami Detection Buoys is broken. Problem with date format.

Typical getFeatureInfo request: http://geoserver.imos.org.au/geoserver/wms?LAYERS=aodn%3Adart_latest&TRANSPARENT=TRUE&VERSION=1.3.0&FORMAT=image%2Fpng&QUERYABLE=true&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SERVICE=WMS&REQUEST=GetFeatureInfo&STYLES=&CRS=EPSG%3A4326&BBOX=-53.294922%2C105.449219%2C6.294922%2C184.375&INFO_FORMAT=text%2Fhtml&QUERY_LAYERS=aodn%3Adart_latest&FEATURE_COUNT=100&SRS=EPSG%3A4326&WIDTH=898&HEIGHT=678&X=602&Y=253&I=602&J=253&BUFFER=10

File location in data dir: ....data_dir/workspaces/aodn/JNDI_coastal_watch/coastal_watch_locations/content.ftl

jkburges commented 11 years ago

@danfruehauf let's get geoserver monitoring (at the GetFeatureInfo level) in to nagios hey? Even better if we had a jenkins job that ran up geoserver, tested all the layers - so that these problems never get in to production.

danfruehauf commented 11 years ago

@jkburges Yes, too easy. I already implemented something for NcWMS. We need something similar to geoserver, I agree.

jkburges commented 11 years ago

@danfruehauf in addition, like you suggested before, we can also probably have the ruby link checker scheduled and writing to some sort of log, on which we alert (when there are broken links).

danfruehauf commented 11 years ago

I'm all up for that. Have a look at: https://github.com/aodn/nagios/blob/master/files/default/plugins/check_ncwms

tojofo commented 11 years ago

This looks fixed, @pmbohm did you address this already?

pmbohm commented 11 years ago

No i get an error! Geoserver just got a reboot as well

java.io.IOException: Error occured processing content template content.ftl for dart_latest Error occured processing content template content.ftl for dart_latest Error: on line 12, column 27 in content.ftl Expecting a date here, found: Sep 15, 2013 11:00:00 AM Details: org.geoserver.platform.ServiceException: java.io.IOException: Error occured processing content template content.ftl for dart_latest at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1324) at org................
pmbohm commented 11 years ago

That file location for the content.ftl i gave is bogus btw !!

pmbohm commented 11 years ago

/var/lib/geoserver/geoserver.imos.org.au_data_dir/workspaces/aodn/AODN_maplayers/dart_latest/content.ftl

tojofo commented 11 years ago

Fixed.