The request that GeoServer is trying to make should be to http://localhost/data/acls . If you try a manual request to that URL, does the response contain valid JSON?
You can also check the Apache error log for a python stack trace, that would probably be useful in diagnosing the issue. -- David Winslow OpenGeo - http://opengeo.org/ On Wed, Feb 15, 2012 at 5:58 PM, [email protected] <[email protected]> wrote: > Thanks Joe but it doesn't work for me, I had already correct the web.xml. > > The error is different (in your case "404 Not Found", in my case "500 > Internal Server Error") > > Not only if I try to connect to geoserver (v. http://localhost/geoserver) > , also if I try to login to geonode. > > This is the error stack: > > javax.servlet.ServletException: Error connecting to GeoNode authentication > server: GeoNode communication failed, status report is: 500, INTERNAL SERVER > ERROR > > org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:87) > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) > > org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) > > org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) > > org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) > > org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185) > > org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) > org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71) > > org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) > org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) > > *root cause* > > java.io.IOException: GeoNode communication failed, status report is: 500, > INTERNAL SERVER ERROR > org.geonode.security.HTTPClient.sendGET(HTTPClient.java:72) > > org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:153) > > org.geonode.security.DefaultSecurityClient.authenticateAnonymous(DefaultSecurityClient.java:136) > > org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:75) > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) > > org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) > > org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) > > org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) > > org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185) > > org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) > org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71) > > org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) > org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) > > > Thanks, Thomas > > > Il 15/02/2012 15.58, Joe Larson ha scritto: > > Thomas, > > I wonder if you and I had a similar situation > http://librelist.com/browser//geonode/2012/2/7/failed-get-request-workspaces-xml-catalog-py/ > ? > > Try this, as Ariel helped me get over the issue: > > All those problems are caused by GeoServer not being properly configured. > > The way to debug is keep hitting: http://yourgeonode.com/geoserver > until it gives you the UI. > > What I found to be missing after the upgrade were two things: > > #1. GEOSERVER_DATA_DIR set to /var/lib/geoserver/geonode-data in > /var/lib/tomcat6/webapps/geoserver/WEB-INF/web.xml > #2. GEONODE_BASE_URL set t o http://localhost/ or http://mygeonode.com/ > in /var/lib/tomcat6/webapps/geoserver/WEB-INF/web.xml > > Without GeoServer properly configured, no other part of GeoNode will > work correctly. > > Let me know if that helps, > Ariel. > > > Best, Joe. > > On Feb 15, 2012, at 12:43 AM, [email protected] wrote: > > I upgrade my ubuntu 10.04 installation of geonode to version 1.1 with > the Installer for Ubuntu (thanks Ariel...) > During the installation, the upgrade overwrite my modified web.xml file > (in /etc/geonode/geoserver/) > After a reboot I get this error when I try to load a map: > "javax.servlet.ServletException: Error connecting to GeoNode > authentication server: Connection refused" > > I searched in the list and fo und this: > > http://librelist.com/browser//geonode/2011/5/22/problem-in-deploying-geonode-on-ubuntu/ > > I modified web.xml file (as described here: > > http://readthedocs.org/docs/geonode/en/1.0/deploy/ubuntu.html#deploying-geoserver) > > but it doesn't work (same error message). > > If I try to connect to http://localhost:8080/geoserver or > http://localhost/geoserver I get the same error. > > Any idea how to solve the problem? > > Thanks Thomas > > >
