Questions tagged [jetty]

Jetty is a pure Java-based HTTP server and Java Servlet container.

Filter by
Sorted by
Tagged with
0 votes
2 answers
367 views

GeoServer keeps redirecting to /geoserver/

I have geoserver installed on Debian. On top of that I run apache that proxies requests to jetty. ProxyPass /geoserver http://localhost:8080/geoserver ProxyPassReverse /geoserver http://localhost:8080/...
user avatar
  • 101
3 votes
1 answer
93 views

Downloading large attachments from GeoNetwork

I'm not able to download any attachment which is larger than 1GB, I'm getting the following error <apiError> <code>runtime_exception</code> <description>Handler dispatch failed;...
user avatar
2 votes
1 answer
1k views

GeoServer behind a reverse proxy with CORS problems using buttons

I've set up a simple GeoServer on a Ubuntu server, behind an NGINX reverse proxy. The proxy is at map.mydomain.com and passes incoming port 80 requests on a subdomain to another internal port. I can ...
user avatar
1 vote
1 answer
153 views

Move GeoServer folder inside Jetty webapps to Tomcat webapps folder

Can I move the GeoServer folder app directory to the Tomcat webapps directory to migrate it to Tomcat? I do not want to update GeoServer version or do any configuration change, only migrate it to ...
user avatar
  • 13
0 votes
1 answer
35 views

It is possible to enable CORS in an old Windows GeoServer version (2.6.1) using Jetty 6.1.8?

Of course I found some info about how I have to do this. But I cannot find the jetty-servlet package matching this old version.
user avatar
  • 13
1 vote
0 answers
367 views

Windows Server 2019 + Apache 2.4 + GeoServer 2.15.1 (HTTPS) [closed]

I have a server with Apache 2.4 on Windows server 2019. I´ve configured Apache to run as HTTPS with corresponding certificate. I've installed GeoServer 2.15.1 for Windows that use Jetty how server. ...
user avatar
  • 11
3 votes
1 answer
2k views

Enabling CORS in GeoServer 2.15.1 (jetty 9.4.12)? - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet

I am creating a leaflet app. For this I have to use a Geoserver. I found that CORS was not enabled, because I get this error message: Reason: CORS header 'Access-Control-Allow-Origin' missing: https:...
user avatar
  • 555
1 vote
0 answers
203 views

Configure GeoNetwork to work with Jetty [closed]

I am trying to get GeoNetwork to work on my Windows Server 2016 machine, I installed geonetwork 2.10.4. but when I open http://localhost:8080/geonetwork/ 404 page not found error has shown. On my ...
user avatar
1 vote
2 answers
2k views

Setting GeoServer data directory location?

I want to run GeoServer 2.14 with Jetty on a Ubuntu 18.04. I copied the war-file in the webapps folder and GeoServer is responding. Unfortunately I can not set the data directory location as ...
user avatar
  • 135
2 votes
2 answers
3k views

Geoserver WMS - CORS enabled in web.xml - still error

I have tried both geoserver 2.12.5 and 2.13.2 with CORS enabled and on both i get an "Invalid CORS request" when accessing WMS from an external webapp. steps : install geoserver, port 8095, i ...
user avatar
  • 41
2 votes
1 answer
1k views

Geoserver won't start after setting up CORS (no jetty installed?)

I tried to enable CORS by uncommenting the necessary lines in the web.xml file of geoserver. However, I didn't know that I also had to make sure having the correct jetty servlets jar file in my WEB-...
user avatar
  • 1,160
0 votes
0 answers
330 views

Jetty Version for GeoServer 2.13.0 [duplicate]

GeoServer 2.13.0 is running on our server and I want to add some CORS headers to it. Which version of Jetty does it use so that I can install the correct jetty-serverlet JAR? Found: http://osgeo-org....
user avatar
1 vote
0 answers
696 views

Enabling CORS in GeoServer propulsed by docker:jetty [closed]

I am trying to enable CORS in a docker/jetty context for Geoserver. I modified the geoserver Dockefile as follows : First i used a very simple regexp to insert in /usr/local/jetty/etc/webdefault.xml ...
user avatar
3 votes
1 answer
344 views

Change GeoServer's Home Directory with Jetty

The title says it all. I would like to have GeoServer running on another path other than http://root_path:8080/geoserver/web. I would like it to be http://root_path:8080/sub_path/geoserver/web. The ...
user avatar
  • 41
2 votes
0 answers
3k views

Enable CORS in Geoserver not working [duplicate]

I installed GeoServer 2.12.1 on windows 8.1 x64 and I am trying to design a custom "login" form using AngularJS5 with Node.js, but when I make a request to geoserver it rejected by CORS, and get the ...
user avatar
  • 422
2 votes
1 answer
805 views

What jetty version the geoserver 2.12.1 has?

An older version of Geoserver (2.1.3) had Jetty, v.6. The problem is that Jetty 6,7 and 8 are End Of Life (here and here). Do you know what jetty version the Geoserver 2.12.1 has ? Is it a new, ...
user avatar
  • 1,099
1 vote
1 answer
1k views

Get an XML response with a Java HTTP POST request on GeoNetwork

I try to complete automatically my GeoNetwork catalog with a Java client. My metadata respect the ISO 19115 schema and the interactions are performed trough CSW. To insert metadata, I send HTTP POST ...
user avatar
0 votes
0 answers
497 views

