<div dir="ltr">Given below are the specs for what I have installed on my machine. I downloaded and installed the ms4w package with the windows installer. So I haven&#39;t done any builds. And I haven&#39;t removed any dlls. <br>

<br>I added the ntwdblib.dll to the cgi-bin folder. I believe this is used to connect SQL server and PHP. The data was originally in SQL server before I moved it all to Postgres.<br><br>OS: Windows XP<br>gcc version : don&#39;t know what this is<br>

MapServer: version 5.0.0<br>Java : JDK 1.6 (NetBeans IDE 5.5.1)<br>Java mapscript - the .dll and .jar file that are part of the ms4w package<br>Apache Tomcat 5.5<br><br>Other:<br>--------<br>PHP MapScript Version - ($Revision: 6872 $ $Date: 2007-09-10 10:45:30 -0400 (Mon, 10 Sep 2007) $)<br>

ogr: i use the ogr2ogr library to call MapInfo layers<br><br>Database:<br>--------------<br>PostgreSQL 8.2.3<br>PostGIS 1.3.2<br><br>I read through the howto document that you pointed me to. I will check on the connection pooling. <br>
<br>Unsafe components: I do use the ogr library since I have mapInfo files. I can move them to postgis. But I don&#39;t know how to disable the components. Since I didn&#39;t compile Java Mapscript I don&#39;t know how to fix this.<br>
<br>Please find attached the most recent hs_err*.log from my machine.<br><br>Thanks for your help <br>:-)<br><br>Ishwari<br><br><div class="gmail_quote">On Mon, Sep 1, 2008 at 2:51 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;">Ok, now we&#39;re getting somewhere, but I need more information.<br>
Read the fine manual (all of it, twice ;-)) at:<br>
<br>
<a href="http://mapserver.gis.umn.edu/docs/howto/javamapscript" target="_blank">http://mapserver.gis.umn.edu/docs/howto/javamapscript</a><br>
<br>
and report all the information it mentions in the last section.<br>
In particular I need to know if you compiled java mapscript by<br>
yourself or used the ms4w packages.<br>
Also make sure you attach the hs_err*.log files.<br>
<br>
Regards,<br>
<font color="#888888">Umberto<br>
</font><div><div></div><div><br>
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; wrote:<br>
&gt; The error message is the standard &quot;Connection timeout&quot; or &quot;Unable to<br>
&gt; connect&quot; page that appears in Firefox and the &#39;page not available&#39; (I<br>
&gt; couldn&#39;t attach a screen capture). The platform is windows XP.<br>
&gt;<br>
&gt; &nbsp;Ocassionally loading the application stops Tomcat completely.<br>
&gt;<br>
&gt; Should I send the error log ?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Ishwari<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Sep 1, 2008 at 12:32 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; Please post the exact error message and architecture you&#39;re running<br>
&gt;&gt; (version of Windows, linux, etc)?<br>
&gt;&gt;<br>
&gt;&gt; Umberto<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Sep 1, 2008 at 7:53 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; Hello all,<br>
&gt;&gt; &gt; I developed a mapserver site in Java mapscript and have run into a<br>
&gt;&gt; &gt; timeout<br>
&gt;&gt; &gt; issue. I have tried to explain the problem as best as I can below. I am<br>
&gt;&gt; &gt; new<br>
&gt;&gt; &gt; to web application development and mapserver so I apologize for errors<br>
&gt;&gt; &gt; in<br>
&gt;&gt; &gt; the description.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I have two seperate mapserver pages in my website. The scripting is done<br>
&gt;&gt; &gt; using Java Mapscript and JSP pages. The backend data comes from a<br>
&gt;&gt; &gt; Postgresql/ PostGIS database. I developed the exact same application in<br>
&gt;&gt; &gt; PHP<br>
&gt;&gt; &gt; and &#39;deployed&#39; it. I have had no issues with that site. The Java<br>
&gt;&gt; &gt; mapscript<br>
&gt;&gt; &gt; was developed along the same lines as the PHP application.<br>
&gt;&gt; &gt; Both mapserver pages share ~ 10 base maps. Additionally each of these<br>
&gt;&gt; &gt; pages<br>
&gt;&gt; &gt; has a set of thematic maps. Page 1 has 2 thematic maps of the same point<br>
&gt;&gt; &gt; layer and a third thematic layer with a summary statistic for a polygon<br>
&gt;&gt; &gt; layer. Page 2 has a single thematic map which displays a summary<br>
&gt;&gt; &gt; statistic<br>
&gt;&gt; &gt; of a polygon layer. Page 1 by itself works well. Page 2 by itself works<br>
&gt;&gt; &gt; well.<br>
&gt;&gt; &gt; The problem occurs when<br>
&gt;&gt; &gt; (a) page 1 and page 2 are merged or<br>
&gt;&gt; &gt; (b) if they are deployed parallely in the same site<br>
&gt;&gt; &gt; I get an message which says &quot;Connection timed out&quot;.<br>
&gt;&gt; &gt; I have tried searching the web for an answer but haven&#39;t been very<br>
&gt;&gt; &gt; successful<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Version and Specs:<br>
&gt;&gt; &gt; ----------------------------<br>
&gt;&gt; &gt; MapServer version 5.0.0<br>
&gt;&gt; &gt; PHP MapScript Version - ($Revision: 6872 $ $Date: 2007-09-10 10:45:30<br>
&gt;&gt; &gt; -0400<br>
&gt;&gt; &gt; (Mon, 10 Sep 2007) $)<br>
&gt;&gt; &gt; PostgreSQL 8.2.3<br>
&gt;&gt; &gt; PostGIS 1.3.2<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Apache Tomcat 5.5<br>
&gt;&gt; &gt; Java 1.6<br>
&gt;&gt; &gt; Java mapscript - Downloaded and installed using the page in the<br>
&gt;&gt; &gt; mapserver.umn.. website<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Could somebody help me please?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Ishwari<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>