[Geoserver-devel] [jira] (GEOS-5525) Error Saving Application Schema Sample Store Provided in Tutorial

Amir Nasr created BugGEOS-5525
Error Saving Application Schema Sample Store Provided in Tutorial

Issue Type:

BugBug

Affects Versions:

2.2.2

Assignee:

Rini Angreani

Attachments:

geoserver_log_app_schema_problem.txt

Components:

Application schema

Created:

03/Jan/13 12:03 AM

Description:

After installing geoserver(version 2.2.2), I downloaded(using below link) and installed application schema and then change geoserver data directory(GEOSERVER_DATA_DIR) to provided tutorial directory to test sample application schema stores as specified in http://docs.geoserver.org/stable/en/user/data/app-schema/tutorial.html.

Application Schema Download Link: https://sourceforge.net/projects/geoserver/files/GeoServer%20Extensions/2.2.2/geoserver-2.2.2-app-schema-plugin.zip/download

Three datastores shows when server goes up, they are tut_RoadSegment, gsml_GeologicUnit or gsml_MappedFeature.

The layers returns via getfeature properly, but when I click on each stores like gsml_MappedFeature and then hit the save button, it shows message window with below information.

Error connecting to Store.

There was an error trying to connect to store gsml_MappedFeature. Do you want to save it anyway?

Original exception error:

Error saving data store:Error persisting FeatureTypeInfoImpl[MappedFeature] to /home/amir/geoserver-complex-feature/geoserver-2.2.2/app-schema-data-directory/tutorial/workspaces/gsml/gsml_MappedFeature/MappedFeature/featuretype.xml

Just a note that I could easily add other stores like postgis datastore and modify and save it.

I add GEOSERVER_DATA_DIR(/home/amir/geoserver-complex-feature/geoserver-2.2.2/app-schema-data-directory/tutorial) to environment variable using export command and run server using sudo -E env ./startup.sh
Geoserver log is attached.

Environment:

OS:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION=“Ubuntu 10.04.4 LTS”
Server:
Jetty (Geoserver Built-in Server)
JAVA:
java version “1.6.0_32”
Java™ SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot™ 64-Bit Server VM (build 20.7-b02, mixed mode)

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Amir Nasr

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)