Ciao Thank you for the answer, that was my concern tha server 2.1.1 is to old. In a few weeks I will work on a new version and will report back.
Meanwhile I do everything with REST and then on the server I run a python script that edits the layer.xml. I will keep you informed Thank you Jorge On 04/23/2014 11:30 AM, Simone Giannecchini wrote: > Ciao Jorge, > not the answer you'd like I fear hovever GS 2.1.1 dates back to > 25/06/2011, hence I doubt you might get an answer. > > I would just test an upgrade to at least 2.4.6 or 2.5.0 and see what > happens. If the problem is still there then we can open a jira and > make sure it can be replicated and fixed. > > > Regards, > Simone Giannecchini > == > Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK > for more information. > == > > Ing. Simone Giannecchini > @simogeo > Founder/Director > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 333 8128928 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > ------------------------------------------------------- > > > On Tue, Apr 22, 2014 at 10:15 AM, Jorge de Jesus > <[email protected]> wrote: >> Hi to all >> >> >> I've a geoserver 2.1.1 instance and I'm manipulating the layer content >> using the REST interface, unfortunately when I set the SLD in the server >> the layer becomes deactivated by default. >> >> Here is the SLD change example request >> >> curl -v -u admin:------ -XPUT -H "Content-type: text/xml" -d >> "<layer><defaultStyle><name>TAXGWRB</name></defaultStyle><enabled>true</enabled></layer>" >> http://wms3.isric.org/geoserver/rest/layers/test:TAXGWRB2 >> >> >> I've found the following bug report >> http://jira.codehaus.org/browse/GEOS-4023 >> >> I was wondering if there is a workaround the bug since I dont fell like >> going to the panel admin and click enable on 100 layers....I'm forcing >> the layer to be enabled and even rebooted the server..never the less >> nothing happens >> >> Maybe a geoserver upgrade would help ??? >> >> Thank you >> >> Jorge >> >> >> >> -- >> ISRIC - World Soil Information Post: PO box 353, 6700 AJ, Wageningen, >> The Netherlands Visiting Address: Droevendaalsesteeg 3, 6708 PB >> Wageningen (Bdg. 101), Office: C.013 Office Phone: +31 (0) 317 4 83715 >> Mobile Phone: +31 (0) 613 9 06950 OpenPGPKey: 0xA3D0065A >> >> >> ------------------------------------------------------------------------------ >> Start Your Social Network Today - Download eXo Platform >> Build your Enterprise Intranet with eXo Platform Software >> Java Based Open Source Intranet - Social, Extensible, Cloud Ready >> Get Started Now And Turn Your Intranet Into A Collaboration Platform >> http://p.sf.net/sfu/ExoPlatform >> _______________________________________________ >> Geoserver-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- ISRIC - World Soil Information Post: PO box 353, 6700 AJ, Wageningen, The Netherlands Visiting Address: Droevendaalsesteeg 3, 6708 PB Wageningen (Bdg. 101), Office: C.013 Office Phone: +31 (0) 317 4 83715 Mobile Phone: +31 (0) 613 9 06950 OpenPGPKey: 0xA3D0065A ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
