On Mon, Oct 17, 2011 at 5:54 PM, Ragnvald Larsen
<[email protected]> wrote:
> We are establishing a service with a management area for bears. But we are 
> failing for this file when it comes to getfeatureinfo. It fails.
>
> The shapefile in question is available here:
>
> http://dl.dropbox.com/u/6193564/bears_management_area.zip
>
> To reproduce the error:
>
> * Add workspace 
> (forvaltningsomrader/http://wms.dirnat.no/forvaltningsomrader_rovdyr) not 
> default
> * Place the file in a folder and add a store using "Directory of spatial 
> files (shapefiles).
> * Add a layer resource named bjorn_forvaltningsomrade. Use default polygon 
> style. UTM zone 32N.
> * Use layer preview to browse the layer. Press on one of the features 
> (getfeatureinfo)
>
> This produces the following error message on our end:
>
> java.lang.IllegalArgumentException: Can't find neither a FeatureType nor a 
> CoverageInfo or WMSLayerInfo named 
> http://wms.dirnat.no/geoserver/grunnkart/:bjorn_forvaltningsomrade Can't find 
> neither a FeatureType nor a CoverageInfo or WMSLayerInfo named 
> http://wms.dirnat.no/geoserver/grunnkart/:bjorn_forvaltningsomrade
>
> Full error log (from 2.1.1-server)  available here:
>
> * http://dl.dropbox.com/u/6193564/bears_management_area.TXT
>
> The error is the same on our Geoservers running 2.1.1 (Windows 2008 R2 
> Standard, SP1) and 2.1.0 (Windows 7 SP1, testserver).
>
> Any ideas?

Just a quick one, what url are you using to access it?
Something like geoserver/<workspacename>/wms ? In this case you are
using a virtual service that will only serve
the layers in that workspace, if you ask for a layer in a different
workspace it will fail.
You can use the global serverices geoserver/wms, they do serve all
layers (if they are enabled, which they normally are).

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

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

-------------------------------------------------------

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to