<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>RE: [UMN_MAPSERVER-DEV] WFS client problem on Windows 2003, continued</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>No idea if it is related to your problem or not, but if you are using IIS on Win2003, any calls to GetModuleFileName will prepend "\\?\" to the front of the path... It caused havok in a bunch of our code until we figured out what was going on and striuped it off. You get the same problem with IIS on XP SP2. See the docs for GetModuleFileName: <A HREF="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/getmodulefilename.asp" TARGET="_blank">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/getmodulefilename.asp</A></FONT></P>
<P><FONT SIZE=2>Ned.</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: UMN MapServer Developers List [<A HREF="mailto:MAPSERVER-DEV@LISTS.UMN.EDU">mailto:MAPSERVER-DEV@LISTS.UMN.EDU</A>] On Behalf Of Bart van den Eijnden</FONT>
<BR><FONT SIZE=2>Sent: Monday, March 14, 2005 8:09 AM</FONT>
<BR><FONT SIZE=2>To: MAPSERVER-DEV@LISTS.UMN.EDU</FONT>
<BR><FONT SIZE=2>Subject: [UMN_MAPSERVER-DEV] WFS client problem on Windows 2003, continued</FONT>
</P>
<P><FONT SIZE=2>Hi list,</FONT>
</P>
<P><FONT SIZE=2>I just got some more info about this. Strangely enough everything works fine in application (non-CGI) mode, i.e. running mapserv from the command-line with QUERY_STRING.</FONT></P>
<P><FONT SIZE=2>This is the output created, including libcurl debug output. There is a section where the mapserv process waits for a while, but after that continues. That section is marked in the output with a lot of *******.</FONT></P>
<P><FONT SIZE=2>Does anybody see something strange? Or does somebody see a reason why this would work in application mode, but not in CGI mode?</FONT></P>
<P><FONT SIZE=2>In total there are 3 WFS client layers.</FONT>
</P>
<P><FONT SIZE=2>Thanks in advance.</FONT>
</P>
<P><FONT SIZE=2>Best regards,</FONT>
<BR><FONT SIZE=2>Bart</FONT>
</P>
<P><FONT SIZE=2>On Mon, 14 Mar 2005 14:26:29 +0100, Bart van den Eijnden <bartvde@xs4all.nl> wrote:</FONT>
</P>
<P><FONT SIZE=2>> Hi list,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> does anybody have an idea what could be causing the following </FONT>
<BR><FONT SIZE=2>> behaviour in Mapserver WFS client?</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> We were testing a URL to an external WFS service (intranet) on Windows </FONT>
<BR><FONT SIZE=2>> 2003.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 1. using the curl utility always the full document is retrieved, </FONT>
<BR><FONT SIZE=2>> although times differ a lot between 10 and 65 seconds</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 2. Mapserver does not download the full file, it downloads a part of </FONT>
<BR><FONT SIZE=2>> it, and the part that it downloads differs all the time.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 3. In IIS 6 a CGI error occurs after a certain time, also this amount </FONT>
<BR><FONT SIZE=2>> of time seems to be irregular. In Apache the same request with the </FONT>
<BR><FONT SIZE=2>> same binary keeps on running, but never finishes. The downloaded GML </FONT>
<BR><FONT SIZE=2>> file remains at a certain size, and no content is added anymore.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Any ideas what could cause this would be highly appreciated, or how to </FONT>
<BR><FONT SIZE=2>> go about debugging this problem further.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Best regards,</FONT>
<BR><FONT SIZE=2>> Bart</FONT>
<BR><FONT SIZE=2>></FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>Using Opera's revolutionary e-mail client: <A HREF="http://www.opera.com/m2/" TARGET="_blank">http://www.opera.com/m2/</A></FONT>
</P>
</BODY>
</HTML>