tomcat崩溃,急盼专家指点

aspirerME 2009-08-21 09:15:13
每次崩溃都会生成类似的“log”比如:hs_err_pid1888.log的内容如下:


#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c95b583, pid=1888, tid=2420
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_02-b09 mixed mode)
# Problematic frame:
# C [ntdll.dll+0x2b583]
#

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

Current thread (0x6d86d300): JavaThread "http-80-Processor10" daemon [_thread_in_native, id=2420]

siginfo: ExceptionCode=0xc0000005, writing address 0x7373632f

Registers:
EAX=0x6ce72fb0, EBX=0x0000060b, ECX=0x7373632f, EDX=0x6ce72fb0
ESP=0x6d4ceff0, EBP=0x6d4cf008, ESI=0x6ce72fa8, EDI=0x00030000
EIP=0x7c95b583, EFLAGS=0x00010246

Top of Stack: (sp=0x6d4ceff0)
0x6d4ceff0: 6ce72fa8 6ce72fa8 00030000 6cc70000
0x6d4cf000: 6cc70000 031a0000 6d4cf050 7c95ba81
0x6d4cf010: 0000060b 00e72fa8 0000060b 00030000
0x6d4cf020: 6ce72fa8 00000000 00000000 6ce76000
0x6d4cf030: 6d4cf04c 6cc70000 00000000 6ce76000
0x6d4cf040: 00000000 0000000b 00000000 00000000
0x6d4cf050: 6d4cf134 7c95b646 6ce73000 00003000
0x6d4cf060: 0000060b 000001a4 6ce72fb0 00002000

Instructions: (pc=0x7c95b583)
0x7c95b573: 00 00 8b d0 8b 4a 04 8d 46 08 89 10 89 48 04 56
0x7c95b583: 89 01 57 89 42 04 e8 37 f0 ff ff 89 5d 08 0f b7


