Umberto,<br><br>Yes, I build using --with-threads --with-ogr --with-proj<br>Now i will try to make the interface with a newer version of swig.<br>I have read your article and I will try to follow him step by step.<br><br>Another question, I still need to syncronize my code?
<br><br>Thanks,<br><br>Fred<br><br><div><span class="gmail_quote">On 6/1/06, <b class="gmail_sendername">Umberto Nicoletti</b> <<a href="mailto:umberto.nicoletti@gmail.com">umberto.nicoletti@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">How did you compile mapserver and java mapscript (give the configure<br>arguments exactly)? Did you use the -use-threads argument?
<br><br>Have you read the docs on mapserver web site (search for java):<br><a href="http://mapserver.gis.umn.edu/docs/howto/javamapscript">http://mapserver.gis.umn.edu/docs/howto/javamapscript</a> ?<br><br>Regards,<br>Umberto
<br><br><br><br>On 6/1/06, Frederico Lucca <<a href="mailto:fredlucca@gmail.com">fredlucca@gmail.com</a>> wrote:<br>> Hello list,<br>><br>> After a couple of request at same time my Tomcat broke with this error:
<br>><br>> # Java VM: Java HotSpot(TM) Server VM (<br>> 1.5.0_06-b05 mixed mode)<br>><br>> # Problematic frame:<br>> # C [libc.so.6+0x6c91c] mempcpy+0x1c<br>> #<br>><br>> --------------- T H R E A D ---------------
<br>><br>> Current thread (0x6d049348): JavaThread "http-8080-Processor23" daemon<br>> [_thread_in_native, id=11434]<br>><br>><br>> siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
<br>><br>> Stack: [0x6c06d000,0x6c0ee000), sp=0x6c0ebad4, free space=506k<br>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native<br>> code)<br>><br>> C [libc.so.6+0x6c91c] mempcpy+0x1c
<br>> C [libc.so.6+0x60b08] _IO_sgetn+0x28<br>> C [libc.so.6+0x5548e] _IO_fread+0x8e<br>> C [libmapscript.so+0x6b968] msSHPOpen+0x478<br>> C [libmapscript.so+0x6bba5] msSHPOpenFile+0x55<br>><br>> C [libmapscript.so+0x6bdce
] msShapeFileLayerOpen+0x8e<br>> C [libmapscript.so+0x95341] msLayerOpen+0x61<br>> C [libmapscript.so+0x86362] msQueryByPoint+0x172<br>> C [libmapscript.so+0x57f4d] layerObj_queryByPoint+0x4d<br>><br>> C [libmapscript.so+0x57fc1
]<br>> Java_edu_umn_gis_mapscript_mapscriptJNI_layerObj_1queryByPoint+0x61<br>> j<br>> edu.umn.gis.mapscript.mapscriptJNI.layerObj_queryByPoint(JJJID)I+0<br>><br>> --------------- S Y S T E M ---------------
<br>><br>><br>> OS:Mandriva Linux release 2007.0 (Cooker) for i586<br>><br>> uname:Linux 2.6.16-1mdksmp #1 SMP Fri May 19 19:16:59 CEST 2006 i686<br>> libc:glibc 2.4 NPTL 2.4<br>><br>><br>> I have already heard about a problem with swig and java, how can I fix it if
<br>> this is the problem?<br>><br>> Could somebody help me?<br>><br>> Thanks in advance,<br>><br>> Fred<br>><br>><br>> --<br>> "Everything under the sun is in tune<br>> But the sun is eclipsed by the moon"
<br>><br></blockquote></div><br><br clear="all"><br>-- <br>"Everything under the sun is in tune<br>But the sun is eclipsed by the moon"