How did you compile mapserver and java mapscript (give the configure arguments exactly)? Did you use the -use-threads argument?
Have you read the docs on mapserver web site (search for java): http://mapserver.gis.umn.edu/docs/howto/javamapscript ? Regards, Umberto On 6/1/06, Frederico Lucca <[EMAIL PROTECTED]> wrote:
Hello list, After a couple of request at same time my Tomcat broke with this error: # Java VM: Java HotSpot(TM) Server VM ( 1.5.0_06-b05 mixed mode) # Problematic frame: # C [libc.so.6+0x6c91c] mempcpy+0x1c # --------------- T H R E A D --------------- Current thread (0x6d049348): JavaThread "http-8080-Processor23" daemon [_thread_in_native, id=11434] siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000 Stack: [0x6c06d000,0x6c0ee000), sp=0x6c0ebad4, free space=506k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libc.so.6+0x6c91c] mempcpy+0x1c C [libc.so.6+0x60b08] _IO_sgetn+0x28 C [libc.so.6+0x5548e] _IO_fread+0x8e C [libmapscript.so+0x6b968] msSHPOpen+0x478 C [libmapscript.so+0x6bba5] msSHPOpenFile+0x55 C [libmapscript.so+0x6bdce] msShapeFileLayerOpen+0x8e C [libmapscript.so+0x95341] msLayerOpen+0x61 C [libmapscript.so+0x86362] msQueryByPoint+0x172 C [libmapscript.so+0x57f4d] layerObj_queryByPoint+0x4d C [libmapscript.so+0x57fc1] Java_edu_umn_gis_mapscript_mapscriptJNI_layerObj_1queryByPoint+0x61 j edu.umn.gis.mapscript.mapscriptJNI.layerObj_queryByPoint(JJJID)I+0 --------------- S Y S T E M --------------- OS:Mandriva Linux release 2007.0 (Cooker) for i586 uname:Linux 2.6.16-1mdksmp #1 SMP Fri May 19 19:16:59 CEST 2006 i686 libc:glibc 2.4 NPTL 2.4 I have already heard about a problem with swig and java, how can I fix it if this is the problem? Could somebody help me? Thanks in advance, Fred -- "Everything under the sun is in tune But the sun is eclipsed by the moon"
