<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Alessio,<br>
<br>
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.<br>
<div><br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF559442" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Alessio Fabiani [alessio.fabiani@geo-solutions.it]<br>
<b>Sent:</b> 13 December 2017 18:16<br>
<b>To:</b> LUONI Stefano (JRC-ISPRA-EXT)<br>
<b>Cc:</b> geonode-users<br>
<b>Subject:</b> Re: [GeoNode-users] Cannot upload layers<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Are you using one of the GeoServer WARs and DataDir prepared for GeoNode?
<div><br>
</div>
<div><a href="http://build.geonode.org/geoserver/latest/" target="_blank">http://build.geonode.org/geoserver/latest/</a><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12.8px"><span>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Regards,</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoServer Professional Services from the experts! Visit
<a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Ing. Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Founder/Technical Lead</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">55054  Massarosa (LU)</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Italy</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">fax:     +39 0584 1660272</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">mob:   +39 331 6233686</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">-------------------------------------------------------</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">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.</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"></span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">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.</span></p>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Wed, Dec 13, 2017 at 6:04 PM, <span dir="ltr"><<a href="mailto:Stefano.LUONI@ext.ec.europa.eu" target="_blank">Stefano.LUONI@ext.ec.europa.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt"><font size="1"><font size="2" face="Arial">Hi,<br>
<br>
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.
<br>
<br>
</font></font><br>
<p style="margin:0px; font-family:Tahoma,Arial,sans-serif; background:white; color:black; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
Error code (403) from GeoServer:</p>
<h1 style="margin:22px 0px 11px; font-family:Tahoma,Arial,sans-serif; font-weight:700; line-height:1.1; color:white; font-size:22px; background-color:rgb(82,93,118); font-style:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
HTTP Status 403 - Access is denied</h1>
<p style="margin:0px; font-family:Tahoma,Arial,sans-serif; background:white; color:black; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<b style="font-weight:bold; font-family:Tahoma,Arial,sans-serif; color:white; background-color:rgb(82,93,118)">type</b><span> </span>Status report</p>
<p style="margin:5px 0px 0px; font-family:Tahoma,Arial,sans-serif; background:white; color:black; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<b style="font-weight:bold; font-family:Tahoma,Arial,sans-serif; color:white; background-color:rgb(82,93,118)">message</b><span> </span><u style="">Access is denied</u></p>
<p style="margin:5px 0px 0px; font-family:Tahoma,Arial,sans-serif; background:white; color:black; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<b style="font-weight:bold; font-family:Tahoma,Arial,sans-serif; color:white; background-color:rgb(82,93,118)">description</b><span> </span><u style="">Access to the specified resource has been forbidden.</u></p>
<hr class="m_-6994706580127949956line" style="height:1px; margin-top:22px; margin-bottom:22px; border-width:initial; border-style:none; border-right-color:initial; border-bottom-color:initial; border-left-color:initial; border-top-color:rgb(247,225,181); background-color:rgb(82,93,118); color:rgb(138,109,59); font-family:Tahoma,Arial,sans-serif; font-size:14px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<h3 style="font-family:Tahoma,Arial,sans-serif; font-weight:700; line-height:1.1; color:white; margin-top:22px; margin-bottom:11px; font-size:14px; background-color:rgb(82,93,118); font-style:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
Apache Tomcat/8.0.32 (Ubuntu)</h3>
<p><br>
</p>
<p>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.</p>
<p><br>
</p>
<p>In Geoserver logs, I can find these errors:</p>
<p><br>
</p>
<p>ERROR [org.geoserver.rest] - No such coverage store: geonode,geonode_data<br>
</p>
<p>ERROR [org.geoserver.rest] - <br>
org.geoserver.rest.<wbr>RestletException</p>
<p>ERROR [org.geoserver.rest] - No such wms store: geonode,geonode_data</p>
<p>ERROR [org.geoserver.rest] - <br>
org.geoserver.rest.<wbr>RestletException</p>
<p><br>
</p>
<p>From Apache logs, I see that there is an exception thrown by <br>
</p>
<p><br>
</p>
<p>my_venv/local/lib/python2.7/<wbr>site-packages/geoserver/<wbr>catalog.py", line 249, in save</p>
<p>(headers['status'], body))</p>
<p>FailedRequestError: Error code (403) from GeoServer<br>
</p>
<p><br>
</p>
<p>Postgre sql is working correctly and I already configured and enabled a "datastore" PostGIS store in Geoserver.</p>
<p><br>
</p>
<p>I followed all instructions about custom installation of Geonode (<a href="http://docs.geonode.org/en/master/tutorials/admin/install/custom_install.html" target="_blank">http://docs.geonode.org/en/<wbr>master/tutorials/admin/<wbr>install/custom_install.html</a>)
 and advanced security (<a href="http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/" target="_blank">http://docs.geonode.org/en/<wbr>master/tutorials/admin/<wbr>geoserver_geonode_security/</a>).</p>
<p><br>
</p>
<p>I checked that files exist in the "uploaded" directory under Geonode folder.</p>
<p><br>
</p>
<p>I don't know what to do further to debug this issue.</p>
<p><br>
</p>
<p>Can you help me?</p>
<p><br>
</p>
<p>Thank you very much,</p>
<p><br>
</p>
<p>Stefano<br>
</p>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>