<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">I removed all the layers that use OGR connection but that didn&#39;t solve the problem either. <br><br>But we did isolate the problem to two particular layers: There are two thematic maps that &#39;cannot&#39; coexist. The timeout occurs only when those two layers come into the picture. I can display only one of these two thematic maps. Each of these layers
contains about 100 polygons and are joined to tables which contain
about 600 records. I am at a complete loss!!!!<br><br>I have pasted the map file specs for those two layers below. I have also attached my most recent hs_err*.log.<br><br>This time I also set DEBUG 5 in my mapfile and interestingly the &quot;ms_error.txt&quot; has no entries after the timeout occurs. There are no errors reported there.<br>

<br>I do have some mapserver questions:<br>1) If I have 5 POSTGIS layer definitions and 7 Mapinfo layers(which I removed) in a mapfile does that mean that I have 12 connections that are made or is this considered a single connection?<br>

<br>2) Does Java Mapscript have a limit on the number of records that it can retrieve per request?<br><br>3) What happens between Mapserver, Java Mapscript and JVM? My hs_err*.log always mentions this.<br><br>4) If I have more than one &#39;map&#39; page do the following situations make a difference:<br>

&nbsp; (i) have individual .jsp/.java page pairs for each map page (all the java pages have the same mapscript code, but different mapfiles)<br>&nbsp; (ii) have individual .jsp pages for each map page(so two map pages would mean 2 jsp pages) but have a single java page which calls different mapfiles or different functions based on the jsp page the url request comes from.<br>

<br>I have the exact same pages running in PHP with no issue. <br><br>Any and all help is appreciated,<br>Thanks,<br>Ishwari<br><br><br>-----------------------------------&nbsp;&nbsp; layer details from Mapfile -----------------------------------------------------------<br>

<br>#*******************************<br>#* layer definition area1&nbsp;&nbsp;&nbsp;&nbsp; *<br>#******************************* <br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE POSTGIS<br>&nbsp;&nbsp;&nbsp; NAME &quot;rspropn&quot;<br>&nbsp;&nbsp;&nbsp; CONNECTION &quot;host=localhost user=postgres password=xxxxx dbname=xxxxx port=5432&quot;<br>

&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp; &nbsp; &quot;DESCRIPTION&quot; &quot;Density by area1&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp; &quot;GNAME&quot; &quot;Thematic Maps&quot;<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; GROUP Thematic<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; DATA &#39;wkb_geometry FROM (select ROUND(CAST (&quot;Seretailerpropn&quot; as numeric),2)as seppn ,* from &quot;gsduplarea1&quot; AS a, &quot;GSSummaryRetailer&quot; as b&nbsp; WHERE a.&quot;ExecutiveCode&quot; = b.&quot;Executivecode&quot;) as test using unique ogc_fid using unique wkb_geometry using SRID=4326&#39;<br>

<br>&nbsp;&nbsp;&nbsp; STATUS OFF<br>&nbsp;&nbsp;&nbsp; TYPE POLYGON<br><br>&nbsp;&nbsp;&nbsp; HEADER &#39;/ms4w/apps/xxxxxxxx/templates/area12_header.html&#39;<br>&nbsp;&nbsp;&nbsp; FOOTER &#39;/ms4w/apps/xxxxxxxx/templates/area12_footer.html&#39;<br><br><br>&nbsp;&nbsp;&nbsp; CLASSITEM &quot;seppn&quot;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; CLASS # CLASS 1: 0% - 0.5%<br>&nbsp;&nbsp;&nbsp; NAME &quot;0% - 0.5%&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION ([seppn]GE 0 AND [seppn]LE 0.5)<br>&nbsp;&nbsp;&nbsp; TEMPLATE &#39;/ms4w/apps/xxxxxxxx/templates/area12_query.html&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; STYLE<br>

&nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp; WIDTH 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 160 208 255<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp; <br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; CLASS # CLASS 2: 1.0% - 2.0%<br>&nbsp;&nbsp;&nbsp; NAME &quot;0.5% - 2.0%&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION ([seppn]GT 0.5 AND [seppn]LE 2.0 )<br>

