Questions tagged [jetty]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

How can I put the jetty-servlets.jar file onto the CLASSPATH [duplicate]

I want to implement popup for WMS layer in Leaflet but I encountered a 'Access-Control-Allow-Origin' problem so I searched in the Internet I found that I have to add this to web.xml : <web-app> ...
0
votes
2answers
206 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 ...
1
vote
2answers
600 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 ...
1
vote
1answer
324 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-...
0
votes
0answers
236 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....
1
vote
0answers
352 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 ...
2
votes
1answer
213 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 ...
2
votes
0answers
1k 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 ...
2
votes
1answer
598 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, ...
1
vote
1answer
997 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 ...
0
votes
0answers
245 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 ...
0
votes
1answer
411 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 ...
5
votes
1answer
7k 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 ...
15
votes
5answers
15k 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 ...
1
vote
1answer
786 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 ...
4
votes
2answers
9k 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/...
4
votes
1answer
7k 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 ...
1
vote
0answers
198 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 ...
2
votes
2answers
1k 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 ...
0
votes
1answer
117 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 ...
5
votes
1answer
790 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 ...
2
votes
1answer
862 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, ...
0
votes
2answers
746 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://...
0
votes
2answers
2k 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 ...
8
votes
0answers
1k 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 ...
3
votes
3answers
1k 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?
2
votes
1answer
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 ...
2
votes
1answer
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 ...