[mapserver-users] Does anybody use Mapserver and Tomcat on Win2000??

Erik Van der Goot erik.van-der-goot at jrc.it
Wed Dec 11 10:21:41 EST 2002


--=====================_692109110==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Thanks a lot!!

I have just been away for a few days, hence the silence..

I'll do some more investigating tomorrow

I'll let you know! :-)

Erik


At 11:27 04/12/2002 -0800, Dan Barron wrote:
>Hi Erik,
>
>I do not know what mapserver is trying to do at that point, sorry.
>
>Ok, I just placed the old demo I had done before back into the tomcat 
>webapps directory and got it to work.  I had to tweak the action parameter 
>in the demo-init.html file slightly to get it to work.  The program 
>parameter is passed back as a parameter to demo.html from mapserv.exe and 
>is then used as the action in the form tag.
>
>demo.html
>------------------------------------
><form method=GET action="[program]">
>
>I am also using an older version of Mapserver, version 3.5, but here is my 
>setup, maybe it can help you determine what is going on.
>
>
>
>cgi-bin
>-----------
>c:\bin\apache group\apache\cgi-bin\mapserv.exe
>
>tomcat  webapps & tmp directory
>----------------------------------
>c:\bin\jboss-2.4.4_tomcat-3.2.3\tomcat\webapps
>c:\bin\jboss-2.4.4_tomcat-3.2.3\tomcat\webapps\tmp
>
>Changes to demo_init.html
>----------------------------------
><form method=GET action="http://www.ddive.com/cgi-bin/mapserv.exe">
>
><input type="hidden" name="map" value="c:/bin/Mapserver/demo/itasca/demo.map">
>
><input type="hidden" name="layer" value="lakespy2">
><input type="hidden" name="layer" value="dlgstln2">
><input type="hidden" name="zoomsize" value=2>
>
><input type="hidden" name="program" value="/cgi-bin/mapserv.exe">
><input type="hidden" name="map_web_imagepath" 
>value="c:/bin/jboss-2.4.4_tomcat-3.2.3/tomcat/webapps/tmp/">
><input type="hidden" name="map_web_imageurl" value="/tmp/">
>
>
>
>Hope this helps.
>
>Dan
>
>
>
>
>At 03:49 PM 12/4/2002 +0100, you wrote:
>>Hi Dan,
>>
>>I have installed the Tomcat CGI servlet directly under my web-app.
>>I have then installed all the demo stuff and modified the demo-init.html 
>>and the map file.
>>
>>what i can see happening is the following. When I click on the button in 
>>the demo html mapserv DOES produce 4 GIF files in the temp directory that 
>>I have specified. So my conclusion is that
>>a. i have configured my CGI interface correctly  (otherwise I would not 
>>be talking to mapserv)
>>b. at least I have configured the temp directory correctly...
>>
>>
>>however, that is it.... nothing else happens and mapserv.exe seems to get 
>>stuck. On the browser side there is no reply at all, and i have to 
>>actually kill the mapserv.exe with the task manager.
>>
>>Do you know what exactly mapserv is trying to do at that stage??
>>Do you know what the  'program' parameter in the demo-init.html does?? It 
>>is set the the actual instance of mapserv.exe but i cannot find any 
>>reference in the docs to this parameter.
>>
>>I have the feeling that I am awfully close to getting this thing to 
>>work.. but that I am missing something really stupid..
>>
>>Thanks a lot
>>
>>Erik
>>
>>At 11:02 03/12/2002 -0800, you wrote:
>>>Hi Erik,
>>>
>>>I did a demo, not sure it was the Itasca stuff, and it worked, but it 
>>>has been a while ago.  Maybe I should add that I use Apache as my web 
>>>server and JBoss with embedded Tomcat.  Are you having a specific issue 
>>>with tomcat and Mapserver?
>>>
>>>Dan
>>>
>>>At 11:49 AM 12/3/2002 +0100, you wrote:
>>>>Hi Dan
>>>>
>>>>thanks for your reply
>>>>
>>>>did you ever try the demo program to test the installation??  (the 
>>>>itasca stuff)
>>>>
>>>>Erik
>>>>
>>>>At 12:03 02/12/2002 -0800, you wrote:
>>>>>Yes, but I use PHP and Mapscript to generate map images.  www.ddive.com
>>>>>
>>>>>At 03:05 PM 11/28/2002 +0100, you wrote:

--=====================_692109110==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
Thanks a lot!!<br><br>
I have just been away for a few days, hence the silence..<br><br>
I'll do some more investigating tomorrow<br><br>
I'll let you know! :-)<br><br>
Erik<br><br>
<br>
At 11:27 04/12/2002 -0800, Dan Barron wrote:<br>
<blockquote type=cite class=cite cite><tt>Hi Erik,<br><br>
I do not know what mapserver is trying to do at that point,
sorry.<br><br>
Ok, I just placed the old demo I had done before back into the tomcat
webapps directory and got it to work.&nbsp; I had to tweak the action
parameter in the demo-init.html file slightly to get it to work.&nbsp;
The program parameter is passed back as a parameter to demo.html from
mapserv.exe and is then used as the action in the form tag.<br><br>
demo.html<br>
------------------------------------<br>
&lt;form method=GET action=&quot;[program]&quot;&gt;<br><br>
I am also using an older version of Mapserver, version 3.5, but here is
my setup, maybe it can help you determine what is going on.<br><br>
<br><br>
cgi-bin<br>
-----------<br>
c:\bin\apache group\apache\cgi-bin\mapserv.exe<br><br>
tomcat&nbsp; webapps &amp; tmp directory<br>
----------------------------------<br>
c:\bin\jboss-2.4.4_tomcat-3.2.3\tomcat\webapps<br>
c:\bin\jboss-2.4.4_tomcat-3.2.3\tomcat\webapps\tmp<br><br>
Changes to demo_init.html<br>
----------------------------------<br>
&lt;form method=GET
action=&quot;http://www.ddive.com/cgi-bin/mapserv.exe&quot;&gt;<br><br>
&lt;input type=&quot;hidden&quot; name=&quot;map&quot;
value=&quot;c:/bin/Mapserver/demo/itasca/demo.map&quot;&gt;<br><br>
&lt;input type=&quot;hidden&quot; name=&quot;layer&quot;
value=&quot;lakespy2&quot;&gt;<br>
&lt;input type=&quot;hidden&quot; name=&quot;layer&quot;
value=&quot;dlgstln2&quot;&gt;<br>
&lt;input type=&quot;hidden&quot; name=&quot;zoomsize&quot;
value=2&gt;<br><br>
&lt;input type=&quot;hidden&quot; name=&quot;program&quot;
value=&quot;/cgi-bin/mapserv.exe&quot;&gt;<br>
&lt;input type=&quot;hidden&quot; name=&quot;map_web_imagepath&quot;
value=&quot;c:/bin/jboss-2.4.4_tomcat-3.2.3/tomcat/webapps/tmp/&quot;&gt;<br>
&lt;input type=&quot;hidden&quot; name=&quot;map_web_imageurl&quot;
value=&quot;/tmp/&quot;&gt;<br><br>
<br><br>
Hope this helps.<br><br>
Dan<br><br>
<br><br>
<br>
</tt>At 03:49 PM 12/4/2002 +0100, you wrote:<br>
<blockquote type=cite class=cite cite>Hi Dan,<br><br>
I have installed the Tomcat CGI servlet directly under my web-app.<br>
I have then installed all the demo stuff and modified the demo-init.html
and the map file.<br><br>
what i can see happening is the following. When I click on the button in
the demo html mapserv DOES produce 4 GIF files in the temp directory that
I have specified. So my conclusion is that<br>
a. i have configured my CGI interface correctly&nbsp; (otherwise I would
not be talking to mapserv)<br>
b. at least I have configured the temp directory correctly...<br><br>
<br>
however, that is it.... nothing else happens and mapserv.exe seems to get
stuck. On the browser side there is no reply at all, and i have to
actually kill the mapserv.exe with the task manager.<br><br>
Do you know what exactly mapserv is trying to do at that stage??<br>
Do you know what the&nbsp; 'program' parameter in the demo-init.html
does?? It is set the the actual instance of mapserv.exe but i cannot find
any reference in the docs to this parameter.<br><br>
I have the feeling that I am awfully close to getting this thing to
work.. but that I am missing something really stupid..<br><br>
Thanks a lot<br><br>
Erik<br><br>
At 11:02 03/12/2002 -0800, you wrote:<br>
<blockquote type=cite class=cite cite>Hi Erik,<br><br>
I did a demo, not sure it was the Itasca stuff, and it worked, but it has
been a while ago.&nbsp; Maybe I should add that I use Apache as my web
server and JBoss with embedded Tomcat.&nbsp; Are you having a specific
issue with tomcat and Mapserver?<br><br>
Dan<br><br>
At 11:49 AM 12/3/2002 +0100, you wrote:<br>
<blockquote type=cite class=cite cite>Hi Dan<br><br>
thanks for your reply<br><br>
did you ever try the demo program to test the installation??&nbsp; (the
itasca stuff)<br><br>
Erik<br><br>
At 12:03 02/12/2002 -0800, you wrote:<br>
<blockquote type=cite class=cite cite>Yes, but I use PHP and Mapscript to
generate map images.&nbsp;
<a href="http://www.ddive.com/" eudora="autourl">www.ddive.com</a><br><br>
At 03:05 PM 11/28/2002 +0100, you
wrote:</blockquote></blockquote></blockquote></blockquote></blockquote></html>

--=====================_692109110==_.ALT--




More information about the mapserver-users mailing list