How would I configure a geoserver store using jTDS?

I'm trying to create a GeoServer docker container, which accesses a SQL Server database, and would prefer to use the jTDS driver over the Microsoft one--besides the fact that it's supposed to be ...
user avatar
  • 153
0 votes
1 answer
469 views

OpenGeo Suite 4.8 - service unavailable after enable CORS edits and restart (Jetty) [closed]

I have Open Geo Suite 4.8 installed on a server. I tried to enable CORS by following the guide given here. I have the jetty-servlets file in the directory given in the Boundless instructions. After ...
user avatar
  • 580
6 votes
1 answer
13k views

Access-Control-Allow-Origin Openlayers WFS

I try to use a WFS service with OpenStreetMap to request GeoServer GeoJSON file. First I had a error message on the Firefox Cross-Origin Request Blocked: The Same Origin Policy disallows reading the ...
user avatar
29 votes
5 answers
34k views

Enabling CORS in GeoServer (jetty)?

I hope somebody has already figured this one out. I just installed Geoserver 2.9 on a vanilla Ubuntu 16.04 distro. The Geoserver 2.8 method of enabling CORS with the shanbe.hezoun class does no longer ...
user avatar
1 vote
1 answer
1k views

How to set up geoserver with lattest jetty version ? Problem with geoserver web archive version

Context : I was first using geoserver as a standalone (platform independent binary) version on Ubuntu. Almost everything is fine. But the jetty version it is built on is really old (6.8.1) and ...
user avatar
  • 6,748
5 votes
2 answers
15k views

Cannot access GeoServer on http://localhost:8080/geoserver/web

I have a fresh installation of GeoServer 2.8.0 on Windows 7. I installed GeoSever several times before, and usually, I can access it after installation simply in the browser via http://localhost:8080/...
user avatar
  • 1,121
4 votes
1 answer
8k views

How to Change Port no. of GeoServer Running as Service

I installed my geoServer as a service on port 8080. However, I need to use this port for some other service and have been trying to move it to port 7000 instead but I can't find a way to change the ...
user avatar
1 vote
0 answers
238 views

Gisgraphy importer crashing, possibly due to JDBC connections problem. Is there a fix? [closed]

I've been trying to install gisgraphy for the past few days. The setup has went well, but the software crashes while importing data. I'm only importing data for a single country so it's not overly ...
user avatar
  • 11
2 votes
2 answers
2k views

what version of jetty the geoserver runs?

In order to set CORS correctly in Geoserver, I have to download some jar files and then edit the web.xml file. I have a really old version of Geoserver(2.1.3) that runs Jetty 6.8.1 and there are no ...
user avatar
  • 1,099
0 votes
1 answer
123 views

OpenGeo - deploying a web app

When executing: suite-sdk deploy procedure I keep getting the following errors: Checking provided application path. Building application resources for 'C:\xxx\xxx\Sites\mySite'. Aug 04, 2015 1:08:45 ...
user avatar
6 votes
2 answers
1k views

Installing GeoServer on https in IIS7?

I'm on IIS 7, running GeoServer I cannot get GeoServer to work on https and looking for any insight on how to get this to work: Our website and GeoServer are on same domain https://mymapapp.com ...
user avatar
  • 59
2 votes
1 answer
1k views

OpenLayers not displaying map from WMS layer in GeoServer

I've adapted the working example from geo-solutions website but still it is not working, it seems the problem is with jetty. below is the previous question I'm using Geoserver with jetty web server, ...
user avatar
  • 183
1 vote
2 answers
935 views

Which is the correct version of jetty-servlets.jar for GeoServer 2.6-RC1

I am trying to determine the correct version of jetty-servlets to install. I have installed GeoServer 2.6-RC1. Now I need to install jetty-servlets.jar to enable CORS as mentioned here: http://...
user avatar
2 votes
2 answers
3k views

Boundless Opengeo Suite: Geoserver fails to launch due to Java heap size

When I go to start Boundless OpenGeo Suite 3.1 from the OpenGeo Suite Dashboard, Geoserver will launch if I point it to the default geoserver data_dir, but when I point it to mine, which I have used ...
user avatar
8 votes
0 answers
2k views

Is Tomcat or Jetty a better container for Geoserver on Windows [closed]

My Understanding is that Geoserver can be run in the default Jetty Environment or in Tomcat on Windows Server 2008 R2 GeoWebCache uses Tomcat as its container in its installation instructions. Which ...
user avatar
  • 3,804
3 votes
3 answers
2k views

Geoserver, PostGIS and Postgres setup better on which web server?

Is it better to have Jetty or Apache as a Webserver for GIS stack?
user avatar
  • 133
2 votes
1 answer
5k views

How to add Cross Origin Filter for Jetty in GeoServer on Mac

I want to add an Access-Control-Allow-Origin:* to the response from GeoServer because I need to download images from another domain. Instand of build a proxy, I prefer to use Cross Origin Filter of ...
user avatar
  • 21
2 votes
1 answer
3k views

How do I configure JVM to run in server mode when using Geoserver as a Windows service?

I have been reading this article about putting Geoserver into a production environment. Section "4.1 Java Virtual Machine" is confusing me a bit. This section mentions that in a production ...
user avatar
  • 2,999