Dear All,<br>OpenLayers used together with geoserver 2, tomcat6, Sun Java 6 on Ubuntu server 64 bit.<br>while trying to use GetFeatureInfo following problems appear: <br>1) if using GetFeatureInfo like this:<br> map.events.register('click', map, function (e) {<br>
document.getElementById('nodelist').innerHTML = "Loading ... please wait ...";<br> var params = {<br> REQUEST: "GetFeatureInfo",<br>
EXCEPTIONS: "application/vnd.ogc.se_xml",<br> BBOX: map.getExtent().toBBOX(),<br> X: e.xy.x,<br> Y: e.xy.y,<br> INFO_FORMAT: 'text/html',<br>
QUERY_LAYERS: map.layers[0].params.LAYERS,<br> FEATURE_COUNT: 50,<br> Srs: 'EPSG:32638',<br> Layers: 'Moskva',<br>
Styles: '',<br> WIDTH: map.size.w,<br> HEIGHT: map.size.h,<br> format: format};<br> OpenLayers.loadURL("<a href="http://hboard.iwk.uni-karlsruhe.de:8080/geoserver/wms">http://hboard.iwk.uni-karlsruhe.de:8080/geoserver/wms</a>", params, this, setHTML, setHTML);<br>
// window.open("<a href="http://hboard.iwk.uni-karlsruhe.de:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=Moskva&styles=&bbox=-125830.05,6099218.02,153008.285,6277080.521&width=517&height=330&srs=EPSG:32638&format=application/openlayers">http://hboard.iwk.uni-karlsruhe.de:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=Moskva&styles=&bbox=-125830.05,6099218.02,153008.285,6277080.521&width=517&height=330&srs=EPSG:32638&format=application/openlayers</a>"); <br>
OpenLayers.Event.stop(e);<br> });<br> }<br> <br> // sets the HTML provided into the nodelist element<br> function setHTML(response){<br> document.getElementById('nodelist').innerHTML = response.responseText;<br>
}<br><br>clicking on maps brings up "Loading ... please wait ..." message only and nothing else.<br><br>2) if using in a way as described in <a href="http://trac.openlayers.org/wiki/GetFeatureInfo">http://trac.openlayers.org/wiki/GetFeatureInfo</a> nothing happens at all.<br>
3) I tried to save OpenLayers html provided by geoserver locally and it does not work as well. "Loading ... please wait ..." message appears for a short time then disappears and nothing happens<br><br>Any help would be highly appreciated.<br>
Alex<br>