Finally I have stumbled across here:

http://getsatisfaction.com/opengeo/topics/error_in_wmsgetfeatureinfo#reply_2612983

new OpenLayers.Control.WMSGetFeatureInfo({

    url: "http://localhost:8080/geoserver/wms";, 

    layerUrls: ["http://localhost:8080/geoserver/gwc/service/wms";],

    title: 'Identify features by clicking',

    queryVisible: true

});

Turns out what I was missing was layerUrls:
["http://localhost:8080/geoserver/gwc/service/wms";]

This means: consider the layerUrls (i.e. your gwc urls), but issue requests
to the url (i.e. your wms url).

elshae

-- 
View this message in context: 
http://old.nabble.com/GWC-Layers-Do-Not-Return-GetFeatureInfo-tp30088025p30107381.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to