&nbsp;&nbsp;&nbsp; TEMPLATE &#39;/ms4w/apps/xxxxxxxx/templates/area12_query.html&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp; WIDTH 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 128 160 255<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; CLASS # CLASS 3: 2.0% - 5.0%<br>

&nbsp;&nbsp;&nbsp; NAME &quot;2.0% - 5.0%&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION ([seppn]GT 2.0 AND [seppn]LE 5.0 )<br>&nbsp;&nbsp;&nbsp; TEMPLATE &#39;/ms4w/apps/xxxxxxxx/templates/area12_query.html&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp; WIDTH 10<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 80 96 255<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; CLASS # CLASS 4: 5.0% - 25.0%<br>&nbsp;&nbsp;&nbsp; NAME &quot;5.0% - 25.0%&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION ([seppn]GT 5.0 AND [seppn]LE 25 )<br>&nbsp;&nbsp;&nbsp; TEMPLATE &#39;/ms4w/apps/xxxxxxxx/templates/area12_query.html&#39;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp; WIDTH 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 48 48 255<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; END <br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; CLASS # CLASS 5: 25% - 50%<br>&nbsp;&nbsp;&nbsp; NAME &quot;25% - 50%&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION ([seppn]GT 25.0 AND [seppn]LE 50)<br>

&nbsp;&nbsp;&nbsp; TEMPLATE &#39;/ms4w/apps/xxxxxxxx/templates/area12_query.html&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp; WIDTH 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 255<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; END <br>&nbsp;&nbsp;&nbsp;&nbsp; CLASS # CLASS 6: value GE 51<br>

&nbsp;&nbsp;&nbsp; NAME &quot;50% or more&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION ([seppn] GE 51 )<br>&nbsp;&nbsp;&nbsp; TEMPLATE &#39;/ms4w/apps/xxxxxxxx/templates/area12_query.html&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp; WIDTH 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 255<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; END <br><br>&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp; wkb_geometry_type &quot;wkb_geometry |geometry&quot;<br>&nbsp;&nbsp;&nbsp; END<br><br>&nbsp;&nbsp; END # end layer area1<br><br><br>#*******************************<br>#* layer definition sales&nbsp;&nbsp;&nbsp;&nbsp; *<br>

#******************************* <br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE POSTGIS<br>&nbsp;&nbsp;&nbsp; NAME &quot;sales&quot;<br>&nbsp;&nbsp;&nbsp; CONNECTION &quot;host=localhost user=postgres password=xxxxxxx dbname=GISXONTUserxxxxxxxx port=5432&quot;<br>

