[TinyOWS-users] Problems with ms4w version
Yewondwossen Assefa
yassefa at dmsolutions.ca
Tue Nov 9 16:47:32 EST 2010
Hi,
Using ma4w and apache, there should be an http_tinyows.conf file
installed in c:\ms4w\httpd.d . Do you have that file? It has 2 entries
in it defining the TINYOWS_CONFIG_FILE and TINYOWS_SCHEMA_DIR. They
should be available to Apache if you have restarted Apache after
installing tinyows. if you still have a problem, take these 2 lines and
stick them at the end of httpd.conf (c:/ms4w/Apache/conf/) and restart
apache.
As for new versions of tinypws, I usually put out ms4w compatible
versions when there is a tinyows release. I have put temporarily a
tinyows version ([1]) that I use locally. It uses the tinyows code out
of svn. It works for me with ms4w beta11. You can give it a try.
best regards,
[1]: http://www3.dmsolutions.ca/tmp/tinyows-svn-nov09-2010.zip
On 03/11/2010 7:38 AM, Joanne Cook wrote:
> Dear List,
>
> I have recently installed tinyows in ms4w (3.0 beta) on both Windows XP SP3 and Windows Server 2008 R2, but I'm having a few problems getting it working.
>
> My config is as follows:
> <tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows"
> schema_dir="C:\ms4w\apps\tinyows\schema">
>
> <pg host="***.***.***.***" user="***" password="***" dbname="***" port="***"/>
>
> <contact name="Test TinyOWS Server"
> site="http://127.0.0.1/"
> email="admin at localhost" />
>
>
> <layer retrievable="1"
> prefix="test"
> server="http://127.0.0.1/"
> name="testlayer"
> title="Test layer" />
>
> </tinyows>
>
>
> I have confirmed that my database configuration is correct and working with ogrinfo and that the user has all the correct permissions. When I try and test tinyows at the command line, it closes with a generic windows error. The apache logs show the following, which I have seen discussed in a different mail to the list:
>
> This application has requested the Runtime to terminate it in an unusual way.
> [Wed Nov 03 11:22:17 2010] [error] [client 127.0.0.1] Please contact the application's support team for more information.\r
> [Wed Nov 03 11:22:17 2010] [error] [client 127.0.0.1] File does not exist: C:/ms4w/Apache/htdocs/favicon.ico
> [Wed Nov 03 11:22:38 2010] [error] [client 127.0.0.1] Premature end of script headers: tinyows.exe
> [Wed Nov 03 11:22:38 2010] [error] [client 127.0.0.1] Assertion failed: !o->exit, file src\\ows\\ows_error.c, line 77\r
>
> I notice that when this happens, the config information shows up as @prefix@/ms4w/apps/tinyows/config.xml- which implies it's not picking up the drive letter correctly. If I set the TINYOWS_CONFIG_FILE and TINYOWS_SCHEMA_DIR environment variables in windows then tinyows --check works- up to a point!
>
> My layer should be in EPSG 27700, but shows up in tinyows as an SRID of -1. If I add the srid to the layer config then this is not picked up. When I try to run http://127.0.0.1/cgi-bin/tinyows.exe?service=wfs&request=getcapabilities&version=1.1.0 then I get the same generic windows error as above, and the same error in the apache error log.
>
> I don't have access to any windows compilation tools, so am unable to try the svn version to see if this problem still occurs. Can anyone help me?
>
> Thanks
>
> Jo
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: yassefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the TinyOWS-users
mailing list