On Mon, Feb 21, 2011 at 1:50 AM, Krishna Rajendra Alapati <
krishna.alap...@gmail.com> wrote:

> I tried changing the configuration using the REST API, but still the
> datastore isn't created. the console says it's loaded but actually it hasn't
> created any datastore instance.
>
> Also I found another thing that datastore creation using the POST method is
> ignoring <enabled>false</enabled> in the xml and creating the datastore
> configuration with the <enabled>true</enabled>. But when I create the
> datastore using the GUI and if enabled not selected the configuration xml
> has <enabled>false</enabled> Is this a defect on REST API?
>
>
Yeah, you have to explicitly mark it enabled every time you POST the xml

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to