多个线程跑或传参长度太长时,控制台或tomcat就down掉了
现在用jacob 调用一个控件,同时并发的数量,到一定程度就会把服务关了;还有就算子有一个线程跑,当传入的参数的长度超过一定位数也会关掉服务。。。痛苦,有没有哪个童鞋知道,怎么解决。。---控制台出现以下提示----
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0318ff90, pid=5392, tid=4612
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode, sharing windows-x86)
# Problematic frame:
# C [zkemkeeper.dll+0x2ff90]
#
# An error report file with more information is saved as:
# E:\workspace\zzzz\hs_err_pid5392.log
#
# 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.
#
[error occurred during error reporting , id 0xc0000005]
-------找到hs_err_pid5392.log错误文件内容如下-------
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0318ff90, pid=5392, tid=4612
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode, sharing windows-x86)
# Problematic frame:
# C [zkemkeeper.dll+0x2ff90]
#
# 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 (0x00857c00): JavaThread "main" [_thread_in_native, id=4612, stack(0x008f0000,0x00940000)]
siginfo: ExceptionCode=0xc0000005, writing address 0x0357a000
Registers:
EAX=0x03570050, EBX=0x0319de14, ECX=0x00000002, EDX=0x00000079
ESP=0x0092aecc, EBP=0x0092aed0, ESI=0x000d2a20, EDI=0x03579fd0
EIP=0x0318ff90, EFLAGS=0x00010202
Top of Stack: (sp=0x0092aecc)
0x0092aecc: 00000000 0092aef0 0318ffef 03570050
0x0092aedc: 0000a080 fd781bfc 00000079 0092aefc
0x0092aeec: 03570050 0092af14 0319003b 03570050
0x0092aefc: 00000000 0000a0f9 00000008 0092af4c
0x0092af0c: 0092af1c 00000000 0092b368 0316166a
0x0092af1c: 03570048 00000000 0000a101 052c2042
0x0092af2c: 032b4758 00000000 00000000 00000000
0x0092af3c: 00000000 00000000 00000000 00000000
Instructions: (pc=0x0318ff90)
0x0318ff80: 00 90 66 0f 7f 07 66 0f 7f 47 10 66 0f 7f 47 20
0x0318ff90: 66 0f 7f 47 30 66 0f 7f 47 40 66 0f 7f 47 50 66
Stack: [0x008f0000,0x00940000], sp=0x0092aecc, free space=235k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [zkemkeeper.dll+0x2ff90]
C [zkemkeeper.dll+0x2ffef]
C [zkemkeeper.dll+0x3003b]
C [zkemkeeper.dll+0x166a]
C [zkemkeeper.dll+0x1a33]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.jacob.com.Dispatch.invokev(Lcom/jacob/com/Dispatch;Ljava/lang/String;III[Lcom/jacob/com/Variant;[I)Lcom/jacob/com/Variant;+0
j com.jacob.com.Dispatch.invokev(Lcom/jacob/com/Dispatch;Ljava/lang/String;I[Lcom/jacob/com/Variant;[I)Lcom/jacob/com/Variant;+14
j com.jacob.com.Dispatch.callN(Lcom/jacob/com/Dispatch;Ljava/lang/String;[Ljava/lang/Object;)Lcom/jacob/com/Variant;+15
j com.jacob.com.Dispatch.call(Lcom/jacob/com/Dispatch;Ljava/lang/String;[Ljava/lang/Object;)Lcom/jacob/com/Variant;+7
j com.nomen.ntrain.attend.test.JavaOcx.main([Ljava/lang/String;)V+139
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x02e61000 JavaThread "Thread-0" [_thread_in_native, id=2844, stack(0x03060000,0x030b0000)]
0x02b23800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4112, stack(0x02d90000,0x02de0000)]
0x02b1b000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4364, stack(0x02d40000,0x02d90000)]
0x02b19800 JavaThread "Attach Listener" daemon [_thread_blocked, id=5240, stack(0x02cf0000,0x02d40000)]
0x02b18800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4200, stack(0x02ca0000,0x02cf0000)]
0x02ad5c00 JavaThread "Finalizer" daemon [_thread_blocked, id=4444, stack(0x02c50000,0x02ca0000)]
0x02ad1400 JavaThread "Reference Handler" daemon [_thread_blocked, id=4336, stack(0x02c00000,0x02c50000)]
=>0x00857c00 JavaThread "main" [_thread_in_native, id=4612, stack(0x008f0000,0x00940000)]
Other Threads:
0x02acf800 VMThread [stack: 0x02bb0000,0x02c00000] [id=5704]
0x02b25800 WatcherThread [stack: 0x02de0000,0x02e30000] [id=936]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 960K, used 204K [0x229e0000, 0x22ae0000, 0x22ec0000)
eden space 896K, 15% used [0x229e0000, 0x22a03320, 0x22ac0000)
from space 64K, 100% used [0x22ad0000, 0x22ae0000, 0x22ae0000)
to space 64K, 0% used [0x22ac0000, 0x22ac0000, 0x22ad0000)
tenured generation total 4096K, used 149K [0x22ec0000, 0x232c0000, 0x269e0000)
the space 4096K, 3% used [0x22ec0000, 0x22ee55e8, 0x22ee5600, 0x232c0000)
compacting perm gen total 12288K, used 662K [0x269e0000, 0x275e0000, 0x2a9e0000)
the space 12288K, 5% used [0x269e0000, 0x26a859c8, 0x26a85a00, 0x275e0000)
ro space 8192K, 67% used [0x2a9e0000, 0x2af42f30, 0x2af43000, 0x2b1e0000)
rw space 12288K, 53% used [0x2b1e0000, 0x2b850180, 0x2b850200, 0x2bde0000)
Dynamic libraries:
0x00400000 - 0x00424000 D:\Program Files\Java\jdk1.6.0_10\bin\javaw.exe
0x7c920000 - 0x7c9b6000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c91e000 C:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e49000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 - 0x77ee3000 C:\WINDOWS\system32\RPCRT4.dll
0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll
0x77d10000 - 0x77da0000 C:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f39000 C:\WINDOWS\system32\GDI32.dll
0x76300000 - 0x7631d000 C:\WINDOWS\system32\IMM32.DLL
0x62c20000 - 0x62c29000 C:\WINDOWS\system32\LPK.DLL
0x73fa0000 - 0x7400b000 C:\WINDOWS\system32\USP10.dll
0x7c340000 - 0x7c396000 D:\Program Files\Java\jdk1.6.0_10\jre\bin\msvcr71.dll
0x6d8b0000 - 0x6db06000 D:\Program Files\Java\jdk1.6.0_10\jre\bin\client\jvm.dll
(.......部分省略..........)
0x73640000 - 0x7366e000 C:\WINDOWS\system32\msctfime.ime
VM Arguments:
jvm_args: -Xbootclasspath/a:C:\Program Files\MyEclipse 5.5.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.5.1\data\libraryset\1.4\activation.jar;C:\Program Files\MyEclipse 5.5.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.5.1\data\libraryset\1.4\javax.servlet.jar;C:\Program Files\MyEclipse 5.5.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.5.1\data\libraryset\1.4\javax.servlet.jsp.jar;C:\Program Files\MyEclipse 5.5.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.5.1\data\libraryset\1.4\jboss-j2ee.jar;C:\Program Files\MyEclipse 5.5.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.5.1\data\libraryset\1.4\jboss-jaxrpc.jar;C:\Program Files\MyEclipse 5.5.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.5.1\data\libraryset\1.4\jboss-jsr77.jar;C:\Program Files\MyEclipse 5.5.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.5.1\data\libraryset\1.4\jboss-saaj.jar;C:\Program Files\MyEclipse 5.5.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.5.1\data\libraryset\1.4\mail.jar;C:\Program Files\MyEclipse 5.5.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.5.1\data\libraryset\1.4\namespace.jar;C:\Program Files\MyEclipse 5.5.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.5.1\data\libraryset\1.4\xml-apis.jar
java_command: com.nomen.ntrain.attend.test.JavaOcx
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.5.0
CLASSPATH=.;C:\Program Files\Java\jdk1.5.0\lib\dt.jar;C:\Program Files\Java\jdk1.5.0\lib\tools.jar
PATH=.;C:\Program Files\Java\jdk1.5.0\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\j2sdk1.4.2\bin;C:\j2sdk1.4.2\jre\bin;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\Microsoft SQL Server\80\Tools\BINN
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 14 Stepping 12, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 3
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 14 stepping 12, cmov, cx8, fxsr, mmx, sse, sse2, sse3
Memory: 4k page, physical 2095148k(607760k free), swap 2721796k(999896k free)
vm_info: Java HotSpot(TM) Client VM (11.0-b15) for windows-x86 JRE (1.6.0_10-rc2-b32), built on Sep 12 2008 00:52:11 by "java_re" with MS VC++ 7.1
time: Wed May 29 11:45:14 2013
elapsed time: 4 seconds
java jacob tomcat 控制台 多线程 --------------------编程问答-------------------- 楼主解决问题了吗?我也遇到了同样的问题,等待解决 --------------------编程问答-------------------- Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode, sharing windows-x86)
感觉和JDK、tomcat版本有关系。
LZ的JDK和tomcat版本是多少?还有操作系统。
另外,tomcat是解压版的么? --------------------编程问答-------------------- 问题还没解决,我的配置:JDK 1.5;tomcat 5.5;还有JDK 换成1.6、1.7都不行,,jacob由1.9一直试到最新版本也都一样会宕掉服务,,真不知道怎么解决了,感觉jacob调用dll不太好
补充:Java , Java相关