MS4W (MapServer 4 Windows) - version 3.0.3 Crashes JVM and Tomcat frequently. How to fix this?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

MS4W (MapServer 4 Windows) - version 3.0.3 Crashes JVM and Tomcat frequently. How to fix this?

shiva.sk4
This post has NOT been accepted by the mailing list yet.
Hello Everybody,

We are new to ms4w (MapServer).

We are using MS4W (MapServer 4 Windows) - version 3.0.3 for a GIS web application hosted over Tomcat 6.0.33 with Java jdk1.6.0_13 and PostgreSQL 9.1 with PostGIS 1.5.2 @ the database end. The GIS application has polygon,line and point spatial layers.

The problem is that ms4w(MapServer) crashes the JVM & Tomcat very frequently for simple map functionalities such as pan, zoom-in and sometimes even at first time loading of the map. Attached is log file generated in E:\Program Files\apache-tomcat-6.0.33-for-ME\bin\ folder.hs_err_pid3848.log

Regards,
Shiva Shankar hs_err_pid5948.log
Reply | Threaded
Open this post in threaded view
|

Re: MS4W (MapServer 4 Windows) - version 3.0.3 Crashes JVM and Tomcat frequently. How to fix this?

forest21000
This post has NOT been accepted by the mailing list yet.
I've came across the same problem too.And Do you solve the problem now?
I am using the java mapscript to generate tile image on-the-fly,When the client request the image frequently,I will get this crash,do you the same?
Reply | Threaded
Open this post in threaded view
|

Re: MS4W (MapServer 4 Windows) - version 3.0.3 Crashes JVM and Tomcat frequently. How to fix this?

shiva.sk4
This post has NOT been accepted by the mailing list yet.
Hello Everybody,

  I changed the database from PostgreSQL/PostGIS to Oracle 11g, but the MapServer (MS4W) crashing problem still exists. Following is the error log from D:\Program Files (x86)\apache-tomcat-7.0.41\bin\hs_err_pid1976.log


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1e29ab0f, pid=1976, tid=2140
#
# JRE version: 6.0_45-b06
# Java VM: Java HotSpot(TM) Client VM (20.45-b01 mixed mode windows-x86 )
# Problematic frame:
# C  [orageneric11.dll+0xfab0f]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x19959800):  JavaThread "http-bio-8080-exec-3" daemon [_thread_in_native, id=2140, stack(0x1a780000,0x1a7d0000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000000

Registers:
EAX=0x1ebc33c0, EBX=0x00000000, ECX=0x1ebc33c0, EDX=0x1d349290
ESP=0x1a7c353c, EBP=0x1a7c353c, ESI=0x00000000, EDI=0x1d3493b8
EIP=0x1e29ab0f, EFLAGS=0x00010206

Top of Stack: (sp=0x1a7c353c)
0x1a7c353c:   1a7c3568 1ea81355 1d349290 1d34f810
0x1a7c354c:   1ec04334 0000bb81 00000000 1ebc33c0
0x1a7c355c:   00000002 1d348a58 00000000 1a7c357c
0x1a7c356c:   1e45fe74 1d349290 1d34f810 0000bb81
0x1a7c357c:   1a7c35bc 1ea7f11f 1d349290 1d34f810
0x1a7c358c:   1ec04334 00000002 00000002 1d3589b4
0x1a7c359c:   00000000 00000204 00000000 1e2ae300
0x1a7c35ac:   1d3589b4 1d348a58 00000001 1d358924

Instructions: (pc=0x1e29ab0f)
0x1e29aaef:   a1 3c f8 d5 1e c7 05 3c f8 d5 1e 00 00 00 00 8b
0x1e29aaff:   e5 5d c3 90 90 90 90 90 90 90 90 66 90 55 8b ec
0x1e29ab0f:   c7 05 00 00 00 00 00 00 00 00 8b e5 5d c3 90 90
0x1e29ab1f:   90 90 90 90 90 90 90 66 90 55 8b ec 83 ec 08 89


Register to memory mapping:

EAX=0x1ebc33c0 is an unknown value
EBX=0x00000000 is an unknown value
ECX=0x1ebc33c0 is an unknown value
EDX=0x1d349290 is an unknown value
ESP=0x1a7c353c is pointing into the stack for thread: 0x19959800
EBP=0x1a7c353c is pointing into the stack for thread: 0x19959800
ESI=0x00000000 is an unknown value
EDI=0x1d3493b8 is an unknown value


