Questions tagged [tomcat]

An open source web server and servlet container developed by the Apache Software Foundation

Filter by
Sorted by
Tagged with
1
vote
2answers
30 views

Allow CORS on GeoServer with Tomcat and Nginx

I've used this procedure for install GeoServer on a server based on Ubuntu 20.04 with Tomcat and Nginx. At the end I've putted under HTTPS my subdomain. I can see without problems the WMS services and ...
1
vote
1answer
14 views

GeoNetwork is not loading

I'm trying to get GeoNetwork working but no success. Here is the workaround I did to install GeoNetwork : Install Tomcat Download geonetwork.war Deploy the war inside Tomcat /geonetwork folder ...
2
votes
1answer
69 views

Use Nginx with Tomcat to put GeoServer under HTTPS

I'm trying to use HTTPS with GeoServer. I've used this steps to install Tomcat, Nginx and GeoServer on Ubuntu 20.04. At the end I've used the wizard from certbot for enable HTTPS. I can access without ...
0
votes
2answers
38 views

GeoServer 2.17.1 WAR running on Tomcat 9 not finding GEOSERVER_DATA_DIR context param

I have GeoServer 2.17.1 installed as a WAR servlet in Tomcat 9. If the data files are located in C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\geoserver\data everything works ...
0
votes
2answers
30 views

PostGIS Web service call function

I have spatial function in my Postgres/PostGIS DB that when sent a set of coordinates (Long Lat) returns single value. Whilst I'm not a web developer, i'd like to serve the function up as a web ...
1
vote
1answer
38 views

Tomcat 8.0 and GeoServer 2.17 on Windows Server, trouble upgrading JDK to latest version [closed]

I have Windows server running Apache Tomcat 8 and GeoServer 2.17. The JDK installed when setup is older, JDK 1.8.0_73. I've now installed JDK 1.8.0_251. I changed my global env variable JAVA_HOME=C:...
1
vote
1answer
50 views

Limit access to GeoServer to localhost [closed]

In order to secure my datastores, I checked GeoServer authentication filters but I can't use it because I can't expose passwords or usernames in my js files. So decided to limit access to GeoServer to ...
2
votes
0answers
33 views

GeoServer stops working when trying to add vector tile layer

I am trying to add vector tiles in GeoServer, but I am having a hard time accomplishing this. I am using Tomcat and GeoServer version 2.16.1. I have installed the GeoServer extension for vector tiles ...
2
votes
1answer
160 views

GeoServer shows 404 error when CORS filter is added

I am trying to enable the CORS for GeoServer. I am using GeoServer 2.16 and the Tomcat version of 9.0.8. I already tried to add following code in geoserver/WEB-INF/web.xml file, <filter> &...
1
vote
0answers
37 views

How to route requests to GeoServer on Tomcat? [closed]

So I have a Window Server 2012 (IIS 8) that I connect to remotely (on a different network) and log in. Our goal is to be able to publish a web map serving layers from this Windows Server. I am trying ...
0
votes
2answers
107 views

Geonetwork - Editing metadata - ERREUR 400 : Bad Request

I'm using Geonetwork 3.8.2, and I can't edit a metadata. Th request : http://localhost:8080/geonetwork/srv/api/records/3621/editor?&currTab=default&starteditingsession=yes&_random=9472 ...
0
votes
1answer
46 views

GeoServer: Difference between WPS and wps-remote

I want to have a WPS remote service on my GeoServer and I am following this guideline. I cannot follow the guide directly as I am using Ubuntu. But I managed to have my GeoServer up and running on ...
-1
votes
1answer
147 views

Geonetwork startup. Raised exception while starting the application

I'm encountering a problem that prevents the proper startup of Geonetwork Opensource. It always worked up to now but honestly, I don't remember any system change that might have caused that. Linux ...
0
votes
2answers
53 views

GeoServer 2.16: Null object returned for expression: legend.width for setting value: 0 on: StyleInfoImpl[test_osm:rf] [closed]

I don't really understund how and why, but when I tried to save CSS changes on Style page of GeoServer GUI (by Apply or Submit) I saw it: java.lang.IllegalStateException: Cannot access /opt/tomcat/...
3
votes
1answer
93 views

GeoServer, OpenLayers, Tomcat,

Access to XMLHttpRequest at 'http://localhost:8080/geoserver/decuong_doan/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=...
2
votes
1answer
139 views

Deploy GeoServer inside Apache Tomcat in Google Cloud Platform

I am currently working on a little GIS web app. I have deployed Apache Tomcat on Google Cloud Platform and I want to install GeoServer on it. I have downloaded the web archive of GeoServer 2.16 but ...
2
votes
0answers
144 views

