[Mapserver-users] WFS / curl error code 7 (couldn't create socket)

fheland at netcourrier.com fheland at netcourrier.com
Mon Apr 5 15:41:09 EDT 2004


Hi Daniel, I've made some more test. 
if 
WFSserver = Tomcat + WFSclient = Tomcat : Curl error code 7 (couldn't create socket) 
WFSserver = Apache + WFSclient = Tomcat : Curl error code 7 (couldn't create socket)
WFSserver = Apache + WFSclient = Apache : ok
WFSserver = Tomcat + WFSclient = Apache : WFS request produced unexpected output (junk?) for layer NERIStations
WFSserver = Tomcat + WFSclient = Apache : ok when changing CONNECTION to "http://195.220.97.114/agentstruts/cgi-bin/mapserv_41.exe?map=d:/Tomcat4.1/webapps/agentstruts/mapservice/data/neri/htdocs/neri-wfs.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature" instead of "http://195.220.97.114/agentstruts/cgi-bin/mapserv_41.exe?map=d:/Tomcat4.1/webapps/agentstruts/mapservice/data/neri/htdocs/neri-wfs.map"

... It seems to be a Tomcat issu but I've no idea how to solve this ! Is there anyone using Tomcat facing the same type of problem ?

The curl command without the "-d/" works also. 

Thanks a lot for your help. 
Fred


fheland at netcourrier.com wrote:
> One more info, the curl command works (with tomcat & apache) on shell :
> 
...
> 
> 
> The version of curl is :
> curl 7.11.1 (i386-pc-win32) libcurl/7.11.1 zlib/1.2.1
> Protocols: ftp gopher telnet dict ldap http file
> Features: libz
> 
> Which version of libcurl mapserver is using ? 
> Is this could be the issue ?
> 

MapServer doesn't come with its own version of Curl, it uses the version 
of Curl that you have installed on your system.  We have used MapServer 
with Curl 7.11.x without any problem.


I see that you use "curl -d/ ..." at the command-line ... why the "-d/"? 
  Normally you should just call "curl <url>", e.g.

curl 
"http://192.168.1.114/agentstruts/cgi-bin/mapserv_41.exe?map=C:/ms4w/Apache/htdocs/eden/eden/eden/data/neri/htdo
cs/neri-wfs.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature"

If you could explain why you use "-d/" that could possibly help us 
understand the problem with MapServer.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,16 € TTC/min)





More information about the mapserver-users mailing list