Dear GS users

I want to use curl to upload and apply style to a layer stored in the 
geoserver. I follow the steps given in 
http://docs.geoserver.org/stable/en/user/extensions/rest/rest-config-examples-curl.html.
 So I can create a new style and upload a *.sld file. But when I apply the 
style to the layer I receive the following error:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE 
ServiceExceptionReport SYSTEM 
"http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";> 
<ServiceExceptionReport version="1.1.1" >   <ServiceException code="Internal 
error ">
      org.vfny.geoserver.wms.WmsException: Internal error
Internal error
featureType: nyc2:states does not have a properly configured datastore
</ServiceException></ServiceExceptionReport>

PS:I use geoserver 2.0.1 and  when I use the same style through the admin web 
it works fine.
Any help?
Thanks in advance
Manouchehr

Dr. Manouchehr 
Amini<http://www.eawag.ch/about/personen/homepages/aminiman/index_EN>
System Analysis, Integrated Assessment and Modelling
Eawag
Überlandstrasse 133
8600 Dübendorf
Switzerland
Phone    +41 44 823 5465
Fax         +41 44 823 5028
[email protected]<mailto:[email protected]>


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to