Problem with CORS on GeoServer running on Apache Tomcat

I am currently working on a little GIS web app using MapBox on the frontend and GeoServer as my WMS. I have GeoServer 2.15.0 running under Apache Tomcat 9.0.20. Both of them run on localhost but on ...
1
vote
0answers
95 views

GeoServer vector tiles (.pbf) wont display due to CORS issue [duplicate]

I am using Mapbox Gl JS to get mapbox vector tiles (pbf) from GeoServer 2.15, which I am running with Tomcat 8.5 on a Windows Server. The Mapbox GL JS javascript is in a folder in the Tomcat webapps ...
0
votes
0answers
141 views

Tile caching not working

In my GeoServer I want to cache tiles for a layer. But when I am trying to seed tiles for a layer I can see the status as stated the image below. Tiles completed is -1. I am refreshing but it ...
0
votes
0answers
220 views

Tomcat + GeoNetwork: error 404

I tried to install GeoNetwork on a local Tomcat server. I'm using Tomcat 9.0.14 with GeoNetwork version 3.4.4. I use Ubuntu version 18.04 and Firefox as a web browser. Tomcat is up and running. I ...
0
votes
1answer
1k views

CORS ERROR with own WMS GeoServer layers

I am building a weather application. For this I want to use OpenLayers as the base for my application and then I want to be able to add my own made layers from PostGIS with GeoServer to this ...
3
votes
0answers
535 views

Hosting WMS layer using Geoserver, Tomcat, Amazon AWS?

My goal: provide clients with a password protected WMS url so they can access some of our GIS data. Where I'm at so far: OS: windows 8 I have a polygon shapefile created in QGIS I want to share as ...
0
votes
1answer
440 views

Geoserver slow rendering un-cached layers

I have GeoServer connected to a SQL Server datastore. I have a map with 5 Layers, the layers have about 200,000 features total. The features are styled as simple points or lines - not many lines ...
2
votes
1answer
847 views

How to set Tomcat to completely prevent browser from caching my PBF vector tile?

I need to publish a geometry table (in PostGIS) as a layer of vector tiles (in PBF format) in GeoServer. As the table is dynamically written by a production web app, i need to set the layer's caching ...
0
votes
1answer
722 views

Publish WMS with Geoserver and Openlayers from own server

