planetfederal / geoserver-exts

Other
31 stars 40 forks source link

What is a schema_store file (mongodb ext) #69

Open newmanw opened 9 years ago

newmanw commented 9 years ago

I am trying to create a data source in geoserver that points to my mongodb instance.

However "schema_store" is a required parameter. I cannot find any documentation on what information needs to be provided in that file.

oscarfonts commented 9 years ago

@newmanw this documentation may help: https://github.com/boundlessgeo/suite/blob/master/docs/usermanual/source/dataadmin/mongodb/store.rst

It's a shame this extension (and its related documentation) isn't living in the official geotools repo (which holds an outdated version of gt-mongodb).

dwiharyono commented 9 years ago

And what if we use linux?

ischneider commented 9 years ago

And what if we use linux?

Then you would be considered a linux user?

dwiharyono commented 9 years ago

I've tried a parameter for linux but there is an error as its shown below, any suggestion what to do with the error?

geoserver new vector data source 2015-01-12 10-24-24

tkunicki commented 9 years ago

try file:///opt/schemas/database (note use of 3 /). Also, make sure the process executing GeoServer has write permissions to that directory (or it's parent if it doesn't exist)

yoojunghyean commented 8 years ago

Hi i'm try to linux parameter but occur error message like below.

2016-01-26 19 57 37

error message is "unable to initialize schema" and how can I resolve this problem.

help me please :)

tkunicki commented 8 years ago

Hi, Yoojungyean.

I would verify that the target schema directory exists with adequate permissions for the geoserver process to write to it or that, if the directory doesn't exist, permissions are adequate on the parent directory for the geoserver process to create it. On Jan 26, 2016 7:43 AM, "yoojunghyean" notifications@github.com wrote:

Hi i'm try to linux parameter but occur error message like below.

[image: 2016-01-26 19 57 37] https://cloud.githubusercontent.com/assets/16895223/12580681/df75982e-c474-11e5-8918-0c754f5bbe0d.png

error message is "unable to initialize schema" and how can I resolve this problem.

help me please :)

— Reply to this email directly or view it on GitHub https://github.com/boundlessgeo/geoserver-exts/issues/69#issuecomment-174995186 .

yoojunghyean commented 8 years ago

Hi, tkunicki.

thanks for your reply. you said that check adequate permissions for the geoserver process to write but i don't know how to check the permission. Can you give me confirmation that?

uucokgis commented 2 years ago

@newmanw this documentation may help: https://github.com/boundlessgeo/suite/blob/master/docs/usermanual/source/dataadmin/mongodb/store.rst

It's a shame this extension (and its related documentation) isn't living in the official geotools repo (which holds an outdated version of gt-mongodb).

link is not working