You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jair Santos <js...@gmail.com> on 2015/10/22 00:19:22 UTC

Tomcat returning error 404 for any file but index.html

Hello everyone,

 

Environment: Windows server 2012, Tomcat 8.0, Geoserver 2.8.0.

 

I deployed Geoserver into Tomcat.

 

Tomcat can serve the index.html file located in C:\Program Files\Apache
Software Foundation\Tomcat 8.0\webapps\geoserver, but it cannot serve any
other file (see log below). I know there are a list of welcome files in
web.xml such as

 

welcome-file-list>

                                <welcome-file>index.html</welcome-file>

                </welcome-file-list>.

 

Even including for example the index_backup.html in the welcome-file-list it
returns 404 - The requested resource is not available.

 

I've checked the permissions of the geoserver folder and the files inside
it. They seems to be okay.

 

Any help will be very much appreciated.

 

Thank you.

 

JJ.

 

 

192.168.1.1 - - [20/Oct/2015:16:57:31 -0700] "GET
/geoserver/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&T
RANSPARENT=true&LAYERS=bmid-pipes&WIDTH=256&HEIGHT=256&CRS=EPSG%3A3857&STYLE
S=&BBOX=-13315941.823503986%2C6437832.270290684%2C-13306157.883883484%2C6447
616.209911186 HTTP/1.1" 200 1796

192.168.1.1 - - [20/Oct/2015:17:12:04 -0700] "GET /geoserver/index_backup
HTTP/1.1" 404 992