<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi all,
<br>
I am trying to install tinyows in my ms4w package. First of all, I am new to this tinyows.
<br>
Process followed : <br>
Took files from tinyows folder and kept them in their related paths like <br>
<ul>
<li>tinyows.exe under apache>cgi-bin</li><li>tinyows folder under ms4w>apps</li><li>httpd_tinyows under ms4w>httpd.d and also set the tinyows environment in ms4w/Apache/conf/httpd.conf using statements from httpd_tinyows</li><li>configuration - To configure made changes in the config.xml which is under tinyows folder. There i have my dbname , username, password and layername as follows -
<br>
</li></ul>
<div>
<div style="margin-left: 80px;"><span style="color: rgb(0, 0, 255);"><tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows.exe"</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> schema_dir="C:/ms4w/apps/tinyows/schema/" </span>
<br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> check_schema="0" </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> log="C:/ms4w/tmp/ms_tmp/tows.log" </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> log_level="1"> </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> <pg host="localhost" user="postgres" password="admin" dbname="postgis" port="5432"/></span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> <metadata name="TinyOWS Server"</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> title="TinyOWS Server - Demo Service" /></span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> <contact name="TinyOWS Server"</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> site="http://www.tinyows.org/"</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> email="tinyows-users@lists.maptools.org" />
</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"><layer retrievable="1"</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> writable="0"</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> ns_prefix="tows"</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> ns_uri="http://127.0.0.1/"</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> prefix="tows" </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> server="http://127.0.0.1/" </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> schema="public"</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> name="maps"</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> title="maps" /> </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"></tinyows></span><br>
</div>
<ul>
<li>And then i opened cmd, went to the cgi-bin path and said tinyows --check. Then an exception is thrown as follows --<br>
</li></ul>
<div style="margin-left: 80px;"><span style="color: rgb(0, 0, 255);"><?xml version='1.0' encoding='UTF-8'?></span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"><ows:ExceptionReport</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> xmlns='http://www.opengis.net/ows'</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> xmlns:ows='http://www.opengis.net/ows'</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> xsi:schemaLocation='http://www.opengis.net/ows http://schemas.opengis.net/ows/1</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">.0.0/owsExceptionReport.xsd'</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> version='1.1.0' language='en'></span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"> <span style="color: rgb(255, 0, 0);"><ows:Exception exceptionCode='ConnectionFailed' locator='init_OWS'></span></span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"> <ows:ExceptionText>No PostGIS available in database</ows:ExceptionText></span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"> </ows:Exception></span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);"></ows:ExceptionReport></span><br>
<br>
Can anyone suggest where is the problem. Usernmae, password, dbname and hostname are correct . there is no mistake in that. Do i need top do any further settings. Please suugest me , if any idea.
<br>
<br>
</div>
Awaiting reply.<br>
<div style="margin-left: 40px;"><br>
</div>
<div style="font-family: Tahoma; font-size: 13px;">With Regards,<br>
Neelima Emmani<br>
</div>
</div>
</div>
</body>
</html>