Stack: [0x6d490000,0x6d4d0000), sp=0x6d4ceff0, free space=251k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x2b583]
C [ntdll.dll+0x2ba81]
C [ntdll.dll+0x2b646]
C [MSVCRT.dll+0x1cef6]
C [net.dll+0x6a4e]
J java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I
J java.net.SocketInputStream.read([BII)I
J org.apache.coyote.http11.InternalInputBuffer.fill()Z
J org.apache.coyote.http11.InternalInputBuffer.parseRequestLine()V
J org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V
J org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V
J org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V
J org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V
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+0x818e8]
V [jvm.dll+0xd4989]
V [jvm.dll+0x817b9]
V [jvm.dll+0x81516]
V [jvm.dll+0x9c1d6]
V [jvm.dll+0xfeeab]
V [jvm.dll+0xfee79]
C [MSVCRT.dll+0x2b530]
C [kernel32.dll+0x24829]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I
J java.net.SocketInputStream.read([BII)I
J org.apache.coyote.http11.InternalInputBuffer.fill()Z
J org.apache.coyote.http11.InternalInputBuffer.parseRequestLine()V
J org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V
J org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V
J org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V
J org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V
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 )
0x6cc4c940 JavaThread "Thread-36" daemon [_thread_blocked, id=3732]
0x6cc19300 JavaThread "Thread-34" daemon [_thread_blocked, id=636]
0x6d939a00 JavaThread "TP-Monitor" daemon [_thread_blocked, id=2492]
0x6d938ea8 JavaThread "TP-Processor4" daemon [_thread_in_native, id=2116]
0x6d85ed30 JavaThread "TP-Processor3" daemon [_thread_blocked, id=1600]
0x6d8e8d58 JavaThread "TP-Processor2" daemon [_thread_blocked, id=344]
0x6d93ad80 JavaThread "TP-Processor1" daemon [_thread_blocked, id=912]
0x6d875eb8 JavaThread "http-80-Monitor" [_thread_blocked, id=2912]
0x6d875108 JavaThread "http-80-Processor25" daemon [_thread_blocked, id=2952]
0x6d874498 JavaThread "http-80-Processor24" daemon [_thread_blocked, id=1884]
0x6d873828 JavaThread "http-80-Processor23" daemon [_thread_blocked, id=2076]
0x6d872bb8 JavaThread "http-80-Processor22" daemon [_thread_blocked, id=1392]
0x6d871f48 JavaThread "http-80-Processor21" daemon [_thread_blocked, id=3384]
0x6d8712d8 JavaThread "http-80-Processor20" daemon [_thread_blocked, id=2896]
0x6d870668 JavaThread "http-80-Processor19" daemon [_thread_blocked, id=1828]
0x6d06abb8 JavaThread "http-80-Processor18" daemon [_thread_blocked, id=1080]
0x6d069f60 JavaThread "http-80-Processor17" daemon [_thread_blocked, id=3276]
0x6d069320 JavaThread "http-80-Processor16" daemon [_thread_in_native, id=1584]
0x6d0686e0 JavaThread "http-80-Processor15" daemon [_thread_blocked, id=2488]
0x6d067aa0 JavaThread "http-80-Processor14" daemon [_thread_blocked, id=696]
0x6d066e60 JavaThread "http-80-Processor13" daemon [_thread_blocked, id=2776]
0x6d066220 JavaThread "http-80-Processor12" daemon [_thread_blocked, id=3704]
0x6d0655e0 JavaThread "http-80-Processor11" daemon [_thread_blocked, id=1756]
=>0x6d86d300 JavaThread "http-80-Processor10" daemon [_thread_in_native, id=2420]
0x6d86c6c0 JavaThread "http-80-Processor9" daemon [_thread_blocked, id=1960]
0x6d86bb10 JavaThread "http-80-Processor8" daemon [_thread_blocked, id=2024]
0x6d86af60 JavaThread "http-80-Processor7" daemon [_thread_blocked, id=2432]
0x6d86a3b0 JavaThread "http-80-Processor6" daemon [_thread_blocked, id=1776]
0x6d869800 JavaThread "http-80-Processor5" daemon [_thread_blocked, id=1820]
0x6d84d388 JavaThread "http-80-Processor4" daemon [_thread_blocked, id=488]
0x6d8b9cd8 JavaThread "http-80-Processor3" daemon [_thread_blocked, id=2740]
0x6d84c8d0 JavaThread "http-80-Processor2" daemon [_thread_blocked, id=2180]
0x6d84c750 JavaThread "http-80-Processor1" daemon [_thread_blocked, id=1404]
0x6d04f498 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=2212]
0x6d883460 JavaThread "Thread-1" [_thread_in_native, id=3728]
0x00ab7da0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3520]
0x00ab6a00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2788]
0x00ab5cf0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3960]
0x00aa73d0 JavaThread "Finalizer" daemon [_thread_blocked, id=3612]
0x00aa5f38 JavaThread "Reference Handler" daemon [_thread_blocked, id=2968]
0x000369f8 JavaThread "main" [_thread_in_native, id=3544]

