[mapserver-users] Fwd: mapserv CGI, Tomcat 4.0.2, Win2000 problems

Steve Lime steve.lime@dnr.state.mn.us
Thu, 14 Nov 2002 12:02:22 -0600


Received: from mail.state.mn.us
	(state.mn.us [156.99.125.109])
	by co5.dnr.state.mn.us; Thu, 14 Nov 2002 10:47:14 -0600
Return-Path: <erik.van-der-goot@jrc.it>
Received: from lists.gis.umn.edu by mail.state.mn.us with ESMTP for steve.lime@dnr.state.mn.us; Thu, 14 Nov 2002 10:46:48 -0600
Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65])
	by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gAEGlKae014172
	for <mapserver-info@lists.gis.umn.edu>; Thu, 14 Nov 2002 10:47:20 -0600 (CST)
Received: from mrelay.jrc.it (localhost [127.0.0.1])
	by mrelay.jrc.it (LMC5614B) with ESMTP id gAEGkia15236
	for <mapserver-info@lists.gis.umn.edu>; Thu, 14 Nov 2002 17:46:44 +0100 (MET)
Received: from isis-ms.sti.jrc.it (isis-gs.sti.jrc.it [139.191.8.244])
	by mrelay.jrc.it (LMC5614A) with ESMTP id gAEGkif15230
	for <mapserver-info@lists.gis.umn.edu>; Thu, 14 Nov 2002 17:46:44 +0100 (MET)
Received: from ikaro.jrc.it ([139.191.246.230]) by
          isis-ms.sti.jrc.it (Netscape Messaging Server 4.15 gs Mar 21
          2002 15:13:49) with ESMTP id H5KRXW00.FN0 for
          <mapserver-info@lists.gis.umn.edu>; Thu, 14 Nov 2002 17:46:44 +0100 
Message-Id: <5.1.0.14.2.20021114173306.03a2bb88@isis-ms.jrc.it>
X-Sender: gooteri@isis-ms.jrc.it
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 14 Nov 2002 17:46:43 +0100
To: mapserver-info@lists.gis.umn.edu
From: "Erik Van der Goot" <erik.van-der-goot@jrc.it>
Subject: mapserv CGI, Tomcat 4.0.2, Win2000 problems
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Content-Transfer-Encoding: 7bit

Dear all,

I would like to use mapserver to produce simple maps, basically to be 
included into an html page through the <img> tag.
The problem is that I seem to 'hang' mapserv.exe when accessing through the 
web.

I am using Tomcat 4 standalone as my web server.

I have created a MapServer webapp inthe Tomcat WebApps directory, and in 
the web.xml I have enabled the cgi-servlet.
I have installed the mapserver software in the 
webapps\MapServer\WEB-INF\cgi directory and set the url pattern to cgi-bin

So far so good..

If I type the url of the mapserv.exe, it works, in the sense that I get the 
correct error message. So I AM talking to mapserv.exe through HTTP

I have then downloaded and installed the demo. I have with some trial and 
error edited all the paths in the demo-init.html.
When I click on the init button, the browser just sits there. I CAN however 
see the .GIF files being produced on the server, but i get nothing back, no 
error, nothing, just a blank page and a little whirling globe (yes I use 
IE...)

So I am almost there but something is not working....

When I try to produce a map through the URL directly (using my own data) it 
behaves the same way. Whenever I make a mistake in the filenames it gives 
me an error, so ok, i AM talking to the program, but when I type

http://myserver/MapServer/cgi-bin/mapserv.exe?map=SoDa/soda.map&mode=map

I get nothing but a waiting browser...


Any help would be greatly appreciated

Erik