Hi Luca,
You can try manually deleting the files (or pointing them to a "valid
style"). They're in your Geoserver data directory. I guess:
/var/lib/opengeo/geoserver/workspaces/
And then delete the /CLIMATe/ directory and restart GeoServer.
Might want to make a backup of it.
Hopefully that'll resolve the issue,
Cheers,
Jonathan
On 2 May 2014 16:26, LUCAGEO <[email protected]> wrote:
> Good Morning everybody,
> I have a problem with geoserver wms 1.3.0 get capability request.
> I think two of the layes have lost their styles and I tried to delete them
> through the geoserver interface and also using REST using the following
> commands but they don't work properly:
>
> 1) DELETING THE WHOLE WORKSPACE
> curl -u admin:geoserver -XDELETE -H
> http://localhost:8080/geoserver/rest/workspaces/CLIMATE
> A: Workspace not empty
>
> 2)DELETING THE DATASTORE
> curl -u admin:geoserver -v -XDELETE
>
> http://localhost:8080/geoserver/rest/workspaces/CLIMATE/coveragestores/SD_TT_4326_025DD
> RISPOSTA: Coveragestore not empty
>
> 3)DELETING THE LAYER
> curl -u admin:geoserver -v -XDELETE 'Accept: text/xml'
>
> http://localhost:8080/geoserver/rest/workspaces/CLIMATE/coveragestores/SD_TT_4326_025DD/coverage/SD_TG_PLC_025D.xml
> RISPOSTA: coveragestore not empty
>
>
> 4)ASSIGNING A STYLE TO THE LAYER
> curl -u admin:geoserver -XPUT -H 'Content-type: text/xml' -d
>
> '<layer><defaultStyle><name>TEMPERATURE_C</name><workspace>CLIMATe</workspace></defaultStyle></layer>'
> http://localhost:8080/geoserver/rest/layers/CLIMATE:SD_TG_PLC_025D
> RISPOSTA:Error persisting LayerInfoImpl[SD_TG_PLC_025D,
> resource:CoverageInfoImpl[SD_TG_PLC_025D]] to
>
> /var/lib/opengeo/geoserver/workspaces/CLIMATe/SD_TG_PLC_02500D/SD_TG_PLC_025D/layer.xml
>
> Any suggestions?
> Thanks in advance
> Luca
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-GET-CAPABILITIES-WMS-1-3-0-ERROR-tp5138311.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos. Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
This transmission is intended for the named addressee(s) only and may
contain confidential, sensitive or personal information and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this transmission in error please notify
the sender immediately. All email traffic sent to or from us, including
without limitation all GCSX traffic, may be subject to recording and/or
monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users