[OpenLayers-Users] GetFeatureInfo not working

Pablo Díaz inspdr00 at gmail.com
Tue Jan 27 03:32:22 EST 2009


Hi

This error maybe caused by security police (I don't remember the name)
that don't allow transfer data between servers that don't run at the
same port.

I had the same problem in my application, I use tomcat(with java,jsp) +
geoserver, both run separately. When I put geoserver as a war file into
tomcat I had no problem, but when I put both separately (on different
ports) I had the same problem.

To arrange this problem, you have to make a connection proxy between
geoserver and the application server (May be you use IIS + geoserver
separately, doesn't it?).

You should search into application server documentation to know how do
this.

Bye!!!


El lun, 26-01-2009 a las 22:47 +0200, nm3456 at gmail.com escribió:
> Hi everyone,
> 
> Being newbies with Geoserver-Openlayers, we set up an application, on
> a machine with Windows Server 2003-IIS.
> 
> Everything works fine apart from the GetFeatureInfo calls.
> 
> From firebug, we located the following request, when we click on the
> map, which works fine, when we use it at the browser‘s address bar:
> 
>  
> 
> http://84.205.237.73:443/geoserver/wms?REQUEST=GetFeatureInfo&EXCEPTIONS=application%2Fvnd.ogc.se_xml&BBOX=2767167.493482%2C4505675.646451%2C2822912.470114%2C4540167.850742&X=469&Y=327&INFO_FORMAT=text%2Fhtml&QUERY_LAYERS=Tinos%3Adimoi&FEATURE_COUNT=50&Layers=Tinos%3Adimoi&Styles=&Srs=EPSG%3A900913&WIDTH=800&HEIGHT=495&format=image%2Fpng
> 
>  
> 
> From the above we concluded that there is a browser security problem…
> 
>  
> 
> So far, we followed:
> 
> 1)
> http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
> 
> 2)
> http://n2.nabble.com/Solution-to-proxy-for-WFS-request-on-IIS-td1830924.html#a20353666
> 
> 3)       http://openlayers.org/dev/examples/getfeatureinfo.html
> 
> 4)
> http://n2.nabble.com/GetFeatureInfo-requests-never-get-answers-td1824945.html#a11586620
> 
>  
> 
>  
> 
> But now, instead of getting an endless “Loading... please wait...", 
> 
> we get an “HTTP Error 404 - File or directory not found.”, when we
> click on the map…
> 
>  
> 
> For our demo map go to: http://84.205.237.73/default/demomap.aspx
> 
> I apologize for the Greek language used, but you should be able to
> browse the code :))
> 
>  
> 
> I hope that someone has a suggestion…
> 
>  Nikos
> 
>  
> 
>  
> 
>  
> 
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list