Hi,<br>I test your script.<br><br>This is the result of test.<br><br>----------------------------------------<br>$ test/unit_test CAPA 4<br>Content-Type: application/xml<br><br>&lt;?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?&gt;<br>
&lt;WFS_Capabilities<br>version=&#39;1.0.0&#39; updateSequence=&#39;0&#39;<br> xmlns=&#39;<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>&#39;<br> xmlns:xsi=&#39;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&#39;<br>
 xmlns:ogc=&#39;<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>&#39;<br> xsi:schemaLocation=&#39;<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a><br> <a href="http://schemas.opengis.net/wfs/1.0.0/WFS-capabilities.xsd">http://schemas.opengis.net/wfs/1.0.0/WFS-capabilities.xsd</a>&#39; &gt;<br>
 &lt;Service&gt;<br>  &lt;Name&gt;GeoPortale WFS Regione Toscana&lt;/Name&gt;<br>  &lt;Title&gt;GeoPortale WFS Regione Toscana - Servizio di test&lt;/Title&gt;<br>  &lt;OnlineResource&gt;<a href="http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows">http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows</a>&lt;/OnlineResource&gt;<br>
 &lt;/Service&gt;<br> &lt;Capability&gt;<br>  &lt;Request&gt;<br>   &lt;GetCapabilities&gt;<br>    &lt;DCPType&gt;<br>     &lt;HTTP&gt;<br>      &lt;Get onlineResource=&quot;<a href="http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows">http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows</a>?&quot;/&gt;<br>
     &lt;/HTTP&gt;<br>    &lt;/DCPType&gt;<br>    &lt;DCPType&gt;<br>     &lt;HTTP&gt;<br>      &lt;Post onlineResource=&quot;<a href="http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows">http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows</a>&quot;/&gt;<br>
     &lt;/HTTP&gt;<br>    &lt;/DCPType&gt;<br>   &lt;/GetCapabilities&gt;<br>   &lt;DescribeFeatureType&gt;<br>     &lt;SchemaDescriptionLanguage&gt;<br>        &lt;XMLSCHEMA/&gt;<br>     &lt;/SchemaDescriptionLanguage&gt;<br>
    &lt;DCPType&gt;<br>     &lt;HTTP&gt;<br>      &lt;Get onlineResource=&quot;<a href="http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows">http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows</a>?&quot;/&gt;<br>
     &lt;/HTTP&gt;<br>    &lt;/DCPType&gt;<br>    &lt;DCPType&gt;<br>     &lt;HTTP&gt;<br>      &lt;Post onlineResource=&quot;<a href="http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows">http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows</a>&quot;/&gt;<br>
     &lt;/HTTP&gt;<br>    &lt;/DCPType&gt;<br>   &lt;/DescribeFeatureType&gt;<br>   &lt;GetFeature&gt;<br>&lt;ResultFormat&gt;<br>&lt;GML2/&gt;<br>&lt;/ResultFormat&gt;<br>    &lt;DCPType&gt;<br>     &lt;HTTP&gt;<br>      &lt;Get onlineResource=&quot;<a href="http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows">http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows</a>?&quot;/&gt;<br>
     &lt;/HTTP&gt;<br>    &lt;/DCPType&gt;<br>    &lt;DCPType&gt;<br>     &lt;HTTP&gt;<br>      &lt;Post onlineResource=&quot;<a href="http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows">http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows</a>&quot;/&gt;<br>
     &lt;/HTTP&gt;<br>    &lt;/DCPType&gt;<br>   &lt;/GetFeature&gt;<br>   &lt;Transaction&gt;<br>    &lt;DCPType&gt;<br>     &lt;HTTP&gt;<br>      &lt;Get onlineResource=&quot;<a href="http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows">http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows</a>?&quot;/&gt;<br>
     &lt;/HTTP&gt;<br>    &lt;/DCPType&gt;<br>    &lt;DCPType&gt;<br>     &lt;HTTP&gt;<br>      &lt;Post onlineResource=&quot;<a href="http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows">http://copernico3.regione.toscana.it:8081/geoportale/cgi-bin-ows/tinyows</a>&quot;/&gt;<br>
     &lt;/HTTP&gt;<br>    &lt;/DCPType&gt;<br>   &lt;/Transaction&gt;<br>  &lt;/Request&gt;<br> &lt;/Capability&gt;<br> &lt;FeatureTypeList&gt;<br>  &lt;Operations&gt;<br>   &lt;Query/&gt;<br>  &lt;/Operations&gt;<br>&lt;FeatureType xmlns:idcomuni=&quot;<a href="http://www.tinyows.org/">http://www.tinyows.org/</a>&quot;&gt;<br>
  &lt;Name&gt;idcomuni:am_com_region_am_com&lt;/Name&gt;<br>  &lt;Title&gt;Limiti Comunali della Regione Toscana&lt;/Title&gt;<br>  &lt;Abstract&gt;blah blah blah&lt;/Abstract&gt;<br>test/unit_test: line 46:  3784 Segmentation fault      (core dumped) ./tinyows<br>
$<br>-----------------------------------------------<br><br><br><br><div class="gmail_quote">2011/8/31 Olivier Courtin <span dir="ltr">&lt;<a href="mailto:olivier.courtin@gmail.com">olivier.courtin@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, Aug 31, 2011 at 7:06 PM, Andrea Peri &lt;<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>&gt; wrote:<br>

<br>
&gt; <a href="http://server:8081/cgi-bin/tinyows" target="_blank">http://server:8081/cgi-bin/tinyows</a>?&quot;service=wfs&amp;request=GetCapabilities&amp;version=1.0.0<br>
&gt;<br>
&gt; And the new response if this:<br>
&gt;<br>
&gt; Internal Server Error<br>
<br>
</div>So we progress, it seems not something related to your Tomcat ^^<br>
<br>
Could you try on command line following actions:<br>
<br>
$ cd your_tinyows_dir<br>
$ echo &quot;service=wfs&amp;request=GetCapabilities&amp;version=1.0.0&quot; &gt; CAPA<br>
$ test/unit_test CAPA 4<br>
<br>
Could you also provide the whole TinyOWS config file ?<br>
<br>
Tks<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Olivier<br>
_______________________________________________<br>
TinyOWS-users mailing list<br>
<a href="mailto:TinyOWS-users@lists.maptools.org">TinyOWS-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/tinyows-users" target="_blank">http://lists.maptools.org/mailman/listinfo/tinyows-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br><br>