[OpenLayers-Users] CGI and Tomcat

Juan Arévalo arevaco90 at yahoo.es
Thu Aug 13 15:27:32 EDT 2009


Hola,

Seguimos teniendo problemas con la configuración del proxy. Te cuento un
poco los pasos que hemos seguido. Primero de todo nos hemos bajado el
fichero proxy.cgi y instalado python 3.1. 

Luego hemos modificado la primera linea del proxy.cgi y hemos puesto:

#!c:/python31/python.exe -u

Después hemos seguido los pasos de la página que nos indicas sin nigún
problema hasta el paso número 6, ya que no sabemos donde colocar el fichero
proxy.cgi. En nuestro Tomcat tenemos instaladas las siguientes aplicaciones:
geoserver y mapfish. Hemos estado haciendo diversas pruebas pero no
conseguimos encontrar la configuración adecuada.

Tal y como estamos ahora no conseguimos visualizar las carreteras de este
ejemplo de openlayers:

http://openlayers.org/dev/examples/wfs-protocol.html

Tampoco conseguimos que nos funcione haciendo llamadas a un WFS local.

Alguna idea de por donde puede estar el error?

Juan y Gerard



michogar wrote:
> 
> Hola Arevalo,
> 
> tienes esta tutorial que seguí yo para utilizar el proxy cgi en tomcat.
> 
> http://codigoaldescubierto.wordpress.com/2008/02/24/cgis-en-tomcat-bajo-windows/
> 
> Saludos.
> 
> 
> 
> El 6 de agosto de 2009 20:44, Juan Arévalo <arevaco90 at yahoo.es> escribió:
> 
>>
>> Hi all,
>>
>> I am making some progress setting up a WFS-T, it seems that my code works
>> since I don´t get any error, but the layer doesn't display in the map. I
>> have read that this problem can be solved by setting the Proxy Host,
>> however
>> I was not able to set it up. I am using: Tomcat 5.5, Geoserver 1.5.3 and
>> OpenLayers 2.8 and MapFish 1.1.(I couldn´t only find the steps for
>> Apache
>> but not for Tomcat)
>>
>> Does anyone have any ideas on how to solve it?
>>
>> I´ve solved my previous problem with the WFS constructor.
>> Thanks Pierre and Eric for your help!!
>>
>> Cheers!
>>
>> Juan
>> --
>> View this message in context:
>> http://n2.nabble.com/CGI-and-Tomcat-tp3400100p3400100.html
>> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
> 
> 
> 
> -- 
> # michogar
> # Analista Programador SIG
> # GNU/Linux Counter 462666
> # http://www.openstreetmap.org/user/michogar
> 
> Una visión personal:
> http://michogar.blogspot.com
> 
> El día a día:
> http://twitter.com/michogar
> 
> 
> 
> Sent from Madrid, Spain
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/CGI-and-Tomcat-tp3400100p3440233.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list