<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.Shkpostityyli18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">You are cross-posting. You are already in a queue in
<a href="http://gis.stackexchange.com/questions/189102/tinyows-does-not-show-vector-layer">
http://gis.stackexchange.com/questions/189102/tinyows-does-not-show-vector-layer</a> and in the mapserver-users list.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Meanwhile you could try to run TinyOWS as cgi instead of fastcgi. I think that the suggestion you got in stackexchange
 makes sense.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">vineet singh wrote:<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:14.65pt">
<span lang="EN-US" style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426">Hi Everyone,<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span lang="EN-US" style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426">I'm using tinyows server configured with config.xml file. I'm adding vector layer to config file and for the fir</span><span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426">st
 time it does not show newly added layer, but once i have restarted the tinyows server than it will show the layer.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426">So i have to restart tinyows after adding new layer. Anyone know how can I fix this so that it will work without restarting.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426">I'm </span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#222426">runing TinyOWS as fast-cgi.</span><span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426">Here is config.xml :<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426"><tinyows log="/home/vineet/Project/mygis/data/logs/wfs.log" log_level="15" online_resource="<a href="http://192.168.0.35:19090/maps" target="_blank">http://192.168.0.35:19090/maps</a>"
 schema_dir="/home/vineet/Project/mygis/data/schema"></span><o:p></o:p></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426"><pg dbname="mygis" host="localhost" password="abcd" port="19095" user="mygis"/></span><o:p></o:p></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426"><metadata name="MyGis Server" title="MyGis Server - WFS-T Service"/></span><o:p></o:p></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426"><contact email="<a href="mailto:contact@xxxx.com" target="_blank">contact@xxxx.com</a>" name="MyGis Server" site="<a href="http://www.xxxxx.com/" target="_blank">http://www.xxxxx.com/</a>"/></span><o:p></o:p></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426"><layer retrievable="1"  writable="1" ns_prefix="tows" ns_uri="<a href="http://www.vizexperts.com/" target="_blank">http://www.vizexperts.com/</a>"  name="world_boundaries"</span><o:p></o:p></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426"> title="World Borders" /></span><o:p></o:p></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426"> </tinyows></span><o:p></o:p></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background-color:rgba(248,248,248,0.6)">
<o:p> </o:p></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426">Thanks,</span><o:p></o:p></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica",sans-serif;color:#222426">Vineet Singh</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>