&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp; &nbsp; &quot;DESCRIPTION&quot; &quot;% of Sales(August &#39;08)&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &quot;GNAME&quot; &quot;Thematic Maps&quot;<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; GROUP Thematic<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; DATA &#39;wkb_geometry FROM (select ROUND(CAST (sepropn as numeric),2)as test,* from &quot;GSExecutiveArea&quot; AS a, &quot;GSExecutiveMonthlySalesSummary&quot; As b Where a.&quot;ExecutiveCode&quot; = b.executivecode) as sesales using unique ogc_fid using unique wkb_geometry using SRID=4326&#39;<br>

<br>&nbsp;&nbsp;&nbsp; STATUS OFF<br>&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>&nbsp;&nbsp;&nbsp; #PROCESSING &quot;CLOSE_CONNECTION=DEFER&quot;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; FILTER &quot;intperiod =200808&quot;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; HEADER &#39;/ms4w/apps/xxxxxxxx/templates/SEArea_header.html&#39;<br>

&nbsp;&nbsp;&nbsp; FOOTER &#39;/ms4w/apps/xxxxxxxx/templates/SEArea_footer.html&#39;<br><br>&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp; #query_returned_attributes &#39;&quot;ExecutiveCode&quot;&#39;<br>&nbsp;&nbsp;&nbsp; wkb_geometry_type &quot;wkb_geometry |geometry&quot;<br>

&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; DEBUG ON<br>&nbsp;&nbsp;&nbsp; CLASSITEM &quot;sepropn&quot;<br>&nbsp;&nbsp;&nbsp; #LABELITEM &quot;executivecode&quot;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; CLASS # CLASS 1: No data<br>&nbsp;&nbsp;&nbsp; NAME &quot;0% - 0.5%&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION ([sepropn]GE 0 AND [sepropn]LT 0.5)<br>

&nbsp;&nbsp;&nbsp; TEMPLATE &#39;/ms4w/apps/xxxxxxxx/templates/SEArea_query.html&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEBUG ON<br><br>&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp; WIDTH 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 255 208<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp; <br>

&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; CLASS # CLASS 2: 0 - 10%<br>&nbsp;&nbsp;&nbsp; NAME &quot;0.5% - 1.0%&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION ([sepropn]GE 0.5 AND [sepropn]LT 1.0 )<br>&nbsp;&nbsp;&nbsp; TEMPLATE &#39;/ms4w/apps/xxxxxxxx/templates/SEArea_query.html&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEBUG ON<br>

<br>&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp; WIDTH 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 192 240 176<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; CLASS # CLASS 3: 10 LT value LE 15<br>&nbsp;&nbsp;&nbsp; NAME &quot;1.0% - 2.0%&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION ([sepropn]GE 1.0 AND [sepropn]LT 2.0 )<br>

&nbsp;&nbsp;&nbsp; TEMPLATE &#39;/ms4w/apps/xxxxxxxx/templates/SEArea_query.html&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEBUG ON<br><br>&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp; WIDTH 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 128 208 144<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;&nbsp;&nbsp;&nbsp; <br>

&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; CLASS # CLASS 4: value GE 51<br>&nbsp;&nbsp;&nbsp; NAME &quot;2.0% - 5.0%&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION ([sepropn]GE 2.0 AND [sepropn]LT 5 )<br>&nbsp;&nbsp;&nbsp; TEMPLATE &#39;/ms4w/apps/xxxxxxxx/templates/SEArea_query.html&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEBUG ON<br>

<br>&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp; WIDTH 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 160 80<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp;&nbsp; END <br><br>&nbsp;&nbsp;&nbsp; CLASS # CLASS 6: value GE 5<br>&nbsp;&nbsp;&nbsp; NAME &quot;5% or more&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION ([sepropn] GE 5 )<br>

&nbsp;&nbsp;&nbsp; TEMPLATE &#39;/ms4w/apps/xxxxxxxx/templates/SEArea_query.html&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEBUG ON<br><br>&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp; WIDTH 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 160 80<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp;&nbsp; END <br>&nbsp;END # end layer SEArea<br>

<br>-----------------------------------&nbsp;&nbsp; layer details from Mapfile -----------------------------------------------------------<div><div></div><div class="Wj3C7c"><br><br><br><br><br><br><div class="gmail_quote">On Mon, Sep 1, 2008 at 5:53 PM, Umberto Nicoletti <span dir="ltr">&lt;<a href="mailto:umberto.nicoletti@gmail.com" target="_blank">umberto.nicoletti@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I would start by removing the ogr layers: move them to postgis or even<br>
better to shapefiles using the ogr2ogr utility.<br>
Try to have only shapefiles or postgis layers in your mapfiles and see<br>
if that helps. Disabling the ogr component is not strictly necessary<br>
(even thouh it is recommended) provided that you do not use it.<br>
<br>
Regards,<br>
<font color="#888888">Umberto<br>
</font><div><div></div><div><br>
On Mon, Sep 1, 2008 at 1:28 PM, Ishwari Sivagnanam &lt;<a href="mailto:ishwari.s@gmail.com" target="_blank">ishwari.s@gmail.com</a>&gt; wrote:<br>
&gt; Given below are the specs for what I have installed on my machine. I<br>
&gt; downloaded and installed the ms4w package with the windows installer. So I<br>
&gt; haven&#39;t done any builds. And I haven&#39;t removed any dlls.<br>
&gt;<br>
&gt; I added the ntwdblib.dll to the cgi-bin folder. I believe this is used to<br>
&gt; connect SQL server and PHP. The data was originally in SQL server before I<br>
&gt; moved it all to Postgres.<br>
&gt;<br>
&gt; OS: Windows XP<br>
&gt; gcc version : don&#39;t know what this is<br>
&gt; MapServer: version 5.0.0<br>
&gt; Java : JDK 1.6 (NetBeans IDE 5.5.1)<br>
&gt; Java mapscript - the .dll and .jar file that are part of the ms4w package<br>
&gt; Apache Tomcat 5.5<br>
&gt;<br>
&gt; Other:<br>
&gt; --------<br>
&gt; PHP MapScript Version - ($Revision: 6872 $ $Date: 2007-09-10 10:45:30 -0400<br>
&gt; (Mon, 10 Sep 2007) $)<br>
&gt; ogr: i use the ogr2ogr library to call MapInfo layers<br>
&gt;<br>
&gt; Database:<br>
&gt; --------------<br>
&gt; PostgreSQL 8.2.3<br>
&gt; PostGIS 1.3.2<br>
&gt;<br>
&gt; I read through the howto document that you pointed me to. I will check on<br>
&gt; the connection pooling.<br>
&gt;<br>
&gt; Unsafe components: I do use the ogr library since I have mapInfo files. I<br>
&gt; can move them to postgis. But I don&#39;t know how to disable the components.<br>
&gt; Since I didn&#39;t compile Java Mapscript I don&#39;t know how to fix this.<br>
&gt;<br>
&gt; Please find attached the most recent hs_err*.log from my machine.<br>
&gt;<br>
&gt; Thanks for your help<br>
&gt; :-)<br>
&gt;<br>
&gt; Ishwari<br>
&gt;<br>
&gt; On Mon, Sep 1, 2008 at 2:51 PM, Umberto Nicoletti<br>
&gt; &lt;<a href="mailto:umberto.nicoletti@gmail.com" target="_blank">umberto.nicoletti@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Ok, now we&#39;re getting somewhere, but I need more information.<br>
&gt;&gt; Read the fine manual (all of it, twice ;-)) at:<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://mapserver.gis.umn.edu/docs/howto/javamapscript" target="_blank">http://mapserver.gis.umn.edu/docs/howto/javamapscript</a><br>
&gt;&gt;<br>
&gt;&gt; and report all the information it mentions in the last section.<br>
&gt;&gt; In particular I need to know if you compiled java mapscript by<br>
&gt;&gt; yourself or used the ms4w packages.<br>
&gt;&gt; Also make sure you attach the hs_err*.log files.<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Umberto<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Sep 1, 2008 at 11:04 AM, Ishwari Sivagnanam &lt;<a href="mailto:ishwari.s@gmail.com" target="_blank">ishwari.s@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; The error message is the standard &quot;Connection timeout&quot; or &quot;Unable to<br>
&gt;&gt; &gt; connect&quot; page that appears in Firefox and the &#39;page not available&#39; (I<br>
&gt;&gt; &gt; couldn&#39;t attach a screen capture). The platform is windows XP.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; &nbsp;Ocassionally loading the application stops Tomcat completely.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Should I send the error log ?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks,<br>
&gt;&gt; &gt; Ishwari<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Mon, Sep 1, 2008 at 12:32 PM, Umberto Nicoletti<br>
&gt;&gt; &gt; &lt;<a href="mailto:umberto.nicoletti@gmail.com" target="_blank">umberto.nicoletti@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Please post the exact error message and architecture you&#39;re running<br>
&gt;&gt; &gt;&gt; (version of Windows, linux, etc)?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Umberto<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Mon, Sep 1, 2008 at 7:53 AM, Ishwari Sivagnanam<br>
&gt;&gt; &gt;&gt; &lt;<a href="mailto:ishwari.s@gmail.com" target="_blank">ishwari.s@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt; Hello all,<br>
&gt;&gt; &gt;&gt; &gt; I developed a mapserver site in Java mapscript and have run into a<br>
&gt;&gt; &gt;&gt; &gt; timeout<br>
&gt;&gt; &gt;&gt; &gt; issue. I have tried to explain the problem as best as I can below. I<br>
&gt;&gt; &gt;&gt; &gt; am<br>
&gt;&gt; &gt;&gt; &gt; new<br>
&gt;&gt; &gt;&gt; &gt; to web application development and mapserver so I apologize for<br>
&gt;&gt; &gt;&gt; &gt; errors<br>
&gt;&gt; &gt;&gt; &gt; in<br>
&gt;&gt; &gt;&gt; &gt; the description.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; I have two seperate mapserver pages in my website. The scripting is<br>
&gt;&gt; &gt;&gt; &gt; done<br>
&gt;&gt; &gt;&gt; &gt; using Java Mapscript and JSP pages. The backend data comes from a<br>
&gt;&gt; &gt;&gt; &gt; Postgresql/ PostGIS database. I developed the exact same application<br>
&gt;&gt; &gt;&gt; &gt; in<br>
&gt;&gt; &gt;&gt; &gt; PHP<br>
&gt;&gt; &gt;&gt; &gt; and &#39;deployed&#39; it. I have had no issues with that site. The Java<br>
&gt;&gt; &gt;&gt; &gt; mapscript<br>
&gt;&gt; &gt;&gt; &gt; was developed along the same lines as the PHP application.<br>
&gt;&gt; &gt;&gt; &gt; Both mapserver pages share ~ 10 base maps. Additionally each of these<br>
&gt;&gt; &gt;&gt; &gt; pages<br>
&gt;&gt; &gt;&gt; &gt; has a set of thematic maps. Page 1 has 2 thematic maps of the same<br>
&gt;&gt; &gt;&gt; &gt; point<br>
&gt;&gt; &gt;&gt; &gt; layer and a third thematic layer with a summary statistic for a<br>
&gt;&gt; &gt;&gt; &gt; polygon<br>
&gt;&gt; &gt;&gt; &gt; layer. Page 2 has a single thematic map which displays a summary<br>
&gt;&gt; &gt;&gt; &gt; statistic<br>
&gt;&gt; &gt;&gt; &gt; of a polygon layer. Page 1 by itself works well. Page 2 by itself<br>
&gt;&gt; &gt;&gt; &gt; works<br>
&gt;&gt; &gt;&gt; &gt; well.<br>
&gt;&gt; &gt;&gt; &gt; The problem occurs when<br>
&gt;&gt; &gt;&gt; &gt; (a) page 1 and page 2 are merged or<br>
&gt;&gt; &gt;&gt; &gt; (b) if they are deployed parallely in the same site<br>
&gt;&gt; &gt;&gt; &gt; I get an message which says &quot;Connection timed out&quot;.<br>
&gt;&gt; &gt;&gt; &gt; I have tried searching the web for an answer but haven&#39;t been very<br>
&gt;&gt; &gt;&gt; &gt; successful<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Version and Specs:<br>
&gt;&gt; &gt;&gt; &gt; ----------------------------<br>
&gt;&gt; &gt;&gt; &gt; MapServer version 5.0.0<br>
&gt;&gt; &gt;&gt; &gt; PHP MapScript Version - ($Revision: 6872 $ $Date: 2007-09-10 10:45:30<br>
&gt;&gt; &gt;&gt; &gt; -0400<br>
&gt;&gt; &gt;&gt; &gt; (Mon, 10 Sep 2007) $)<br>
&gt;&gt; &gt;&gt; &gt; PostgreSQL 8.2.3<br>
&gt;&gt; &gt;&gt; &gt; PostGIS 1.3.2<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Apache Tomcat 5.5<br>
&gt;&gt; &gt;&gt; &gt; Java 1.6<br>
&gt;&gt; &gt;&gt; &gt; Java mapscript - Downloaded and installed using the page in the<br>
&gt;&gt; &gt;&gt; &gt; mapserver.umn.. website<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Could somebody help me please?<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Ishwari<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; &gt; mapserver-users mailing list<br>
&gt;&gt; &gt;&gt; &gt; <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
&gt;&gt; &gt;&gt; &gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; mapserver-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
&gt;&gt; &gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div></div></div>
</div><br></div>