[GeoNode-users] Cannot upload layers

Stefano.LUONI at ext.ec.europa.eu Stefano.LUONI at ext.ec.europa.eu
Mon Dec 18 00:50:44 PST 2017


Hi Alessio,

yes, the GeoServer WAR file came with the development installation (paver setup); I then moved the WAR file into Tomcat directory, in order to replace Jetty with Tomcat as container for GeoServer. I'm already using the Geonode authentication on GeoServer, though.

________________________________
From: Alessio Fabiani [alessio.fabiani at geo-solutions.it]
Sent: 13 December 2017 18:16
To: LUONI Stefano (JRC-ISPRA-EXT)
Cc: geonode-users
Subject: Re: [GeoNode-users] Cannot upload layers

Are you using one of the GeoServer WARs and DataDir prepared for GeoNode?

http://build.geonode.org/geoserver/latest/


Regards,

Alessio Fabiani

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

On Wed, Dec 13, 2017 at 6:04 PM, <Stefano.LUONI at ext.ec.europa.eu<mailto:Stefano.LUONI at ext.ec.europa.eu>> wrote:
Hi,

I'm facing this issue: whenever I try to upload a layer (both shape file or raster), I receive a 403 error (Access is denied) from Tomcat.



Error code (403) from GeoServer:

HTTP Status 403 - Access is denied

type Status report

message Access is denied

description Access to the specified resource has been forbidden.

________________________________
Apache Tomcat/8.0.32 (Ubuntu)


I'm working on a custom installation of Geonode v.2.7.4 on Ubuntu 16.04. I replaced Jetty with Tomcat8 as container for Geoserver, which is 2.10-SNAPSHOT.


In Geoserver logs, I can find these errors:


ERROR [org.geoserver.rest] - No such coverage store: geonode,geonode_data

ERROR [org.geoserver.rest] -
org.geoserver.rest.RestletException

ERROR [org.geoserver.rest] - No such wms store: geonode,geonode_data

ERROR [org.geoserver.rest] -
org.geoserver.rest.RestletException


>From Apache logs, I see that there is an exception thrown by


my_venv/local/lib/python2.7/site-packages/geoserver/catalog.py", line 249, in save

(headers['status'], body))

FailedRequestError: Error code (403) from GeoServer


Postgre sql is working correctly and I already configured and enabled a "datastore" PostGIS store in Geoserver.


I followed all instructions about custom installation of Geonode (http://docs.geonode.org/en/master/tutorials/admin/install/custom_install.html) and advanced security (http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/).


I checked that files exist in the "uploaded" directory under Geonode folder.


I don't know what to do further to debug this issue.


Can you help me?


Thank you very much,


Stefano

_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20171218/a23e713f/attachment.html>


More information about the geonode-users mailing list