[mapserver-users] Java mapscript: connection timeout

Ishwari Sivagnanam ishwari.s at gmail.com
Mon Sep 1 01:53:56 EDT 2008


Hello all,
I developed a mapserver site in Java mapscript and have run into a timeout
issue. I have tried to explain the problem as best as I can below. I am new
to web application development and mapserver so I apologize for errors in
the description.

I have two seperate mapserver pages in my website. The scripting is done
using Java Mapscript and JSP pages. The backend data comes from a
Postgresql/ PostGIS database. I developed the exact same application in PHP
and 'deployed' it. I have had no issues with that site. The Java mapscript
was developed along the same lines as the PHP application.
Both mapserver pages share ~ 10 base maps. Additionally each of these pages
has a set of thematic maps. Page 1 has 2 thematic maps of the same point
layer and a third thematic layer with a summary statistic for a polygon
layer. Page 2 has a single thematic map which displays a summary statistic
of a polygon layer. Page 1 by itself works well. Page 2 by itself works
well.
The problem occurs when
(a) page 1 and page 2 are merged or
(b) if they are deployed parallely in the same site
I get an message which says "Connection timed out".
I have tried searching the web for an answer but haven't been very
successful

Version and Specs:
----------------------------
MapServer version 5.0.0
PHP MapScript Version - ($Revision: 6872 $ $Date: 2007-09-10 10:45:30 -0400
(Mon, 10 Sep 2007) $)
PostgreSQL 8.2.3
PostGIS 1.3.2

Apache Tomcat 5.5
Java 1.6
Java mapscript - Downloaded and installed using the page in the
mapserver.umn.. website

Could somebody help me please?

Ishwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080901/3b3e6c71/attachment.html


More information about the mapserver-users mailing list