Hello Humberto,<br><br>I'm still having problems with my application.<br>I suspect that the problem is the method where I call queryByPoint(), but I don't know why.<br>What about that problem with delete(), I remember that you and others have talked about.
<br>Can you give me some light?<br><br>Best regards,<br><br>Fred<br><br><div><span class="gmail_quote">On 6/2/06, <b class="gmail_sendername">Umberto Nicoletti</b> &lt;<a href="mailto:umberto.nicoletti@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

umberto.nicoletti@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 6/1/06, Frederico Lucca &lt;<a href="mailto:fredlucca@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

fredlucca@gmail.com</a>&gt; wrote:<br>&gt; Umberto,<br>&gt;<br>&gt; Yes, I build using --with-threads --with-ogr --with-proj<br>&gt; Now i will try to make the interface with a newer version of swig.<br>&gt; I have read your article and I will try to follow him step by step.
<br>&gt;<br>&gt; Another question, I still need to syncronize my code?<br><br>The answer should be no, but that depends on what components you use.<br>Oracle spatial or cartoline DOES require synchronized becaus it is not
<br>thread safe. OGR and PROJ are safe (if I recall correctly).<br><br>Umberto<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; Fred<br>&gt;<br>&gt;<br>&gt; On 6/1/06, Umberto Nicoletti &lt;<a href="mailto:umberto.nicoletti@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

umberto.nicoletti@gmail.com</a>&gt; wrote:<br>&gt; &gt; How did you compile mapserver and java mapscript (give the configure<br>&gt; &gt; arguments exactly)? Did you use the -use-threads argument?<br>&gt; &gt;<br>&gt; &gt; Have you read the docs on mapserver web site (search for java):
<br>&gt; &gt; <a href="http://mapserver.gis.umn.edu/docs/howto/javamapscript" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mapserver.gis.umn.edu/docs/howto/javamapscript</a> ?<br>&gt; &gt;
<br>&gt; &gt; Regards,<br>&gt; &gt; Umberto<br>&gt; &gt;<br>&gt; &gt;<br>
&gt; &gt;<br>&gt; &gt; On 6/1/06, Frederico Lucca &lt;<a href="mailto:fredlucca@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">fredlucca@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; Hello list,
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; After a couple of request at same time my Tomcat broke with this error:
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; # Java VM: Java HotSpot(TM) Server VM (<br>&gt; &gt; &gt; 1.5.0_06-b05 mixed mode)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; # Problematic frame:<br>&gt; &gt; &gt; # C [libc.so.6+0x6c91c] mempcpy+0x1c
<br>&gt; &gt; &gt; #<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --------------- T H R E A D ---------------<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Current thread (0x6d049348): JavaThread &quot;http-8080-Processor23&quot; daemon<br>

&gt; &gt; &gt; [_thread_in_native, id=11434]<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Stack: [0x6c06d000,0x6c0ee000), sp=0x6c0ebad4, free space=506k
<br>&gt; &gt; &gt; Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,<br>&gt; C=native<br>&gt; &gt; &gt; code)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; C [libc.so.6+0x6c91c] mempcpy+0x1c<br>&gt; &gt; &gt; C [libc.so.6+0x60b08

] _IO_sgetn+0x28<br>&gt; &gt; &gt; C [libc.so.6+0x5548e] _IO_fread+0x8e<br>&gt; &gt; &gt; C [libmapscript.so+0x6b968] msSHPOpen+0x478<br>&gt; &gt; &gt; C [libmapscript.so+0x6bba5] msSHPOpenFile+0x55<br>&gt; &gt; &gt;<br>
&gt; &gt; &gt; C [
libmapscript.so+0x6bdce ] msShapeFileLayerOpen+0x8e<br>&gt; &gt; &gt; C [libmapscript.so+0x95341] msLayerOpen+0x61<br>&gt; &gt; &gt; C [libmapscript.so+0x86362] msQueryByPoint+0x172<br>&gt; &gt; &gt; C [libmapscript.so+0x57f4d

] layerObj_queryByPoint+0x4d<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; C [libmapscript.so+0x57fc1 ]<br>&gt; &gt; &gt;<br>&gt; Java_edu_umn_gis_mapscript_mapscriptJNI_layerObj_1queryByPoint+0x61<br>&gt; &gt; &gt; j<br>&gt; &gt; &gt;
<br>&gt; edu.umn.gis.mapscript.mapscriptJNI.layerObj_queryByPoint(JJJID)I+0<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --------------- S Y S T E M ---------------<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; OS:Mandriva Linux release 
2007.0 (Cooker) for i586<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; uname:Linux 2.6.16-1mdksmp #1 SMP Fri May 19 19:16:59 CEST 2006 i686<br>&gt; &gt; &gt; libc:glibc 2.4 NPTL 2.4<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I have already heard about a problem with swig and java, how can I fix
<br>&gt; it if<br>&gt; &gt; &gt; this is the problem?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Could somebody help me?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Thanks in advance,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Fred<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --<br>&gt; &gt; &gt; &quot;Everything under the sun is in tune<br>&gt; &gt; &gt; But the sun is eclipsed by the moon&quot;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --
<br>&gt;<br>&gt; &quot;Everything under the sun is in tune<br>&gt; But the sun is eclipsed by the moon&quot;<br></blockquote></div><br><br clear="all"><br>-- <br>&quot;Everything under the sun is in tune<br>But the sun is eclipsed by the moon&quot;