Stack: [0x1a780000,0x1a7d0000],  sp=0x1a7c353c,  free space=269k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [orageneric11.dll+0xfab0f]  dbgaAttrOutCtxInit+0x3e9
C  [orageneric11.dll+0x8e1355]  szlgul+0x12526f
C  [orageneric11.dll+0x2bfe74]  kgeasnmierr+0x32
C  [orageneric11.dll+0x8df11f]  szlgul+0x123039
C  [orageneric11.dll+0x122717]  dbgecPop+0x91
C  [orageneric11.dll+0x3c2dfc]  kodpunp+0x79a
C  [oracommon11.dll+0xa4c9f]  kokoupkl+0x461
C  [oracommon11.dll+0xb5fc8]  kpcocaup+0x1f2
C  [oracommon11.dll+0x1214da]  vsnpri+0x1c7fc
C  [oracommon11.dll+0x124c42]  vsnpri+0x1ff64
C  [oracommon11.dll+0x100971]  ttcfour+0x37b
C  [oracommon11.dll+0xfda75]  ttcdrv+0x146f
C  [oran11.dll+0x756b0]  nioqwa+0x30
C  [OraClient11.Dll+0x1c17b5]  upigmxln+0x7fd3
C  [OraClient11.Dll+0x1b07bc]  upirtrc+0x44
C  [OraClient11.Dll+0x137404]  kpurcsc+0x5a
C  [OraClient11.Dll+0xf6176]  kpuertb_reallocTempBuf+0xc08
C  [OraClient11.Dll+0xf59a5]  kpuertb_reallocTempBuf+0x437
C  [OraClient11.Dll+0x1a8b2]  OCIStmtFetch2+0x1e
C  [OCI.dll+0x7c04b]  OCIStmtFetch2+0x3b
C  [libmap.dll+0x6cbd3]  msGMLWriteWFSQuery+0x46e3

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  edu.umn.gis.mapscript.mapscriptJNI.mapObj_draw(JLedu/umn/gis/mapscript/mapObj;)J+0
j  edu.umn.gis.mapscript.mapObj.draw()Ledu/umn/gis/mapscript/imageObj;+5
j  com.mapserver.util.MapServerHelper.createNewMap(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/http/HttpSession;Ljavax/sql/DataSource;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z+507
j  com.mapserver.action.MapInitAction.execute(Lorg/apache/struts/action/ActionMapping;Lorg/apache/struts/action/ActionForm;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/apache/struts/action/ActionForward;+440
j  org.apache.struts.action.RequestProcessor.processActionPerform(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/struts/action/Action;Lorg/apache/struts/action/ActionForm;Lorg/apache/struts/action/ActionMapping;)Lorg/apache/struts/action/ActionForward;+7
j  org.apache.struts.action.RequestProcessor.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+257
j  org.apache.struts.action.ActionServlet.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+40
j  org.apache.struts.action.ActionServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+149
j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
j  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+446
j  org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
j  org.apache.catalina.core.ApplicationDispatcher.invoke(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lorg/apache/catalina/core/ApplicationDispatcher$State;)V+393
j  org.apache.catalina.core.ApplicationDispatcher.processRequest(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lorg/apache/catalina/core/ApplicationDispatcher$State;)V+98
j  org.apache.catalina.core.ApplicationDispatcher.doForward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+338
j  org.apache.catalina.core.ApplicationDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+55
j  org.apache.struts.action.RequestProcessor.doForward(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+41
j  org.apache.struts.tiles.TilesRequestProcessor.doForward(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+23
j  org.apache.struts.action.RequestProcessor.processForwardConfig(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/struts/config/ForwardConfig;)V+184
j  org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/struts/config/ForwardConfig;)V+161
j  org.apache.struts.action.RequestProcessor.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+267
j  org.apache.struts.action.ActionServlet.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+40
j  org.apache.struts.action.ActionServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+149
j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
j  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+446
j  org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
j  org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+783
j  org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+166
j  org.apache.catalina.authenticator.AuthenticatorBase.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+363
j  org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+148
j  org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
j  org.apache.catalina.valves.AccessLogValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
j  org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+71
j  org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+196
j  org.apache.coyote.http11.AbstractHttp11Processor.process(Lorg/apache/tomcat/util/net/SocketWrapper;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;+632
j  org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Lorg/apache/tomcat/util/net/SocketWrapper;Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;+158
j  org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run()V+106
j  java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+66
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+33
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0253e400 JavaThread "http-bio-8080-exec-10" daemon [_thread_blocked, id=3348, stack(0x1ab70000,0x1abc0000)]
  0x0253dc00 JavaThread "http-bio-8080-exec-9" daemon [_thread_blocked, id=3208, stack(0x1aae0000,0x1ab30000)]
  0x0253d400 JavaThread "http-bio-8080-exec-8" daemon [_thread_blocked, id=4744, stack(0x1aa50000,0x1aaa0000)]
  0x0253d000 JavaThread "http-bio-8080-exec-7" daemon [_thread_blocked, id=4792, stack(0x1a9c0000,0x1aa10000)]
  0x0253c800 JavaThread "http-bio-8080-exec-6" daemon [_thread_in_native, id=3308, stack(0x1a930000,0x1a980000)]
  0x0253c400 JavaThread "http-bio-8080-exec-5" daemon [_thread_blocked, id=2964, stack(0x1a8a0000,0x1a8f0000)]
  0x18f47800 JavaThread "http-bio-8080-exec-4" daemon [_thread_blocked, id=3736, stack(0x1a810000,0x1a860000)]
=>0x19959800 JavaThread "http-bio-8080-exec-3" daemon [_thread_in_native, id=2140, stack(0x1a780000,0x1a7d0000)]
  0x19959000 JavaThread "http-bio-8080-exec-2" daemon [_thread_blocked, id=3020, stack(0x1a6f0000,0x1a740000)]
  0x19980000 JavaThread "http-bio-8080-exec-1" daemon [_thread_blocked, id=2748, stack(0x1a460000,0x1a4b0000)]
  0x1923bc00 JavaThread "ajp-bio-8009-AsyncTimeout" daemon [_thread_blocked, id=5104, stack(0x1a3d0000,0x1a420000)]
  0x1923b800 JavaThread "ajp-bio-8009-Acceptor-0" daemon [_thread_in_native, id=5020, stack(0x1a340000,0x1a390000)]
  0x19951400 JavaThread "http-bio-8080-AsyncTimeout" daemon [_thread_blocked, id=1980, stack(0x1a2b0000,0x1a300000)]
  0x19a11c00 JavaThread "http-bio-8080-Acceptor-0" daemon [_thread_in_native, id=4692, stack(0x1a220000,0x1a270000)]
  0x19120000 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=2636, stack(0x1a190000,0x1a1e0000)]
  0x192a5400 JavaThread "GC Daemon" daemon [_thread_blocked, id=2144, stack(0x19600000,0x19650000)]
  0x02546400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2564, stack(0x18ee0000,0x18f30000)]
  0x0253b400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=4516, stack(0x18e50000,0x18ea0000)]
  0x02532000 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=4188, stack(0x18c60000,0x18cb0000)]
  0x0252ac00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=4012, stack(0x18c10000,0x18c60000)]
  0x02529000 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=4920, stack(0x18b70000,0x18bc0000)]
  0x0251c400 JavaThread "Attach Listener" daemon [_thread_blocked, id=4752, stack(0x188e0000,0x18930000)]
  0x0251b400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4824, stack(0x18850000,0x188a0000)]
  0x024eb000 JavaThread "Finalizer" daemon [_thread_blocked, id=2664, stack(0x187c0000,0x18810000)]
  0x024e9800 JavaThread "Reference Handler" daemon [_thread_blocked, id=968, stack(0x18730000,0x18780000)]
  0x02449c00 JavaThread "main" [_thread_in_native, id=4196, stack(0x01b50000,0x01ba0000)]

