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?



On 19 February 2011 11:18, Andrea Aime <[email protected]> wrote:

> On Sat, Feb 19, 2011 at 11:23 AM, Krishna Rajendra Alapati <
> [email protected]> wrote:
>
>> Hi Emanuele,
>>
>> Is there a way to reload a specific datastore not all the datastores ?
>>
>>
> There is no explicit reload for a single datastore, but if you use the rest
> config api and
> "change" the datastore configuration that should force a reload. Even if
> the configuration
> is actually the same as before.
>
> Generally speaking modifying the config files on disk is discouraged, if
> you want to
> programmatically modify the GS configuration you should use REST config
> calls
> instead.
>
> See:
> http://docs.geoserver.org/latest/en/user/restconfig/index.html
>
> 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
>
> -------------------------------------------------------
>



-- 
Regards,
K.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to