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> <<a href="mailto:umberto.nicoletti@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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;">On 6/1/06, Frederico Lucca <<a href="mailto:fredlucca@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
fredlucca@gmail.com</a>> wrote:<br>> 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>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>><br>> Thanks,<br>><br>> Fred<br>><br>><br>> On 6/1/06, Umberto Nicoletti <<a href="mailto:umberto.nicoletti@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
umberto.nicoletti@gmail.com</a>> wrote:<br>> > 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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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,<br>> 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>> > ><br>> Java_edu_umn_gis_mapscript_mapscriptJNI_layerObj_1queryByPoint+0x61<br>> > > j<br>> > >
<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
<br>> 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>> ><br>><br>><br>><br>> --
<br>><br>> "Everything under the sun is in tune<br>> But the sun is eclipsed by the moon"<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"