Other Threads:
  0x024e5c00 VMThread [stack: 0x186a0000,0x186f0000] [id=4284]
  0x0254f400 WatcherThread [stack: 0x19170000,0x191c0000] [id=928]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 12864K, used 2202K [0x04550000, 0x05340000, 0x09aa0000)
  eden space 11456K,  19% used [0x04550000, 0x04776b78, 0x05080000)
  from space 1408K,   0% used [0x05080000, 0x05080000, 0x051e0000)
  to   space 1408K,   0% used [0x051e0000, 0x051e0000, 0x05340000)
 tenured generation   total 28468K, used 17080K [0x09aa0000, 0x0b66d000, 0x14550000)
   the space 28468K,  59% used [0x09aa0000, 0x0ab4e2a0, 0x0ab4e400, 0x0b66d000)
 compacting perm gen  total 20992K, used 20891K [0x14550000, 0x159d0000, 0x18550000)
   the space 20992K,  99% used [0x14550000, 0x159b6ff8, 0x159b7000, 0x159d0000)
No shared spaces configured.

Code Cache  [0x02550000, 0x02808000, 0x04550000)
 total_blobs=1214 nmethods=1011 adapters=146 free_code_cache=30750912 largest_free_block=33920

Dynamic libraries:
0x00400000 - 0x00425000 D:\Program Files (x86)\Java\jdk1.6.0_45\bin\javaw.exe
0x77900000 - 0x77a80000 C:\Windows\SysWOW64\ntdll.dll
0x753c0000 - 0x754d0000 C:\Windows\syswow64\kernel32.dll
0x754d0000 - 0x75517000 C:\Windows\syswow64\KERNELBASE.dll
0x77460000 - 0x77500000 C:\Windows\syswow64\ADVAPI32.dll
0x75560000 - 0x7560c000 C:\Windows\syswow64\msvcrt.dll
0x768c0000 - 0x768d9000 C:\Windows\SysWOW64\sechost.dll
0x75820000 - 0x75910000 C:\Windows\syswow64\RPCRT4.dll
0x75350000 - 0x753b0000 C:\Windows\syswow64\SspiCli.dll
0x75340000 - 0x7534c000 C:\Windows\syswow64\CRYPTBASE.dll
0x77070000 - 0x77170000 C:\Windows\syswow64\USER32.dll
0x77290000 - 0x77320000 C:\Windows\syswow64\GDI32.dll
0x753b0000 - 0x753ba000 C:\Windows\syswow64\LPK.dll
0x77330000 - 0x773cd000 C:\Windows\syswow64\USP10.dll
0x76c10000 - 0x76c70000 C:\Windows\system32\IMM32.DLL
0x76980000 - 0x76a4c000 C:\Windows\syswow64\MSCTF.dll
0x7c340000 - 0x7c396000 D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\msvcr71.dll
0x6d8e0000 - 0x6db90000 D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\client\jvm.dll
0x74ca0000 - 0x74cd2000 C:\Windows\system32\WINMM.dll
0x74e50000 - 0x74e9c000 C:\Windows\system32\apphelp.dll
0x6d890000 - 0x6d89c000 D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\java.dll
0x6d430000 - 0x6d459000 D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\jdwp.dll
0x6d750000 - 0x6d756000 D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\npt.dll
0x6d8d0000 - 0x6d8df000 D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\zip.dll
0x6d2b0000 - 0x6d2b7000 D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\dt_socket.dll
0x757e0000 - 0x75815000 C:\Windows\syswow64\WS2_32.dll
0x76a60000 - 0x76a66000 C:\Windows\syswow64\NSI.dll
0x75160000 - 0x75170000 C:\Windows\system32\NLAapi.dll
0x75150000 - 0x75160000 C:\Windows\system32\napinsp.dll
0x75130000 - 0x75142000 C:\Windows\system32\pnrpnsp.dll
0x75180000 - 0x751bc000 C:\Windows\System32\mswsock.dll
0x750e0000 - 0x75124000 C:\Windows\system32\DNSAPI.dll
0x750d0000 - 0x750d8000 C:\Windows\System32\winrnr.dll
0x750a0000 - 0x750c7000 C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
0x768b0000 - 0x768b5000 C:\Windows\syswow64\PSAPI.DLL
0x75960000 - 0x759b7000 C:\Windows\syswow64\SHLWAPI.dll
0x75070000 - 0x75091000 C:\Program Files (x86)\Bonjour\mdnsNSP.dll
0x75050000 - 0x7506c000 C:\Windows\system32\Iphlpapi.DLL
0x75040000 - 0x75047000 C:\Windows\system32\WINNSI.DLL
0x74eb0000 - 0x74ee8000 C:\Windows\System32\fwpuclnt.dll
0x74ea0000 - 0x74ea6000 C:\Windows\system32\rasadhlp.dll
0x75170000 - 0x75175000 C:\Windows\System32\wshtcpip.dll
0x6d610000 - 0x6d619000 D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\management.dll
0x6d870000 - 0x6d878000 D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\sunmscapi.dll
0x77170000 - 0x77290000 C:\Windows\syswow64\CRYPT32.dll
0x77320000 - 0x7732c000 C:\Windows\syswow64\MSASN1.dll
0x6d6c0000 - 0x6d6d3000 D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\net.dll
0x72ac0000 - 0x72ac6000 C:\Windows\System32\wship6.dll
0x748a0000 - 0x748b6000 C:\Windows\system32\CRYPTSP.dll
0x74860000 - 0x7489b000 C:\Windows\system32\rsaenh.dll
0x749e0000 - 0x749f7000 C:\Windows\system32\USERENV.dll
0x74a40000 - 0x74a4b000 C:\Windows\system32\profapi.dll
0x1ac50000 - 0x1ad16000 D:\ms4w\Apache\cgi-bin\mapscript\java\mapscript_syracuse.dll
0x1ad20000 - 0x1af6c000 D:\ms4w\Apache\cgi-bin\libmap.dll
0x02420000 - 0x02433000 D:\ms4w\Apache\cgi-bin\zlib1.dll
0x751c0000 - 0x75263000 C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCR90.dll
0x1af70000 - 0x1afa9000 D:\ms4w\Apache\cgi-bin\proj.dll
0x1afb0000 - 0x1b783000 D:\ms4w\Apache\cgi-bin\gdal18.dll
0x1b790000 - 0x1b960000 D:\ms4w\Apache\cgi-bin\xerces-c_3_1.dll
0x1b960000 - 0x1b986000 e:\oracle11g_client\product\11.2.0\client_1\bin\libexpat.dll
0x1b990000 - 0x1b9ad000 D:\ms4w\Apache\cgi-bin\LIBPQ.dll
0x71b60000 - 0x71b65000 C:\Windows\system32\SHFOLDER.dll
0x759d0000 - 0x7661a000 C:\Windows\syswow64\SHELL32.dll
0x74d10000 - 0x74d17000 C:\Windows\system32\WSOCK32.dll
0x73f30000 - 0x73f38000 C:\Windows\system32\Secur32.dll
0x1b9b0000 - 0x1ba02000 D:\ms4w\Apache\cgi-bin\lti_lidar_dsdk.dll
0x1ba10000 - 0x1bd5b000 D:\ms4w\Apache\cgi-bin\lti_dsdk.dll
0x1bd60000 - 0x1bec2000 D:\ms4w\Apache\cgi-bin\cfitsio.dll
0x1bed0000 - 0x1bf13000 D:\ms4w\Apache\cgi-bin\netcdf.dll
0x1bf20000 - 0x1bf42000 D:\ms4w\Apache\cgi-bin\geotiff.dll
0x1bf50000 - 0x1c012000 D:\ms4w\Apache\cgi-bin\libtiff.dll
0x6e300000 - 0x6e311000 D:\ms4w\Apache\cgi-bin\jbig1.dll
0x6bd80000 - 0x6be0e000 C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCP90.dll
0x1c020000 - 0x1c0fa000 D:\ms4w\Apache\cgi-bin\spatialite.dll
0x1c110000 - 0x1c28d000 D:\ms4w\Apache\cgi-bin\geos_c.dll
0x1c2a0000 - 0x1c37f000 D:\ms4w\Apache\cgi-bin\iconv.dll
0x1c380000 - 0x1c5c4000 D:\ms4w\Apache\cgi-bin\LIBMYSQL.dll
0x1c5e0000 - 0x1c7c3000 D:\ms4w\Apache\cgi-bin\hdf5dll.dll
0x1c7e0000 - 0x1c803000 D:\ms4w\Apache\cgi-bin\szlibdll.dll
0x1c820000 - 0x1c85e000 D:\ms4w\Apache\cgi-bin\libcurl.dll
0x75910000 - 0x75955000 C:\Windows\syswow64\WLDAP32.dll
0x1c860000 - 0x1c95e000 D:\ms4w\Apache\cgi-bin\LIBEAY32.dll
0x1c970000 - 0x1c9a3000 D:\ms4w\Apache\cgi-bin\SSLEAY32.dll
0x71da0000 - 0x71e2c000 C:\Windows\system32\ODBC32.dll
0x1c9c0000 - 0x1cab4000 e:\oracle11g_client\product\11.2.0\client_1\bin\OCI.dll
0x74f10000 - 0x74fab000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCR80.dll
0x1cad0000 - 0x1cade000 D:\ms4w\Apache\cgi-bin\libfcgi.dll
0x1caf0000 - 0x1cbe5000 D:\ms4w\Apache\cgi-bin\libxml2.dll
0x1cbf0000 - 0x1cd2f000 D:\ms4w\Apache\cgi-bin\cairo.dll
0x71fa0000 - 0x71fa5000 C:\Windows\system32\MSIMG32.dll
0x1cd30000 - 0x1cd9c000 D:\ms4w\Apache\cgi-bin\fribidi.dll
0x71b70000 - 0x71ba8000 C:\Windows\system32\odbcint.dll
0x62c10000 - 0x62fb7000 e:\oracle11g_client\product\11.2.0\client_1\bin\OraClient11.Dll
0x60f00000 - 0x60ff1000 e:\oracle11g_client\product\11.2.0\client_1\bin\oracore11.dll
0x61400000 - 0x614ca000 e:\oracle11g_client\product\11.2.0\client_1\bin\oranls11.dll
0x65830000 - 0x6584b000 e:\oracle11g_client\product\11.2.0\client_1\bin\oraunls11.dll
0x618c0000 - 0x618c7000 e:\oracle11g_client\product\11.2.0\client_1\bin\orauts.dll
0x76620000 - 0x7677c000 C:\Windows\syswow64\ole32.dll
0x619b0000 - 0x61be3000 e:\oracle11g_client\product\11.2.0\client_1\bin\oracommon11.dll
0x65630000 - 0x65660000 e:\oracle11g_client\product\11.2.0\client_1\bin\orasnls11.dll
0x1e1a0000 - 0x1edaf000 e:\oracle11g_client\product\11.2.0\client_1\bin\orageneric11.dll
0x65910000 - 0x65c80000 e:\oracle11g_client\product\11.2.0\client_1\bin\oraxml11.dll
0x74fb0000 - 0x75037000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCP80.dll
0x1edb0000 - 0x1f1b0000 e:\oracle11g_client\product\11.2.0\client_1\bin\oran11.dll
0x1ce80000 - 0x1cee2000 e:\oracle11g_client\product\11.2.0\client_1\bin\oranl11.dll
0x1cef0000 - 0x1cf26000 e:\oracle11g_client\product\11.2.0\client_1\bin\orantcp11.dll
0x1d050000 - 0x1d09d000 e:\oracle11g_client\product\11.2.0\client_1\bin\oranldap11.dll
0x642f0000 - 0x64422000 e:\oracle11g_client\product\11.2.0\client_1\bin\orannzsbb11.dll
0x638b0000 - 0x63a3c000 e:\oracle11g_client\product\11.2.0\client_1\bin\oraldapclnt11.dll
0x1d0d0000 - 0x1d0ee000 e:\oracle11g_client\product\11.2.0\client_1\bin\orancrypt11.dll
0x65cb0000 - 0x65e38000 e:\oracle11g_client\product\11.2.0\client_1\bin\orazt11.dll
0x773d0000 - 0x7745f000 C:\Windows\syswow64\OLEAUT32.dll
0x1d130000 - 0x1d17c000 e:\oracle11g_client\product\11.2.0\client_1\bin\oranro11.dll
0x1d180000 - 0x1d18d000 e:\oracle11g_client\product\11.2.0\client_1\bin\oranhost11.dll
0x1d1a0000 - 0x1d1a6000 e:\oracle11g_client\product\11.2.0\client_1\bin\orancds11.dll
0x1d1c0000 - 0x1d1d1000 e:\oracle11g_client\product\11.2.0\client_1\bin\orantns11.dll
0x65e40000 - 0x65ed3000 e:\oracle11g_client\product\11.2.0\client_1\bin\oraztkg11.dll
0x614d0000 - 0x618b2000 e:\oracle11g_client\product\11.2.0\client_1\bin\orapls11.dll
0x65620000 - 0x65629000 e:\oracle11g_client\product\11.2.0\client_1\bin\oraslax11.dll
0x65850000 - 0x65856000 e:\oracle11g_client\product\11.2.0\client_1\bin\oravsn11.dll
0x65100000 - 0x653d1000 e:\oracle11g_client\product\11.2.0\client_1\bin\oraplp11.dll
0x632b0000 - 0x63633000 e:\oracle11g_client\product\11.2.0\client_1\bin\orahasgen11.dll
0x740d0000 - 0x740e1000 C:\Windows\system32\NETAPI32.dll
0x74120000 - 0x74129000 C:\Windows\system32\netutils.dll
0x740b0000 - 0x740c9000 C:\Windows\system32\srvcli.dll
0x740a0000 - 0x740af000 C:\Windows\system32\wkscli.dll
0x6bd50000 - 0x6bd72000 C:\Windows\system32\LOGONCLI.DLL

VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:50145 -Dcatalina.home=D:\Program Files (x86)\apache-tomcat-7.0.41 -Dcatalina.base=D:\Program Files (x86)\apache-tomcat-7.0.41 -Djava.endorsed.dirs=D:\Program Files (x86)\apache-tomcat-7.0.41/common/endorsed -Djava.io.tmpdir=D:\Program Files (x86)\apache-tomcat-7.0.41\temp -Djava.library.path=D:\Program Files (x86)\Java\jdk1.6.0_45\bin;D:\Program Files (x86)\apache-tomcat-7.0.41\bin -Dsun.io.useCanonCaches=false -Djava.library.path=D:\ms4w\Apache\cgi-bin -Djava.library.path=D:\ms4w\Apache\cgi-bin\mapscript\java
java_command: org.apache.catalina.startup.Bootstrap start
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=D:\Program Files (x86)\Java\jdk1.6.0_45
CLASSPATH=D:\ms4w\Apache\cgi-bin\mapscript\java;D:\ms4w\Apache\cgi-bin\mapscript\java\mapscript.jar;D:\Program Files (x86)\Java\jdk1.6.0_45\bin;
PATH=D:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin;D:/Program Files (x86)/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client;D:/Program Files (x86)/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin;e:\oracle11g_client\product\11.2.0\client_1\bin;D:\ms4w\Apache\cgi-bin\mapscript\java;D:\ms4w\Apache\cgi-bin;D:\ms4w\Apache\cgi-bin\mapscript;D:\Program Files (x86)\Java\jdk1.6.0_45\bin;C:\Program Files (x86)\RSA SecurID Token Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;E:\oracle\product\10.2.0\db_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared
USERNAME=skv
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 7 , 64 bit Build 7601 Service Pack 1

CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt

Memory: 4k page, physical 8344472k(5887420k free), swap 16687084k(13958580k free)

vm_info: Java HotSpot(TM) Client VM (20.45-b01) for windows-x86 JRE (1.6.0_45-b06), built on Mar 26 2013 13:40:03 by "java_re" with MS VC++ 7.1 (VS2003)

time: Thu Nov 14 10:37:20 2013
elapsed time: 53 seconds

Could anybody shed any light on this. I do not know much in C/DLL programming. Is there anything that can be configured in Apache Tomcat? Is the Tomcat's APR required?

Regards,
Shiva Shankar
Reply | Threaded
Open this post in threaded view
|

Re: MS4W (MapServer 4 Windows) - version 3.0.3 Crashes JVM and Tomcat frequently. How to fix this?

shiva.sk4
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hello Everybody,

Is the MapServer MS4W Java API thread safe? Will making the method declarations in edu.umn.gis.mapscript.mapscriptJNI or edu.umn.gis.mapscript.mapObj classes as synchronized effect the API adversely? I did try marking all the method declarations as synchronized in the edu.umn.gis.mapscript.mapObj class and few methods such as mapObj_draw(..), mapObj_drawQuery(..), mapObj_drawLegend(..),mapObj_drawScalebar(..) and mapObj_drawReferenceMap(...) in edu.umn.gis.mapscript.mapscriptJNI class. This helped reduce the tomcat crashing issue. Is there any particular way to create the mapObj and using it? I have a common mapObj with all its properties like mapHeight,mapWidth,bounding box coords shared by different mapping functionality methods such as zoom-in,zoom-out,pan,fullExtent,etc.

Can anybody suggest me about the best way (thread-safe) to create and use the mapObj in MapServer Java Mapscript API?

Regards,
Shiva