<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19190">
</head>
<body>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="749241213-02052012">Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="749241213-02052012"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="749241213-02052012">Increase the log_level to 8 and see from the log file which SQL queries TinyOWS is sending. You can test them with psql for comparison.</span></font></div>
<div dir="ltr" align="left"><font size="2" face="Arial"><span class="749241213-02052012"><font color="#0000ff">And I suppose&nbsp;<font size="3" face="Times New Roman">it would be better to remove server=&quot;</font></font><a href="http://127.0.0.1/"><font size="3" face="Times New Roman">http://127.0.0.1/</font></a><font color="#0000ff" size="3" face="Times New Roman">&quot;&nbsp;because
 it is not used any more. </font></span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="749241213-02052012"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="749241213-02052012">-Jukka Rahkonen-</span></font></div>
<br>
<blockquote style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" dir="ltr">
<div dir="ltr" lang="fi" class="OutlookMessageHeader" align="left">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>Lähettäjä:</b> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>Puolesta </b>Riccardo Gaeta<br>
<b>Lähetetty:</b> 2. toukokuuta 2012 14:28<br>
<b>Vastaanottaja:</b> mapserver-users@lists.osgeo.org<br>
<b>Aihe:</b> [mapserver-users] [TinyOWS] No PostGIS available in database<br>
</font><br>
</div>
<div></div>
Hi all,
<div>I'm using Tinyows 1.0.0 on redhat machine, postgresql 8.4 and postgis 1.5.3. I've checked all these on the database:</div>
<div>SELECT PostGIS_Lib_Version();</div>
<div>SELECT PostGIS_LibXML_Version();</div>
<div>SELECT PostGIS_GEOS_Version();</div>
<div>SELECT PostGIS_PROJ_Version();</div>
<div><br>
</div>
<div>And all seems to answer good.</div>
<div>But when I check the tinyows I get this error:</div>
<div><br>
</div>
<div>
<div>Content-Type: application/xml</div>
<div><br>
</div>
<div>&lt;?xml version='1.0' encoding='UTF-8'?&gt;</div>
<div>&lt;ows:ExceptionReport</div>
<div>&nbsp;xmlns='<a href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>'</div>
<div>&nbsp;xmlns:ows='<a href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>'</div>
<div>&nbsp;xmlns:xsi='<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>'</div>
<div>&nbsp;xsi:schemaLocation='<a href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>
<a href="http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd</a>'</div>
<div>&nbsp;version='1.1.0' language='en'&gt;</div>
<div>&nbsp;&lt;ows:Exception exceptionCode='ConnectionFailed' locator='init_OWS'&gt;</div>
<div>&nbsp; &lt;ows:ExceptionText&gt;No PostGIS available in database&lt;/ows:ExceptionText&gt;</div>
<div>&nbsp;&lt;/ows:Exception&gt;</div>
<div>&lt;/ows:ExceptionReport&gt;</div>
</div>
<div><br>
</div>
<div>I've found an old post about this, date&nbsp;<span style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: monospace; COLOR: rgb(136,136,136); FONT-SIZE: medium">28 Mar 2012&nbsp;</span>by&nbsp;<span style="BACKGROUND-COLOR: rgb(255,255,255); FONT-SIZE: medium">Neelima
 Emmani</span>, but with no rposecution.</div>
<div><br>
</div>
<div>Anyone could help me please?</div>
<div><br>
</div>
<div>Thanks to all,</div>
<div>Riccardo</div>
<div><br>
</div>
<div>P.S.: My tinyows.xml look like this:</div>
<div><br>
</div>
<div>
<div>&lt;tinyows online_resource=&quot;<a href="http://127.0.0.1/cgi-bin/tinyows">http://127.0.0.1/cgi-bin/tinyows</a>&quot;&nbsp; schema_dir=&quot;/usr/local/share/tinyows/schema/&quot;&nbsp;log=&quot;/tmp/tinyows.log&quot;&nbsp;log_level=&quot;1&quot;&nbsp;&gt;</div>
<div><br>
</div>
<div>&nbsp; &lt;pg host=&quot;localhost&quot; user=&quot;user&quot; password=&quot;pwd&quot; dbname=&quot;dbname&quot; port=&quot;5432&quot;/&gt;</div>
<div><br>
</div>
<div>&nbsp; &lt;metadata name=&quot;TinyOWS Server&quot;&nbsp;title=&quot;TinyOWS Server - Demo Service&quot; /&gt;</div>
<div><br>
</div>
<div>&nbsp; &lt;layer retrievable=&quot;1&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;queryable=&quot;1&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;writable=&quot;0&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ns_prefix=&quot;tows&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ns_uri=&quot;<a href="http://127.0.0.1/">http://127.0.0.1/</a>&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;server=&quot;<a href="http://127.0.0.1/">http://127.0.0.1/</a>&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;name=&quot;mytable&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;schema=&quot;myschema&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;srid=&quot;900913,3785&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;title=&quot;mylayer_tiny&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;abstract=&quot;test&quot;</div>
<div>&nbsp; /&gt;</div>
<div><br>
</div>
<div>&lt;/tinyows&gt;</div>
</div>
<div><br>
</div>
</blockquote>
</body>
</html>