mapscript with java

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Wed Jun 20 08:12:37 EDT 2007


Please write a simple program to reproduce the error or send a
complete code snippet and then open a ticket at:

http://trac.osgeo.org/mapserver/

I'll look into it asap.

Thanks,
Umberto

On 6/20/07, Helena García Hernando <helenagarcia at grupotecopy.es> wrote:
> Hi!
>
> I'm having the same problem, but the problematic frame to JVM is in
> ntdll.dll, that's the reason why I don't think it's a gdal problem.
>
>
> The trace I got is this:
>
>
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x784ab333, pid=2240,
> tid=2852
> #
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode, sharing)
> # Problematic frame:
> # C  [ntdll.dll+0x4b333]
> #
>
> ---------------  T H R E A D  ---------------
>
> Current thread (0x03106840):  JavaThread "http-8080-Processor25" daemon
> [_thread_in_native, id=2852]
>
> siginfo: ExceptionCode=0xc0000005, writing address 0x00000000
>
> Registers:
> EAX=0x00000000, EBX=0x00000294, ECX=0x00000000, EDX=0x05711758
> ESP=0x0423d374, EBP=0x0423d540, ESI=0x05710000, EDI=0x057102b8
> EIP=0x784ab333, EFLAGS=0x00010283
>
> Top of Stack: (sp=0x0423d374)
> 0x0423d374:   03106840 00000018 27243918 00000000
> 0x0423d384:   0423d540 03106840 6d7c71e5 0423d540
> 0x0423d394:   03106840 6d87652c 03106840 060f0000
> 0x0423d3a4:   2b2a2d90 27247588 0423f5b8 00000000
> 0x0423d3b4:   00000000 00000000 0423f5ec 0423d540
> 0x0423d3c4:   03106840 03228ba0 03106dd0 03106dfc
> 0x0423d3d4:   031071c4 0423fc8c 0423d548 00000000
> 0x0423d3e4:   00000000 6d81f462 0000000a 00000001
>
> Instructions: (pc=0x784ab333)
> 0x784ab323:   08 89 85 d4 fe ff ff 8b 49 0c 89 8d d0 fe ff ff
> 0x784ab333:   89 01 89 48 04 3b c1 75 31 8b 45 d0 66 8b 00 66
>
>
> Stack: [0x04200000,0x04240000),  sp=0x0423d374,  free space=244k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
> C  [ntdll.dll+0x4b333]
> C  [MSVCR71.dll+0x16b3]
> C  [MSVCR71.dll+0x16db]
> C  [mapscript.dll+0x3cf57]
> j  edu.umn.gis.mapscript.mapscriptJNI.new_OWSRequest()J+0
> j  edu.umn.gis.mapscript.OWSRequest.<init>(Z)V+13
> j
> com.geoportal.model.WFS.getfeature(Ljava/lang/String;Ljava/lang/String;Ljava
> /lang/String;Ljava/lang/String;)Lorg/w3c/dom/Document;+26
> j
> com.geoportal.action.MapServerAction.execute(Lorg/apache/struts/action/Actio
> nMapping;Lorg/apache/struts/action/ActionForm;Ljavax/servlet/http/HttpServle
> tRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/apache/struts/action/
> ActionForward;+63
> j
> org.apache.struts.action.RequestProcessor.processActionPerform(Ljavax/servle
> t/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apach
> e/struts/action/Action;Lorg/apache/struts/action/ActionForm;Lorg/apache/stru
> ts/action/ActionMapping;)Lorg/apache/struts/action/ActionForward;+7
> j
> org.apache.struts.action.RequestProcessor.process(Ljavax/servlet/http/HttpSe
> rvletRequest;Ljavax/servlet/http/HttpServletResponse;)V+213
> j
> org.apache.struts.action.ActionServlet.process(Ljavax/servlet/http/HttpServl
> etRequest;Ljavax/servlet/http/HttpServletResponse;)V+19
> j
> org.apache.struts.action.ActionServlet.doGet(Ljavax/servlet/http/HttpServlet
> Request;Ljavax/servlet/http/HttpServletResponse;)V+3
> j
> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletReques
> t;Ljavax/servlet/http/HttpServletResponse;)V+35
> j
> javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/
> servlet/ServletResponse;)V+30
> j
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/serv
> let/ServletRequest;Ljavax/servlet/ServletResponse;)V+362
> j
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/Serv
> letRequest;Ljavax/servlet/ServletResponse;)V+101
> j
> org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/co
> nnector/Request;Lorg/apache/catalina/connector/Response;)V+670
> j
> org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/co
> nnector/Request;Lorg/apache/catalina/connector/Response;)V+285
> j
> org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/conne
> ctor/Request;Lorg/apache/catalina/connector/Response;)V+64
> j
> org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/conn
> ector/Request;Lorg/apache/catalina/connector/Response;)V+6
> j
> org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/con
> nector/Request;Lorg/apache/catalina/connector/Response;)V+42
> j
> org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Reque
> st;Lorg/apache/coyote/Response;)V+141
> j
> org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/
> io/OutputStream;)V+566
> j
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> onnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+11
> 3
> j
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lo
> rg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+45
> j
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Obje
> ct;)V+102
> j  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167
> j  java.lang.Thread.run()V+11
> v  ~StubRoutines::call_stub
> V  [jvm.dll+0x871a8]
> V  [jvm.dll+0xdf462]
> V  [jvm.dll+0x87079]
> V  [jvm.dll+0x86dd6]
> V  [jvm.dll+0xa1a14]
> V  [jvm.dll+0x110aa6]
> V  [jvm.dll+0x110a74]
> C  [MSVCRT.dll+0x85bc]
> C  [KERNEL32.dll+0xb3bc]
>
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> j  edu.umn.gis.mapscript.mapscriptJNI.new_OWSRequest()J+0
> j  edu.umn.gis.mapscript.OWSRequest.<init>(Z)V+13
> j
> com.geoportal.model.WFS.getfeature(Ljava/lang/String;Ljava/lang/String;Ljava
> /lang/String;Ljava/lang/String;)Lorg/w3c/dom/Document;+26
> j
> com.geoportal.action.MapServerAction.execute(Lorg/apache/struts/action/Actio
> nMapping;Lorg/apache/struts/action/ActionForm;Ljavax/servlet/http/HttpServle
> tRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/apache/struts/action/
> ActionForward;+63
> j
> org.apache.struts.action.RequestProcessor.processActionPerform(Ljavax/servle
> t/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apach
> e/struts/action/Action;Lorg/apache/struts/action/ActionForm;Lorg/apache/stru
> ts/action/ActionMapping;)Lorg/apache/struts/action/ActionForward;+7
> j
> org.apache.struts.action.RequestProcessor.process(Ljavax/servlet/http/HttpSe
> rvletRequest;Ljavax/servlet/http/HttpServletResponse;)V+213
> j
> org.apache.struts.action.ActionServlet.process(Ljavax/servlet/http/HttpServl
> etRequest;Ljavax/servlet/http/HttpServletResponse;)V+19
> j
> org.apache.struts.action.ActionServlet.doGet(Ljavax/servlet/http/HttpServlet
> Request;Ljavax/servlet/http/HttpServletResponse;)V+3
> j
> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletReques
> t;Ljavax/servlet/http/HttpServletResponse;)V+35
> j
> javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/
> servlet/ServletResponse;)V+30
> j
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/serv
> let/ServletRequest;Ljavax/servlet/ServletResponse;)V+362
> j
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/Serv
> letRequest;Ljavax/servlet/ServletResponse;)V+101
> j
> org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/co
> nnector/Request;Lorg/apache/catalina/connector/Response;)V+670
> j
> org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/co
> nnector/Request;Lorg/apache/catalina/connector/Response;)V+285
> j
> org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/conne
> ctor/Request;Lorg/apache/catalina/connector/Response;)V+64
> j
> org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/conn
> ector/Request;Lorg/apache/catalina/connector/Response;)V+6
> j
> org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/con
> nector/Request;Lorg/apache/catalina/connector/Response;)V+42
> j
> org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Reque
> st;Lorg/apache/coyote/Response;)V+141
> j
> org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/
> io/OutputStream;)V+566
> j
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> onnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+11
> 3
> j
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lo
> rg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+45
> j
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Obje
> ct;)V+102
> j  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167
> j  java.lang.Thread.run()V+11
> v  ~StubRoutines::call_stub
>
> ---------------  P R O C E S S  ---------------
>
> Java Threads: ( => current thread )
>   0x032b46a0 JavaThread "TP-Monitor" daemon [_thread_blocked, id=536]
>   0x02eefcb0 JavaThread "TP-Processor4" daemon [_thread_in_native, id=2124]
>   0x032b4490 JavaThread "TP-Processor3" daemon [_thread_blocked, id=2908]
>   0x0329ae18 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2928]
>   0x032b4970 JavaThread "TP-Processor1" daemon [_thread_blocked, id=3108]
>   0x032bd158 JavaThread "http-8080-Monitor" [_thread_blocked, id=2824]
> =>0x03106840 JavaThread "http-8080-Processor25" daemon [_thread_in_native,
> id=2852]
>   0x03105ea8 JavaThread "http-8080-Processor24" daemon [_thread_in_native,
> id=2680]
>   0x03105510 JavaThread "http-8080-Processor23" daemon [_thread_blocked,
> id=3060]
>   0x0322ef18 JavaThread "http-8080-Processor22" daemon [_thread_blocked,
> id=2748]
>   0x0322e4f8 JavaThread "http-8080-Processor21" daemon [_thread_blocked,
> id=2936]
>   0x0322dad8 JavaThread "http-8080-Processor20" daemon [_thread_blocked,
> id=2232]
>   0x0323f550 JavaThread "http-8080-Processor19" daemon [_thread_blocked,
> id=708]
>   0x0323eb30 JavaThread "http-8080-Processor18" daemon [_thread_blocked,
> id=2700]
>   0x0323e110 JavaThread "http-8080-Processor17" daemon [_thread_blocked,
> id=3128]
>   0x03221cc0 JavaThread "http-8080-Processor16" daemon [_thread_blocked,
> id=3132]
>   0x032212a0 JavaThread "http-8080-Processor15" daemon [_thread_blocked,
> id=3152]
>   0x03220880 JavaThread "http-8080-Processor14" daemon [_thread_blocked,
> id=2580]
>   0x03235570 JavaThread "http-8080-Processor13" daemon [_thread_blocked,
> id=2976]
>   0x03234bd8 JavaThread "http-8080-Processor12" daemon [_thread_blocked,
> id=3112]
>   0x032322b0 JavaThread "http-8080-Processor11" daemon [_thread_blocked,
> id=3124]
>   0x03231c98 JavaThread "http-8080-Processor10" daemon [_thread_blocked,
> id=3144]
>   0x03231278 JavaThread "http-8080-Processor9" daemon [_thread_blocked,
> id=516]
>   0x032d1e58 JavaThread "http-8080-Processor8" daemon [_thread_blocked,
> id=352]
>   0x03279928 JavaThread "http-8080-Processor7" daemon [_thread_blocked,
> id=3044]
>   0x03279398 JavaThread "http-8080-Processor6" daemon [_thread_blocked,
> id=2920]
>   0x0322b798 JavaThread "http-8080-Processor5" daemon [_thread_blocked,
> id=2944]
>   0x032238c8 JavaThread "http-8080-Processor4" daemon [_thread_blocked,
> id=2924]
>   0x03228690 JavaThread "http-8080-Processor3" daemon [_thread_blocked,
> id=2396]
>   0x0326cdc8 JavaThread "http-8080-Processor2" daemon [_thread_blocked,
> id=3120]
>   0x033097e8 JavaThread "http-8080-Processor1" daemon [_thread_blocked,
> id=260]
>   0x032aa6d8 JavaThread
> "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon
> [_thread_blocked, id=2932]
>   0x032cf328 JavaThread "MySQL Statement Cancellation Timer" daemon
> [_thread_blocked, id=2772]
>   0x031f1da0 JavaThread "Timer-0" daemon [_thread_blocked, id=3076]
>   0x009c2ec0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
> id=3024]
>   0x00737848 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2332]
>   0x009c0e30 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=640]
>   0x009bbe40 JavaThread "Finalizer" daemon [_thread_blocked, id=3040]
>   0x009ba990 JavaThread "Reference Handler" daemon [_thread_blocked,
> id=2760]
>   0x00737c68 JavaThread "main" [_thread_in_native, id=2856]
>
> Other Threads:
>   0x009b8018 VMThread [id=2804]
>   0x009c4458 WatcherThread [id=2784]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
>  def new generation   total 576K, used 416K [0x22aa0000, 0x22b40000,
> 0x22f80000)
>   eden space 512K,  70% used [0x22aa0000, 0x22af9b38, 0x22b20000)
>   from space 64K,  90% used [0x22b20000, 0x22b2e740, 0x22b30000)
>   to   space 64K,   0% used [0x22b30000, 0x22b30000, 0x22b40000)
>  tenured generation   total 5316K, used 4669K [0x22f80000, 0x234b1000,
> 0x26aa0000)
>    the space 5316K,  87% used [0x22f80000, 0x2340f518, 0x2340f600,
> 0x234b1000)
>  compacting perm gen  total 8192K, used 7858K [0x26aa0000, 0x272a0000,
> 0x2aaa0000)
>    the space 8192K,  95% used [0x26aa0000, 0x2724c9a0, 0x2724ca00,
> 0x272a0000)
>     ro space 8192K,  67% used [0x2aaa0000, 0x2afff150, 0x2afff200,
> 0x2b2a0000)
>     rw space 12288K,  47% used [0x2b2a0000, 0x2b849750, 0x2b849800,
> 0x2bea0000)
>
> Dynamic libraries:
> 0x00400000 - 0x0040d000         C:\Java\j2se5.0-11\bin\javaw.exe
> 0x78460000 - 0x784e2000         C:\WINNT\system32\ntdll.dll
> 0x78ff0000 - 0x79055000         C:\WINNT\system32\ADVAPI32.dll
> 0x79450000 - 0x7950e000         C:\WINNT\system32\KERNEL32.dll
> 0x77120000 - 0x7718f000         C:\WINNT\system32\RPCRT4.dll
> 0x77e10000 - 0x77e6f000         C:\WINNT\system32\USER32.dll
> 0x77f40000 - 0x77f7c000         C:\WINNT\system32\GDI32.dll
> 0x78000000 - 0x78045000         C:\WINNT\system32\MSVCRT.dll
> 0x6d740000 - 0x6d8dd000         C:\Java\j2se5.0-11\jre\bin\client\jvm.dll
> 0x77550000 - 0x77581000         C:\WINNT\system32\WINMM.dll
> 0x6d300000 - 0x6d308000         C:\Java\j2se5.0-11\jre\bin\hpi.dll
> 0x68f70000 - 0x68f7b000         C:\WINNT\system32\PSAPI.DLL
> 0x6d710000 - 0x6d71c000         C:\Java\j2se5.0-11\jre\bin\verify.dll
> 0x6d380000 - 0x6d39d000         C:\Java\j2se5.0-11\jre\bin\java.dll
> 0x6d730000 - 0x6d73f000         C:\Java\j2se5.0-11\jre\bin\zip.dll
> 0x6d540000 - 0x6d553000         C:\Java\j2se5.0-11\jre\bin\net.dll
> 0x74fe0000 - 0x74ff4000         C:\WINNT\system32\WS2_32.dll
> 0x74fd0000 - 0x74fd8000         C:\WINNT\system32\WS2HELP.DLL
> 0x74f80000 - 0x74f9e000         C:\WINNT\system32\msafd.dll
> 0x74fc0000 - 0x74fc7000         C:\WINNT\System32\wshtcpip.dll
> 0x10000000 - 0x10095000
> C:\ms4w\Apache\cgi-bin\mapscript\java\mapscript.dll
> 0x043c0000 - 0x045ef000         C:\ms4w\Apache\cgi-bin\libmap.dll
> 0x61b80000 - 0x61b98000         C:\Java\j2sdk1.4.2_06\jre\bin\zlib1.dll
> 0x045f0000 - 0x04626000         C:\ms4w\Apache\cgi-bin\proj.dll
> 0x7c340000 - 0x7c396000         C:\WINNT\system32\MSVCR71.dll
> 0x04630000 - 0x04a4a000         C:\ms4w\Apache\cgi-bin\gdal14.dll
> 0x12000000 - 0x121ad000         C:\ms4w\Apache\cgi-bin\xerces-c_2_7.dll
> 0x63100000 - 0x63121000         C:\WINNT\system32\LIBPQ.dll
> 0x04a50000 - 0x04b21000         C:\WINNT\system32\libeay32.dll
> 0x75000000 - 0x75009000         C:\WINNT\system32\WSOCK32.dll
> 0x04b30000 - 0x04b3d000         C:\WINNT\system32\libintl-2.dll
> 0x04b40000 - 0x04c1b000         C:\WINNT\system32\libiconv-2.dll
> 0x7cf70000 - 0x7d1bc000         C:\WINNT\system32\SHELL32.DLL
> 0x70a70000 - 0x70ad6000         C:\WINNT\system32\SHLWAPI.dll
> 0x71710000 - 0x71794000         C:\WINNT\system32\COMCTL32.dll
> 0x04c20000 - 0x04c47000         C:\WINNT\system32\ssleay32.dll
> 0x04c50000 - 0x04c82000         C:\WINNT\system32\ODBC32.dll
> 0x76b10000 - 0x76b4e000         C:\WINNT\system32\comdlg32.dll
> 0x39d00000 - 0x39e19000         C:\ms4w\Apache\cgi-bin\libecwj2.dll
> 0x77920000 - 0x77943000         C:\WINNT\system32\imagehlp.dll
> 0x77820000 - 0x77827000         C:\WINNT\system32\VERSION.dll
> 0x75980000 - 0x75986000         C:\WINNT\system32\LZ32.DLL
> 0x79640000 - 0x796cc000         C:\WINNT\system32\CRYPT32.dll
> 0x77410000 - 0x77421000         C:\WINNT\system32\MSASN1.dll
> 0x7ce60000 - 0x7cf4f000         C:\WINNT\system32\ole32.dll
> 0x7c3a0000 - 0x7c41b000         C:\WINNT\system32\MSVCP71.dll
> 0x04c90000 - 0x04e6e000         C:\WINNT\system32\lti_dsdk_dll.dll
> 0x04e70000 - 0x04fcb000         C:\ms4w\Apache\cgi-bin\cfitsio.dll
> 0x04fd0000 - 0x05013000         C:\ms4w\Apache\cgi-bin\netcdf.dll
> 0x05020000 - 0x05040000         C:\ms4w\Apache\cgi-bin\geotiff.dll
> 0x05040000 - 0x050d8000         C:\ms4w\Apache\cgi-bin\libtiff.dll
> 0x050e0000 - 0x0513e000         C:\ms4w\Apache\cgi-bin\sqlite3.dll
> 0x05140000 - 0x052aa000         C:\ms4w\Apache\cgi-bin\LIBMYSQL.dll
> 0x052b0000 - 0x0539c000         C:\ms4w\Apache\cgi-bin\geos_c.dll
> 0x053a0000 - 0x05468000         C:\ms4w\Apache\cgi-bin\hdf5dll.dll
> 0x05470000 - 0x05492000         C:\ms4w\Apache\cgi-bin\szlibdll.dll
> 0x054a0000 - 0x054cb000         C:\ms4w\Apache\cgi-bin\libcurl.dll
> 0x779b0000 - 0x77a4b000         C:\WINNT\system32\OLEAUT32.dll
> 0x55300000 - 0x5542a000         C:\ms4w\Apache\cgi-bin\pdflib.dll
> 0x054d0000 - 0x055e4000         C:\ms4w\Apache\cgi-bin\iconv.dll
> 0x055f0000 - 0x055fd000         C:\ms4w\Apache\cgi-bin\libfcgi.dll
> 0x05600000 - 0x056ea000         C:\ms4w\Apache\cgi-bin\libxml2.dll
> 0x1f850000 - 0x1f868000         C:\WINNT\system32\odbcint.dll
> 0x1f810000 - 0x1f829000         C:\WINNT\system32\odbccp32.dll
> 0x77840000 - 0x7784c000         C:\WINNT\System32\rnr20.dll
> 0x77980000 - 0x779a4000         C:\WINNT\system32\DNSAPI.DLL
> 0x77320000 - 0x77333000         C:\WINNT\system32\iphlpapi.dll
> 0x77500000 - 0x77505000         C:\WINNT\system32\ICMP.dll
> 0x77300000 - 0x77317000         C:\WINNT\system32\MPRAPI.dll
> 0x75100000 - 0x75110000         C:\WINNT\system32\SAMLIB.DLL
> 0x7ce00000 - 0x7ce50000         C:\WINNT\system32\NETAPI32.DLL
> 0x790d0000 - 0x790df000         C:\WINNT\system32\Secur32.dll
> 0x77bf0000 - 0x77c01000         C:\WINNT\system32\NTDSAPI.dll
> 0x77950000 - 0x7797c000         C:\WINNT\system32\WLDAP32.DLL
> 0x75170000 - 0x75176000         C:\WINNT\system32\NETRAP.dll
> 0x77390000 - 0x773bf000         C:\WINNT\system32\ACTIVEDS.DLL
> 0x77360000 - 0x77383000         C:\WINNT\system32\ADSLDPC.DLL
> 0x77830000 - 0x7783e000         C:\WINNT\system32\RTUTILS.DLL
> 0x783c0000 - 0x78451000         C:\WINNT\system32\SETUPAPI.DLL
> 0x78df0000 - 0x78e55000         C:\WINNT\system32\USERENV.DLL
> 0x774c0000 - 0x774f4000         C:\WINNT\system32\RASAPI32.dll
> 0x774a0000 - 0x774b1000         C:\WINNT\system32\rasman.dll
> 0x77510000 - 0x77532000         C:\WINNT\system32\TAPI32.dll
> 0x77340000 - 0x77359000         C:\WINNT\system32\DHCPCSVC.DLL
> 0x777e0000 - 0x777e8000         C:\WINNT\System32\winrnr.dll
> 0x777f0000 - 0x777f5000         C:\WINNT\system32\rasadhlp.dll
>
> VM Arguments:
> jvm_args: -Dcatalina.home=C:\Tomcat 5 -Dcatalina.base=C:\Tomcat 5
> -Djava.endorsed.dirs=C:\Tomcat 5/common/endorsed -Djava.io.tmpdir=C:\Tomcat
> 5\temp -Djava.library.path=C:\Java\j2se5.0-11\bin;C:\Tomcat
> 5\bin;C:/ms4w/Apache/cgi-bin/mapscript/java;C:/ms4w/Apache/cgi-bin
> -Dsun.io.useCanonCaches=false
> java_command: org.apache.catalina.startup.Bootstrap start
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> JAVA_HOME=C:\Java\j2sdk1.4.2_06
> CLASSPATH=c:\;c:\desarrollo\dist\productos\httpclient\commons-logging.jar;c:
> \desarrollo\dist\productos\httpclient\commons-httpclient-2.0.jar;c:\desarrol
> lo\dist\productos\vividsolutions\jts-1.4.0.jar;
> PATH=D:\oracle\ora92\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C
> :\Archivos de programa\ATI Technologies\ATI Control
> Panel;C:\ARCHIV~1\ARCHIV~1\AUTODE~1;C:\Archivos de programa\Archivos
> comunes\Autodesk Shared\;C:\Java\j2sdk1.4.2_06\jre\bin;C:\Archivos de
> programa\UltraEdit;C:\ms4w\Apache\cgi-bin;C:\ms4w\tools\gdal-ogr;C:\ms4w\too
> ls\mapserv;C:\ms4w\tools\shapelib;C:\ms4w\proj\bin;C:\ms4w\tools\shp2tile;C:
> \ms4w\tools\shpdiff;C:\Archivos de programa\MySQL\MySQL Server
> 5.0\bin;C:\ms4w\Apache\cgi-bin\mapscript\java
> USERNAME=myname
> OS=Windows_NT
> PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 0, AuthenticAMD
>
>
>
> ---------------  S Y S T E M  ---------------
>
> OS: Windows 2000 Build 2195 Service Pack 4
>
> CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping
> 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
>
> Memory: 4k page, physical 1048096k(401440k free), swap 4194303k(3917944k
> free)
>
> vm_info: Java HotSpot(TM) Client VM (1.5.0_11-b03) for windows-x86, built on
> Dec 15 2006 01:16:12 by "java_re" with MS VC++ 6.0
>
>
>
>
>
>
> Anybody knows how to solve this problem?
>
>
>
>
>
>
> -----Mensaje original-----
> De: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] En
> nombre de Victor Herrero Cazurro
> Enviado el: miércoles, 20 de junio de 2007 9:32
> Para: MAPSERVER-USERS at LISTS.UMN.EDU
> Asunto: [UMN_MAPSERVER-USERS] mapscript with java
>
> Hello!
>
>
>
> I'm a java Developer and i use mapscript library to make a consult "WFS
> getfeature" to "MAPSERVER" in Apache, i prove the java example in this url
>
> "http://mapserver.gis.umn.edu/docs/howto/wxs_mapscript/#java-example"
>
>
>
> I change the parameter
>
>
>
> "
>
> mapObj map = new mapObj(mapName);
>
> map.setMetaData( "ows_onlineresource", "http://dummy.org/" );
>
> req.setParameter( "SERVICE", "WMS" );
> req.setParameter( "VERSION", "1.1.0" );
> req.setParameter( "REQUEST", "GetCapabilities" );
> "
>
> For
>
> "
> mapObj map = new
> mapObj("c:\\ms4w\\Apache\\htdocs\\mapserver\\app\\app.map");
>
> map.setMetaData( "ows_onlineresource", "http://localhost/cgi-bin/mapserv" );
>
>
>
> OWSRequest req = new OWSRequest();
>
>
>
> req.setParameter( "SERVICE", "WFS" );
>
> req.setParameter( "VERSION", "1.0.0" );
>
> req.setParameter( "REQUEST", "getfeature" );
>
> req.setParameter( "TYPENAME", "layer_name" );
>
> "
>
> And obtain this error
>
>
>
> "
>
> #
>
> # An unexpected error has been detected by HotSpot Virtual Machine:
>
> #
>
> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x036b68c3, pid=7444,
> tid=7552
>
> #
>
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode, sharing)
>
> # Problematic frame:
>
> # C  [gdal14.dll+0x168c3]
>
> #
>
> # An error report file with more information is saved as hs_err_pid7444.log
>
> #
>
> # If you would like to submit a bug report, please visit:
>
> #   http://java.sun.com/webapps/bugreport/crash.jsp
>
> #
>
> "
>
> somebody can help me ????
>
> Thanks in advance!
>
> _________________________________________________________________
> Horóscopo, tarot, numerología... Escucha lo que te dicen los astros.
> http://astrocentro.msn.es/
>



More information about the mapserver-users mailing list