<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have a custom web application that uses MapServer CGI to
display maps. It currently runs under Tomcat 5 ok. However, when trying to
migrate to Tomcat 6 or 7, I run into a problem that seems to be specific to mapserv.exe.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>When I make a call to </span></font>CATALINA_HOME/cgi-bin/mapserv.exe,
the browser displays a blank page and the log shows the response as &#8220;200 &#8211;&#8220;
(response=&#8221;OK, zero byte length&#8221;).&nbsp; When I call other
executables, they respond as expected (such as CATALINA_HOME/cgi-bin/gifsample.exe),
it is just mapserv.exe that returns zero bytes, so the CGI configuration in Tomcat
seems to be OK.<o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I tried mapserv.exe at the command line, and it responds as expected,
so it seems to be installed correctly&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>At this point, I&#8217;m assuming that there is some kind of
configuration setting (valve?) in Tomcat 6.0 and 7.0 that needs to set or
tweaked, but I&#8217;ve run into a wall trying to figure out what the might be.
Anybody out there with any ideas?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>David S. Hunter</span></font></b></strong><b><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;font-weight:
bold'><br>
</span></font></b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Lead Software Engineer<br>
LPS Insurance Risk Management Services<br>
</span></font><strong><b><font face="Times New Roman">Lender Processing
Services, Inc.</font></b></strong><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'><br>
</span></font></b><st1:Street w:st="on"><st1:address w:st="on"><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>5353 Gamble Drive,
  Suite 201</span></font></st1:address></st1:Street><br>
<st1:place w:st="on"><st1:City w:st="on"><font size=2 face=Arial><span
  style='font-size:10.0pt;font-family:Arial'>Saint Louis Park</span></font></st1:City><font
 size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>, <st1:State
 w:st="on">MN</st1:State> <st1:PostalCode w:st="on">55416</st1:PostalCode></span></font></st1:place><br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Office:
952.542.1440 ext. 256<br>
Fax: 952.542.3859</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><a href="mailto:david.hunter@lpsvcs.com">david.hunter@lpsvcs.com</a><br>
<a href="http://www.lpsvcs.com">www.lpsvcs.com</a></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<font face="monospace">The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.</font></body>

</html>