Max von Hippel
Max von Hippel

Reputation: 2970

JETTY Server Error:404 on Ubuntu, Geoserver

I am attempting to run (Jetty) Geoserver 2.1 on Ubuntu 16.04 using Open JDK 8 on a machine which also contains Apache, MYSQL, and GDAL. I followed the instructions from a nice denizen of the internet named Jeff.

Upon completion of his instructions, I run the following command in GUAKE Shell to start up Geoserver:

sudo /etc/init.d/geoserver start

I then (without quitting the terminal) open Firefox and type in the following URL:

http://localhost:8080

Firefox shows the following 404 error:

enter image description here

I also attempted appending /geoserver and /geoserver/web to the URL, which changed my error from 404 to 503 (making progress!).

I get the same error(s) when I use the built-in Ubuntu shell instead of GUAKE. I have, per answers on similar questions, confirmed that geoserver is indeed running on 8080 (and that nothing else is). I have attempted using Tomcat7, and while I was able to get a successful 8080 page with Tomcat7, it was not the geoserver page - and the geoserver urls (/geoserver and /geoserver/web) still did not work.

EDIT: Here is the geoserver.log:

enter image description here

Upvotes: 0

Views: 1460

Answers (1)

GeoJim
GeoJim

Reputation: 1355

Those directions have two issues which may cause some trouble: First, they are out-of-date, and second, they are installing a number of additional plugins. From the screencap, the error at the bottom could be related to the ogr plugin.

I'd recommend checking out the GeoServer documentation for using Jetty on Linux; it will have you download the latest version of Geoserver here.

The directions you mentioned might help with setting up Jetty as a service, etc. The GeoServer documentation should help get GeoServer up and running; if you have other questions about plugins, we can go from there.

Upvotes: 2

Related Questions