Im having problems installing cartaro. Entering all the correct details and using the same user/pwd for Drupal login as for Geoserver. Ive setup Drupal sec Geoserver thing.

On installation page http://localhost/cartaro-7.0.1/install.php?profile=cartaro&locale=en

I see error: Could not create GeoServer workspace: %Access to http://localhost:8081/geoserver/rest/workspaces.json returned HTTP status code 404.

When i try to access http://localhost:8081/geoserver/rest/workspaces.json from browser I get login request (use Geoserver/Drupal login) and I see:

HTTP Status 404 -
type Status report
message
description The requested resource () is not available.
Apache Tomcat/7.0.26

Web browser access via web admin lists workspaces: http://localhost:8081/geoserver/web/?wicket:bookmarkablePage=:org.geoser....

Is this a problem with service permissions? Any other ideas? Can I generate and send you any relevant config data?

Comments

friedjoff’s picture

Hi,

looks like GeoServer authentication isn't configured quite right. I guess you already followed all steps documented in Using Drupal users and roles in GeoServer?

Can you access the REST API using the GeoServer admin user? Otherwise try using the GeoServer admin credentials and "Installation shares GeoServer with other Drupal instances" unchecked.

Syntapse’s picture

I will look into this. Does geoserver have an xml config file or similar report i can send you? if not that would be a feature request...

augustus.kling’s picture

Thanks for your help in this matter Laurence. The relevant file is in geoserver/data/security/auth/CUSTOM/config.xml in your servlet container's web applications directory where CUSTOM is the name you've set for the configuration. Please ensure the file does not contain credentials for publicly accessible servers before attaching.

Syntapse’s picture


7c8789fe:13d17a812ce:-8000
drupal_auth_provider
org.cartaro.geoserver.security.drupal.DrupalAuthenticationProvider$
localhost
5432
false
cartaro-7.0.1
root
admin

I accepted default port for this...

augustus.kling’s picture

Status: Active » Postponed (maintainer needs more info)

With Beta 7 the integration with GeoServer has been improved. Please remove the old JAR in WEB-INF/lib and place the new JAR therein. Then restart GeoServer and try again – there is no need to redo the GeoServer configuration. We've targeted GeoServer 2.2.5 and strongly recommend to use this version, too.

If this should not work, I'm asking you to switch GeoServer to verbose logging and attach a log that contains a GeoServer start followed by a try to install Cartaro. Make sure to strip the log of passwords or other confidential data and please attach the log as a file to prevent this issue tracker from messing with it.

Syntapse’s picture

wish to let you know I have not abandoned testing gs. will revisit once setup ecommerce site... regards.

Anonymous’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)