All,
Just wondering if I could get some advice from the list (although I think this might be a question for Leaflet.js list).
I have a simple mapping site built with Leaflet.js that consumes a couple of WMS as tile layers from Geoserver; a base map layer from an Oracle DB, the other is the data from an ArcSDE DB.
Normally it all works brilliantly, but unfortunately the ArcSDE DB is currently having problems and randomly goes down and therefore Geoserver cannot connect to it (nothing to do with Geoserver). Geoserver generates a relevant error message:
2013-10-30 08:54:22,808 WARN [arcsde.session] - Unknown problem getting connection: Can’t create connection to [SERVER_NAME] for Session #5851
java.io.IOException: Can’t create connection to [SERVER_NAME ]for Session #5851
[…]
My problem is that this causes the base mapping on the site to load correctly but it appears like there’s no data on the base map. When in actual fact the GET requests to the ArcSDE WMS are just silently failing (in Firebug the GET response is just: “Reload the page to get source for: http://127.0.0.1:8080/geoserver[…]”
Does anyone have any thoughts how I can pick this up and alert the user that there’s a problem? If it’s thought that this question would be better asked on the Leaflet.js list then no problem.
Windows Server 2008 R2
GeoServer 2.3.3 running in Apache Tomcat/7.0.42
Please let me know if any further details are needed.
Many thanks,
Rob
<br>DISCLAIMER: The information contained in this communication/message from Robert.Langford@anonymised.com..5490... sent on Wed Oct 30 09:19:47 2013 is confidential and may be legally privileged. It is intended solely for the addressee(s) geoserver-users@anonymised.comists.sourceforge.net<br><br>Access to this message by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful.<br>As a public body, Salford City Council may be required to disclose this email [or any response to it] under the Freedom of Information Act 2000, unless the information in it is covered by one of the exemptions in the Act.<br>Please immediately contact the sender, Robert.Langford@anonymised.com if you have received this message in error.<br><br>For the full disclaimer please access http://www.salford.gov.uk/e-mail. Thank you.<br> |
---|