[ms4w-users] New user to MS4W configuration problem with
imgahn2u at yahoo.com
Thu Jul 6 15:00:48 EDT 2006
Yes some things in addition to consider... with this problem
1) Tomcat is installed (butshutdown)
2) SQL Server is installed (but end-process in taskmanager was performed)
3) Oracle Express Edition is installed (but end-process in task manager performed)
4) Eclispe devlopment env. is installed but not up and running
5) Derby embedded JDBC database installed (but no processes to start/stop)
A service for one of these might be conflicting
with the cgi call to Mapserv? I did an end-process on sqlserver, oracle
and shutdown of tomcat. But there are a bunch of svchost.exe process's
running - which I don't know what they are doing....
Tasklist does not appear to work on Xp-Home edition.
When I click on the itasca demo file "index.html" and select Basic Application
the black cmd window flashes by and no map is displayed.
I believe the message in the black cmd window is:
"This script can only be used to decode form results and
should be initiated as a CGI process via a httpd server."
When mapserv is executed on a windows system, isn't it supposed
to be minimized or in icon form? Or should one normally
see a black cmd window flash by while it does it's thing?
If could glean a little more information from Windows/system
then understand what is going on and why mapserv thinks it
is not being invoked as a cgi? Any more insights form the Map Server
group would be greatly appreciated as to why the itasca demo is not
working on my Windows Xp-Home machine....Much Appreciate.
Some of the items mentioned above may be red-herrings.. but for
lack of any further direction to look for thought would at least mention them.
Jeff McKenna <jmckenna at dmsolutions.ca> wrote:
(please always respond to the mailing list)
The itasca package for MS4W requires no 'tweaking' of Apache. I'm not
sure if your Tomcat installation is causing issues.
Maybe someone else has ideas (?)
john rust wrote:
> Thanks for the reply.
> Yes - I installed this demo also and get the same results as with the
> The controls display but no map is displayed.
> When I correct the "action= " to be the correct path for my system
> to be "c:/ms4w/apache/cgi-bin/mapserv"
> Then, I get the black cmd window with the message below...flashes by...
> This script can only be used to decode form results and
> should be initiated as a CGI process via a httpd server.
> Isn't the cgi process supposed to be minimized, and *not* display a
> black window.
> Hypothesis: For some reason in my config the cgi mapserv process thinks
> its being executed not from an http server? I think there is something
> in my config that is not quite correct... but I tweaked most of the
> things that I know about with windows and apache etc. It is as
> if apache is invoking mapserv not as a cgi process but just as an
> executable or something?
> Thanks for any pointers in this regards...
> - John
> Demo config below...
> > onSubmit="submit_form()">
> */Jeff McKenna /* wrote:
> Actually are you aware that there is a pre-configured Itasca demo
> package available for download specifically for MS4W? Look for
> "MapServer Itasca Demo Application" on
> http://www.maptools.org/ms4w/index.phtml?page=downloads.html and use
> john rust wrote:
> > I installed mS4W on Windows XP Home with the following software
> > Eclipse
> > Tomcat
> > Apache server
> > Derby Plug in for Eclipse (java database)
> > JRE 5.0
> > New to the java scripting world, and decided to install the
> Itasca demo.
> > It is installed in C:/ms4w/apache/htdocs/workshop/index.html etc.
> > This is what I have for index.html in the demo
> > action="c:/ms4w/apache/cgi-bin/mapserv.exe" onSubmit="submit_form()">
> > value="c:/ms4w/apps/workshop/itasca.map">
> > value="c:/ms4w/apache/cgi-bin/mapserv.exe">
> > value="c:/ms4w/apache/htdocs/workshop">
> > value="c:/ms4w/apache/htdocs/workshop/temp/ms_temp">
> > value="c:/ms4w/apache/htdocs/workshop/temp">
> > These are values in the c:/ms4w/apache/conf/httpd.conf file
> > ServerRoot "c:/ms4w/apache"
> > Listen 80
> > ServerAdmin admin at local.domain
> > DocumentRoot "c:/ms4w/apache/htdocs"
> > This is the value I put into the Itasca.map file:
> > WMS_ONLINERESOURCE http://localhost/workshop/index.html
> > Put cgi-bin onto the WINDOWS PATH statement.
> > Also moved the workshop files around to various directories.
> > Made various windows folders shareable on the network.
> > When I click on the initialize (basic application) button am
> queried if
> > I want to run
> > C:/ms4w/apache/cgi-bin/mapserv.exe ?
> > I answer yes a coulpe times, but then **nothing** happens?
> > What is wrong with my configuration?
> > Regards,
> > John Rust
> > 763-424-7973
DM Solutions Group Inc.
ms4w-users mailing list
ms4w-users at lists.maptools.org
Yahoo! Music Unlimited - Access over 1 million songs.Try it free.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ms4w-users