[mapserver-users] Java mapscript: connection timeout
Ishwari Sivagnanam
ishwari.s at gmail.com
Mon Sep 1 04:28:38 PDT 2008
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't done any builds. And I haven't removed any dlls.
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.
OS: Windows XP
gcc version : don't know what this is
MapServer: version 5.0.0
Java : JDK 1.6 (NetBeans IDE 5.5.1)
Java mapscript - the .dll and .jar file that are part of the ms4w package
Apache Tomcat 5.5
Other:
--------
PHP MapScript Version - ($Revision: 6872 $ $Date: 2007-09-10 10:45:30 -0400
(Mon, 10 Sep 2007) $)
ogr: i use the ogr2ogr library to call MapInfo layers
Database:
--------------
PostgreSQL 8.2.3
PostGIS 1.3.2
I read through the howto document that you pointed me to. I will check on
the connection pooling.
Unsafe components: I do use the ogr library since I have mapInfo files. I
can move them to postgis. But I don't know how to disable the components.
Since I didn't compile Java Mapscript I don't know how to fix this.
Please find attached the most recent hs_err*.log from my machine.
Thanks for your help
:-)
Ishwari
On Mon, Sep 1, 2008 at 2:51 PM, Umberto Nicoletti <
umberto.nicoletti at gmail.com> wrote:
> Ok, now we're getting somewhere, but I need more information.
> Read the fine manual (all of it, twice ;-)) at:
>
> http://mapserver.gis.umn.edu/docs/howto/javamapscript
>
> and report all the information it mentions in the last section.
> In particular I need to know if you compiled java mapscript by
> yourself or used the ms4w packages.
> Also make sure you attach the hs_err*.log files.
>
> Regards,
> Umberto
>
> On Mon, Sep 1, 2008 at 11:04 AM, Ishwari Sivagnanam <ishwari.s at gmail.com>
> wrote:
> > The error message is the standard "Connection timeout" or "Unable to
> > connect" page that appears in Firefox and the 'page not available' (I
> > couldn't attach a screen capture). The platform is windows XP.
> >
> > Ocassionally loading the application stops Tomcat completely.
> >
> > Should I send the error log ?
> >
> > Thanks,
> > Ishwari
> >
> >
> >
> >
> >
> > On Mon, Sep 1, 2008 at 12:32 PM, Umberto Nicoletti
> > <umberto.nicoletti at gmail.com> wrote:
> >>
> >> Please post the exact error message and architecture you're running
> >> (version of Windows, linux, etc)?
> >>
> >> Umberto
> >>
> >> On Mon, Sep 1, 2008 at 7:53 AM, Ishwari Sivagnanam <ishwari.s at gmail.com
> >
> >> wrote:
> >> > 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
> >> >
> >> >
> >> > _______________________________________________
> >> > mapserver-users mailing list
> >> > mapserver-users at lists.osgeo.org
> >> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >> >
> >> >
> >
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080901/fdf83f1c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hs_err_pid5892.log
Type: application/octet-stream
Size: 16605 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080901/fdf83f1c/attachment.obj>
More information about the MapServer-users
mailing list