I`m struggling with my Geoserver resp. OpenLayers. Environment: Ubuntu 1804, Tomcat8, Geoserver 2.13.2 I just want to publish vector and raster data from my own server. I can upload the files on my ...
0
votes
1answer
220 views

Missing 'Spec' Parameter using print.pdf on GeoServer Print Module

I have two configurations of Tomcat with the same version of GeoServer and the print module installed as below. The old configuration is Tomcat 8.0.44/GeoServer 2.11.1 The new configuration is ...
0
votes
1answer
208 views

Mod_tile alternative for Tomcat?

I have been running a mod_tile + Mapnik + Renderd + PGSQL solution to host local OSM tiles, as described in the switch2osm guides. I recently put a lot of time in recoding my project to a Tomcat based ...
1
vote
1answer
57 views

Geonetwork 2.10.4: Whitelist www.example.com/geonetwork/monitor/ for load balancer

I want to monitor my Geonetwork 2.10.4 from the load balancer with the URL www.example.com/geonetwork/monitor/healthcheck (slow) or www.example.com/geonetwork/criticalhealthcheck (fast). When I access ...
3
votes
0answers
948 views

Unable to enable CORS in geoserver

I am running a Geoserver2.12 with tomcat7 in a container. I am trying to enable CORS inside the web.xml file of my geoserver installation but whenever I add these lines in the file: <filter> &...
0
votes
1answer
1k views

Geoserver: No Spring WebApplicationInitializer types detected on classpath [closed]

Introduction: We created a GeoServer instance within the Microsoft Azure Cloud on a scalable virtual machine set with an external storage disk mounted to a Linux (Ubuntu 16.04) file system. System ...
1
vote
1answer
642 views

Loading GeoJSON from local server to show by OpenLayers

I've written some code to create a vector layer based on a GeoJSON file located on my computer. I've deployed the tomcat server and put my GeoJSON file in some path like: webapps/OpenLayersAsset/...
1
vote
2answers
2k views

french accents changed to junk characters when saving the SLD in geoserver 2.11.2 [closed]

I have a shapefile with french accent and needs to be published in geoserver 2.11.2. I have my geoserver in tomcat 8.5 and am using Ubuntu 14.04. The french accents are showing fine in get feature ...
2
votes
0answers
23k views

Origin server not finding current representation for target resource when using GeoServer? [closed]

I had installed Java 8, tomcat 8.5.12 and geoserver 2.11.2. When i restarted the tomcat and navigate to localhost:8080/geoserver it is giving me 404 error The origin server did not find a current ...
0
votes
1answer
1k views

Unable to publish a GeoTiff file in GeoServer with curl tool

I have a workspace in GeoServer with many shapefiles and postgis tables. Now I'm writing a script that will publish GeoTiff files in that workspace using curl tool. I'm trying to succeed that in two ...
6
votes
2answers
485 views

Building spatialindex in Postgres with JNDI for GeoNetwork?

Which steps should be taken to build the spatialindex table inside PostgreSQL when using a JNDI connection? Is the table built by GeoNetwork or does it need to be created manually? What I have ...
4
votes
0answers
438 views

Why my Geoserver on JBOSS/RHEL is slower than on Tomcat/Windows?

I have my Geoservers in 2 different environments: Tomcat on Windows and JBOSS on RHEL. I was guessing that JBOSS on RHEL will be faster, but to make sure I made some test plans with JMeter. Both: ...
0
votes
1answer
190 views

Very slow response when requesting shapefile from GeoServer

I face a speed issue related to GeoServer. More specifically in my web application when I click the following URL, it takes several seconds in order for the browser to receive the file. This happen ...
4
votes
0answers
873 views

Running geoserver behind nginx from custom location [closed]

I was required to make GeoServer to be accessible from /beta/geoserver however I always get redirected back to /geoserver which is 404 of course. Here is the current location rule: location /beta/...
1
vote
1answer
818 views

Installing gdal to geoserver running with apache tomcat

I have been following Mastering GeoServer pdf from Colin Henderson to install gdal but didn't succeed. Here is what I did: install Java, I've installed JRE windowsx64 (because my pc is x64) install ...
1
vote
0answers
150 views

Issue while configuring DNS with Portal for ArcGIS

Steps followed:- Portal for ArcGIS 10.4.1 (Linux SUSE) Installation ArcGIS Web Adaptor (Linux SUSE) Installation Configuration of Portal with Web Adaptor (Web adaptor is configured on Apache Tomcat ...
0
votes
1answer
519 views

Difference between GEOSERVER.war and GEOSERVER.exe?

Can someone comment on the performance/usage differences and advantages between deploying GeoServer from a web archive or installing GeoServer with the Windows installer? I currently have GeoServer ...
1
vote
1answer
624 views

Geoserver - change GeoWebCache Directory

can you help me please change caching directory of my geoserver instance? I've tried add to web.xml file in Geoserver\WEB-INF this : <!-- Setting GeoWebCache folder --> <context-param>...
2
votes
1answer
529 views

How to deploy services (WMS and WFS) in port 80 and geoserver admin in diferent port(e.g. 8080)

How can I configure my WMS and WFS to be in different port of my GeoServer admin? The idea is to have a GeoServer admin internal which provides public services. In other words the idea is to ...
1
vote
1answer
370 views

Geoserver - Access is denied to preview style

I am using Geoserver 2.10 and Tomcat 8.5.11. When I want edit style and preview it, geoserver give me following error: File failed to upload: Processing of multipart/form-data request failed. C:\...
2
votes
1answer
1k views

Geoserver - long “busy” state

I've install Geoserver into Tomcat server 8.5, and since I've published new layer from PostGis data source, Geoserver show this message: Server is currently busy. Please wait... How can I stope it ...
2
votes
0answers
316 views

Jar conflicts between tomcat webapp makes geoserver doesn't work

I've been developing a simple app that uses geoserver inside tomcat, I was intending to register data to PostGis using java code and retrieve on Openlayers using geoserver. My webapp use a Postgres (...
3
votes
2answers
908 views

Installing GeoServer

I have edited my post to make it look more clear. I wanted to upgrade GeoServer from v.2.7.1 to v.2.10.1 on Ubunutu 14.4. I deployed v.2.7.1 in Tomcat Web Application Manager. I have downloaded v2.10....
3
votes
2answers
5k views

How to change GeoServer port from 8082 to 80?

How can I change the port GeoServer is running on from 8082 (in OSGeo Live VMs) to 80? There is a related question here in GIS.SE., but the answers were about changing the underlying tomcat port from ...
5
votes
0answers
336 views

Unable to create multi-user system using GeoServer

I am unable to secure my GeoServer installation and grant read and/or write access to different roles. On the most basic level, I would like to have a VIEWER and an EDITOR role that I can apply to ...
3
votes
1answer
8k views

Not able to deploy geoserver.war through apache tomcat

When i try to upload the geoserver.war file through apache tomcat and then deploying by clicking on Deploy .....deployment failed Screenshot