[TinyOWS-users] Problems with ms4w version
j.cook at oxfordarch.co.uk
Wed Nov 3 06:38:26 EST 2010
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:
<pg host="***.***.***.***" user="***" password="***" dbname="***" port="***"/>
<contact name="Test TinyOWS Server"
email="admin at localhost" />
title="Test layer" />
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?
Senior IT Support and Development
Oxford Archaeology (North)
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.
More information about the TinyOWS-users