[mapserver-users] java mapscript + postgis = jvm crashed

Umberto Nicoletti umberto.nicoletti at gmail.com
Mon Sep 22 23:53:40 PDT 2008


I am using postgis layers (on Linux, though) and it works fine.

Do you share the same mapObj between threads (in application scope) or
multiple requests (in session scope)?
mapscript is safe only when a new mapObj is created for each request.
What other kind of layers do you have in your map?

Umberto


On Mon, Sep 22, 2008 at 10:34 PM, Ludovico Bianchini <metlud at yahoo.it> wrote:
> - Windows Vista Home Premium
> - Postgres 8.1
> - jvm 1.6.0
> - jboss 4.0.3SP1, tomcat 5.5
> - struts2
> - ms4w 2.2.3 (mapscript.jar, mapscript.dll, all other dlls taken from this pack)
> - postgresql-8.2-505.jdbc4.jar
>
> mapscript.jar is placed in C:\jboss-4.0.3SP1\server\default\deploy\jbossweb-tomcat55.sar
>
> When a layer with a postgis connection is turned on, the draw method crashes the jvm.
>
> Error file attached.
>
> Is there any solution to this problem?
>
> Postgis is listed in "unsafe components", i have not understood if there is one way to make it work using thread syncronization.
>
> Thanks in advance for any help.
>
> Ludovico
>
>
> __________________________________________________
> Do You Yahoo!?
> Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi
> http://mail.yahoo.it
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>



More information about the MapServer-users mailing list