简体   繁体   中英

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:

在此处输入图片说明

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:

在此处输入图片说明

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM