TransWikia.com

GeoServer WMS layers not working on Azure app service

Geographic Information Systems Asked by Tvrtko on August 4, 2020

Tl;dr I’m hosting GeoServer (2.15.0) in an Azure app service Java container with Tomcat. I can access the admin panel, but none of the layer previews work, nor can I fetch them over WMS service. They just timeout after a while.

In July a couple of colleagues used GeoServer and leaflet.js to show some map data in a web app. Fast forward to today, they’ve both quit the company and I took over the project. Nothing was changed on the app service or the GeoServer since then (we have 2 separate instances of GeoServer) but they’ve both stopped working.
I’ve tried reinstalling GeoServer on one of the instances, changed different settings in Azure portal (Java & Tomcat versions), created a new app service and installed a fresh copy of GeoServer to no avail.
I’ve contacted my former colleagues and they say the last time it was a simple thing of unpacking the zip and it all worked (another colleague confirms it).

Before I try other options (using a virtual machine), has anyone encountered similar problems? Is there some trick to hosting GeoServer in an Azure app service?

One Answer

I got the same problem and I solved it switching from Window app to a Linux stack (tomcat 8 and java 8). In the folder /wwwroot I had deployed the geoserver folder and not the war package.

Answered by giuseppe straziota on August 4, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP