<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&nbsp; followed : <br>
Took files from tinyows folder and kept them in their related paths like <br>
<ul>
<li>tinyows.exe under apache&gt;cgi-bin</li><li>tinyows folder under ms4w&gt;apps</li><li>httpd_tinyows under ms4w&gt;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);">&lt;tinyows online_resource=&quot;http://127.0.0.1/cgi-bin/tinyows.exe&quot;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp; schema_dir=&quot;C:/ms4w/apps/tinyows/schema/&quot; </span>
<br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp; check_schema=&quot;0&quot; </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp; log=&quot;C:/ms4w/tmp/ms_tmp/tows.log&quot; </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp; log_level=&quot;1&quot;&gt; </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp; &lt;pg host=&quot;localhost&quot; user=&quot;postgres&quot; password=&quot;admin&quot; dbname=&quot;postgis&quot; port=&quot;5432&quot;/&gt;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp; &lt;metadata name=&quot;TinyOWS Server&quot;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title=&quot;TinyOWS Server - Demo Service&quot; /&gt;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp; &lt;contact name=&quot;TinyOWS Server&quot;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; site=&quot;http://www.tinyows.org/&quot;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; email=&quot;tinyows-users@lists.maptools.org&quot; /&gt;&nbsp;&nbsp;&nbsp;
</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&lt;layer retrievable=&quot;1&quot;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; writable=&quot;0&quot;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; ns_prefix=&quot;tows&quot;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; ns_uri=&quot;http://127.0.0.1/&quot;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; prefix=&quot;tows&quot; </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; server=&quot;http://127.0.0.1/&quot; </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; schema=&quot;public&quot;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; name=&quot;maps&quot;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; title=&quot;maps&quot; /&gt;&nbsp; </span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&lt;/tinyows&gt;</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);">&lt;?xml version='1.0' encoding='UTF-8'?&gt;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&lt;ows:ExceptionReport</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;xmlns='http://www.opengis.net/ows'</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;xmlns:ows='http://www.opengis.net/ows'</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;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);">&nbsp;version='1.1.0' language='en'&gt;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&nbsp;<span style="color: rgb(255, 0, 0);">&lt;ows:Exception exceptionCode='ConnectionFailed' locator='init_OWS'&gt;</span></span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">&nbsp; &lt;ows:ExceptionText&gt;No PostGIS available in database&lt;/ows:ExceptionText&gt;</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">&nbsp;&lt;/ows:Exception&gt;</span><br style="color: rgb(0, 0, 255);">
<span style="color: rgb(0, 0, 255);">&lt;/ows:ExceptionReport&gt;</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>