<div dir="ltr">Ok, consider that the communication between geoserver and geonode is "internal" so if geonode and geoserver are on the same server and geonode responds to the root of the server address "/" the localhost is fine because for geoserver geonode is on localhost. But if your server address is <i><a href="http://mysite.it">mysite.it</a></i> and geonode responds to <i>mygeonode.mysite.</i>it then the change you have done is fine.<div><br></div><div>To apply the fixes you have to restart tomcat though as apache only deals with the geonode code.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-23 10:20 GMT+01:00 Francesco Marigliano <span dir="ltr"><<a href="mailto:f.marigliano.it@ieee.org" target="_blank">f.marigliano.it@ieee.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Just changed baseUrl from<i> <a href="http://localhost/" target="_blank">http://localhost/</a></i> to <i><a href="http://mygeonode.mysite.it" target="_blank">http://mygeonode.mysite.it</a>,
</i>after apache<i> </i>restart never seems to change <br><div><div class="h5">
<br>
<div>Il 23/11/2015 10:16, Simone Dalmasso ha
scritto:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Ops sorry, I gave you wrong information :)
<div>the file is
data/security/auth/geonodeAuthProvider/config.xml</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-11-23 10:12 GMT+01:00 Francesco
Marigliano <span dir="ltr"><<a href="mailto:f.marigliano.it@ieee.org" target="_blank">f.marigliano.it@ieee.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <br>
<div>Il 23/11/2015 10:04, Simone Dalmasso ha scritto:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Francesco, seems a communication issue
between geoserver and geonode. Can you take a look at
the geoserver logs?</div>
</blockquote>
<br>
Here you are<br>
<br>
<small><small><font face="Courier New, Courier, monospace">at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)<br>
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)<br>
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)<br>
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
at java.lang.Thread.run(Thread.java:745)<br>
Caused by: java.io.IOException: HTTPClient::sendGET:
GeoNode communication failed, status report is: 404,
Not Found, <a href="http://localhost/layers/acls" target="_blank">http://localhost/layers/acls</a><br>
at
org.geonode.security.HTTPClient.sendGET(HTTPClient.java:95)<br>
at
org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:185)<br>
at
org.geonode.security.DefaultSecurityClient.authenticateCookie(DefaultSecurityClient.java:116)<br>
at
org.geonode.security.GeoNodeAuthenticationProvider.authenticate(GeoNodeAuthenticationProvider.java:66)</font></small></small><br>
<blockquote type="cite">
<div dir="ltr"> in case chack that /he WEB-INF/web.xml
file of geoserver points to the correct geonode
address.</div>
</blockquote>
<br>
Did you mean "PROXY_BASE_URL" field?<br>
<br>
<br>
<blockquote type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-11-23 9:48 GMT+01:00
Francesco Marigliano <span dir="ltr"><<a href="mailto:f.marigliano.it@ieee.org" target="_blank"></a><a href="mailto:f.marigliano.it@ieee.org" target="_blank">f.marigliano.it@ieee.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi all,<br>
<br>
I recently updated GeoNode to <em>2.4c4, </em>after
that if I'm not logged into GeoServer I can't
see any layer in GeoExplorer.<br>
<br>
Just checked <i>local_settings.py </i>it seems
to be everything ok.<br>
<br>
<br>
<hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td style="border:none;padding:0px 15px 0px 8px"> <a href="https://www.avast.com/antivirus" target="_blank"> <img src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" border="0"> </a> </td>
<td>
<p style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
Questa e-mail è stata controllata per
individuare virus con Avast antivirus.
<br>
<a href="https://www.avast.com/antivirus" target="_blank">www.avast.com</a> </p>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<br>
_______________________________________________<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="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>Simone </div>
</div>
</blockquote>
<br>
<br>
<br>
<hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td style="border:none;padding:0px 15px 0px 8px"> <a href="https://www.avast.com/antivirus" target="_blank"> <img src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" border="0"> </a> </td>
<td>
<p style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
Questa e-mail è stata controllata per
individuare virus con Avast antivirus. <br>
<a href="https://www.avast.com/antivirus" target="_blank">www.avast.com</a> </p>
</td>
</tr>
</tbody>
</table>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>Simone </div>
</div>
</blockquote>
<br>
<br><br>
<hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tbody><tr>
<td style="border:none;padding:0px 15px 0px 8px">
<a href="https://www.avast.com/antivirus" target="_blank">
<img border="0" src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo">
</a>
</td>
<td>
<p style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
<br><a href="https://www.avast.com/antivirus" target="_blank">www.avast.com</a>
</p>
</td>
</tr>
</tbody></table>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>