Other Threads:
0x00aa35f0 VMThread [id=132]
0x00ab90b8 WatcherThread [id=2688]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 115136K, used 32310K [0x02af0000, 0x0a7d0000, 0x0a7d0000)
eden space 102400K, 25% used [0x02af0000, 0x0445b698, 0x08ef0000)
from space 12736K, 49% used [0x09b60000, 0x0a1822b0, 0x0a7d0000)
to space 12736K, 0% used [0x08ef0000, 0x08ef0000, 0x09b60000)
tenured generation total 1535104K, used 224117K [0x0a7d0000, 0x682f0000, 0x682f0000)
the space 1535104K, 14% used [0x0a7d0000, 0x182ad428, 0x182ad600, 0x682f0000)
compacting perm gen total 20480K, used 20368K [0x682f0000, 0x696f0000, 0x6c2f0000)
the space 20480K, 99% used [0x682f0000, 0x696d4140, 0x696d4200, 0x696f0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040c000 D:\OA\jdk1.5.0_02\bin\java.exe
0x7c930000 - 0x7ca00000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c92b000 C:\WINDOWS\system32\kernel32.dll
0x77f30000 - 0x77fdb000 C:\WINDOWS\system32\ADVAPI32.dll
0x77c20000 - 0x77cbf000 C:\WINDOWS\system32\RPCRT4.dll
0x76eb0000 - 0x76ec3000 C:\WINDOWS\system32\Secur32.dll
0x77b70000 - 0x77bca000 C:\WINDOWS\system32\MSVCRT.dll
0x6d6b0000 - 0x6d835000 D:\OA\jdk1.5.0_02\jre\bin\client\jvm.dll
0x77e10000 - 0x77ea0000 C:\WINDOWS\system32\USER32.dll
0x77bd0000 - 0x77c18000 C:\WINDOWS\system32\GDI32.dll
0x769e0000 - 0x76a0a000 C:\WINDOWS\system32\WINMM.dll
0x76180000 - 0x7619d000 C:\WINDOWS\system32\IMM32.DLL
0x7f000000 - 0x7f009000 C:\WINDOWS\system32\LPK.DLL
0x74ae0000 - 0x74b45000 C:\WINDOWS\system32\USP10.dll
0x71b20000 - 0x71b28000 C:\WINDOWS\system32\rdpsnd.dll
0x77f10000 - 0x77f21000 C:\WINDOWS\system32\WINSTA.dll
0x71ba0000 - 0x71bf7000 C:\WINDOWS\system32\NETAPI32.dll
0x76ab0000 - 0x76abb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d2f0000 - 0x6d2f8000 D:\OA\jdk1.5.0_02\jre\bin\hpi.dll
0x6d680000 - 0x6d68c000 D:\OA\jdk1.5.0_02\jre\bin\verify.dll
0x6d370000 - 0x6d38d000 D:\OA\jdk1.5.0_02\jre\bin\java.dll
0x6d6a0000 - 0x6d6af000 D:\OA\jdk1.5.0_02\jre\bin\zip.dll
0x6d530000 - 0x6d543000 D:\OA\jdk1.5.0_02\jre\bin\net.dll
0x71b60000 - 0x71b77000 C:\WINDOWS\system32\WS2_32.dll
0x71b50000 - 0x71b58000 C:\WINDOWS\system32\WS2HELP.dll
0x71a80000 - 0x71ac0000 C:\WINDOWS\system32\mswsock.dll
0x6d0c0000 - 0x6d117000 C:\WINDOWS\system32\hnetcfg.dll
0x71a40000 - 0x71a48000 C:\WINDOWS\System32\wshtcpip.dll
0x6e440000 - 0x6e475000 C:\WINDOWS\system32\rsaenh.dll
0x75870000 - 0x7592d000 C:\WINDOWS\system32\USERENV.dll
0x76e30000 - 0x76e5b000 C:\WINDOWS\system32\DNSAPI.dll
0x76ed0000 - 0x76ed7000 C:\WINDOWS\System32\winrnr.dll
0x76e70000 - 0x76e9e000 C:\WINDOWS\system32\WLDAP32.dll
0x76ee0000 - 0x76ee5000 C:\WINDOWS\system32\rasadhlp.dll

VM Arguments:
jvm_args: -Xms1624M -Xmx1624M -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -







到底是什么原因引起的,如何解决。
望各位高人不吝赐教!!

...全文
356 8 打赏 收藏 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
leon_xiao 2010-12-31
  • 打赏
  • 举报
回复
compacting perm gen total 20480K, used 20368K [0x682f0000, 0x696f0000, 0x6c2f0000)
the space 20480K, 99% used [0x682f0000, 0x696d4140, 0x696d4200, 0x696f0000)


应该是 perm gen 太小了

-XX:maxpergen
phoenixYiYou 2009-09-10
  • 打赏
  • 举报
回复
只要你的tomcat安装后已经可以正常启动,接下来,就从你的程序里找原因吧?很少可能会是tomcat的问题!大多是你部署的程序有问题导致了tomcat的问题!呵呵!
aspirerME 2009-09-10
  • 打赏
  • 举报
回复
up
HeavenNash 2009-08-26
  • 打赏
  • 举报
回复
看看环境变量什么的有没有配置好
w11x22b33 2009-08-21
  • 打赏
  • 举报
回复
给代码加个端点,看哪里出错???
w11x22b33 2009-08-21
  • 打赏
  • 举报
回复
如果是jdk不兼容,你编译你整个代码工程会出错的

运行工程时候,tomat报错吗?

数据库联接配置是否正确?
  • 打赏
  • 举报
回复
实在不行的话,就升级jdk吧
  • 打赏
  • 举报
回复
网上有人说是语言设置冲突,语言支持English(Aus)试试

5,657

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