Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tomcat]

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

1
vote
0answers
19 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
28 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
78 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
385 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
216 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
160 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
266 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
319 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
95 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
112 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
40 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 ...
1
vote
0answers
643 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
709 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
436 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
1k 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
22k 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
2answers
648 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
374 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
341 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
144 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 ...
1
vote
0answers
680 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
595 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
129 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
394 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
394 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
317 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
240 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:\...
1
vote
1answer
816 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 ...
1
vote
0answers
259 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
686 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
4k 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
273 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 ...
2
votes
1answer
6k 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
2
votes
0answers
363 views

Error when downloading raster from GeoServer -All factories fail for the operation “Scale”

Im trying to download raster image from geoserver using wms and sending request to url like this: 192.168.4.162:8080/geoserver/fiware/wms?service=WMS&version=1.1.0&request=GetMap&layers=...
1
vote
2answers
8k views

The connection was reset deploying geoserver.war in ubuntu

I have installed Tomcat 7 in Ubuntu and when I try to deploy geoserver.war I receive the error "The connection was reset" in Firefox and "402 Access Denied" in Chromium. How do I deploy geoserver.war?...
1
vote
1answer
598 views

GeoServer - layer is read only (it already has a primary key)

I created a simple table in my Postgres\PostGIS DB. I then created the GeoServer layer with the SQL: select * from tablename I'm trying a WFS Transaction, like I usually do (and it works on similar ...
-1
votes
1answer
603 views

Enabling CORS filter in Tomcat 7

I am trying to access a WMS layer from GeoServer installed locally and adding to my Cesium JavaScript application. WMS layer was not being added. I just found from search that it may be due to CORS ...
3
votes
1answer
723 views

GeoWebCache and Load Balancing

We have a setup that contains 4 geoserver instances being hosted in JBoss across 2 machines. We also have a load balancer machine which contains an Apache Server and a Tomcat Server. Our environment ...
3
votes
1answer
176 views

Need WFS-T for field work on GeoServer/PostGIS

I'm using a Boundless install of OpenGeo Suite on Ubuntu Server 12.04 with Tomcat 7. I need to allow remote access to update from the field. I can edit features fine on network, but not remotely. *...
2
votes
1answer
335 views

Geoserver Mapfish printing

I am using mapfish module to print my map to pdf. It works well for two layers but if I add another layer there is no response from geoserver. Neither there is any error in geoserver log no in apache.
1
vote
1answer
271 views

OpenGeo Suite installed on Ubuntu 14.04, unable to proceed/delete issues with dependencies

I have installed the OpenGeo Suite on my "Trusty Tahr". I am able to access my Tomcat server as well as Geoserver on http://localhost. The issue I'm dealing with currently stems from ...
2
votes
1answer
2k views

Optimizing JVM for Geoserver running in Tomcat in Windows environment

I keep reading that I should set the JVM parameters for Catalina in my Catalina.sh file. I am running Tomcat 8 as a Windows service. There is no Catalina.sh file. I tried adding JVM optimizations ...
2
votes
1answer
894 views

Geoserver Services not available after restart

After editing my security settings (data & service security + creating users) my geoserver crashed and I restarted the server. Now the layers from any workspace cannot be loaded (using my OL3 ...
1
vote
1answer
274 views

Externalize geonetwork configuration

I am running geonetwork 3.0 on tomcat. I want to put all configuration files to an external directory that is not affected by geonetwork undeploys or upgrades. I started with this description but the ...
1
vote
1answer
485 views

Geonetwork startup error: bootstrap.less wasn't found

I am running geonetwork 3.0 on ubuntu 14.04. Since I restarted my tomcat the last time I get the weird error when calling geonetwork: FileError: 'geonetwork/catalog/lib/style/bootstrap-3.0.1/...
2
votes
2answers
358 views

Geoserver and tomcat8 conflict of port numbers on cent os

I have installed geoserver binary and tomcat8 in /opt on centos 6.6. My problem is, I can run geoserver only when I stop the tomcat service. How do I resolve the issue and start both on booting the ...
1
vote
1answer
653 views

PermGenSpace error in Tomcat with geonetwork 3.0

I'm running a geonetwork 3.0.1 instance on tomcat7. Regularly, i.e. every few actions of my only user, my tomcat runs into a PermGenSpace error. This especially occurs during harvesting of other ...
1
vote
1answer
430 views

cannot get layers to display in webapp on localhost - geoserver in jetty, app in tomcat

I’m in the middle of a prototype migration/deployment and have really hit a wall serving up my layers from geoserver. I’ve geoserver running from the “stand-alone” version running in jetty on one ...
1
vote
1answer
2k views

Configure GeoNetwork with postgreSQL

For testing purposes, I deployed geonetwork 3.0.1 on tomcat7 and ubuntu 14.04 with default configuration, especially h2 database. Now I wanted to switch to postgres and followed the instructions ...
5
votes
2answers
3k views

Geoserver : FAIL context path doesn't start

I've been manipulating Geoserver for some time without any problem. Today,when I start Apache Tomcat , Geoserver doesn't start. I get this error message : " FAIL - Application at context path /...