-
javacore片段,麻烦大神们看看是哪里出了问题CPU 100% 10
3XMTHREADINFO "WebContainer : 20" J9VMThread:0x0000000032E0DD00, j9thread_t:0x000001001C2DA980, java/lang/Thread:0x0000000048A2B980, state:CW, prio=5
3XMTHREADINFO1 (native thread ID:0x53001CF, native priority:0x5, native policy:UNKNOWN)
3XMTHREADINFO3 Java callstack:
4XESTACKTRACE at java/util/zip/ZipFile.open(Native Method)
4XESTACKTRACE at java/util/zip/ZipFile.<init>(ZipFile.java:150(Compiled Code))
4XESTACKTRACE at java/util/jar/JarFile.<init>(JarFile.java:149(Compiled Code))
4XESTACKTRACE at java/util/jar/JarFile.<init>(JarFile.java:113(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/util/MetaInfResourcesFileUtils.findInMetaInfResource(MetaInfResourcesFileUtils.java:144(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/util/MetaInfResourcesFileUtils.findInMetaInfResource(MetaInfResourcesFileUtils.java:84(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/util/DocumentRootUtils.handleDocumentRoots(DocumentRootUtils.java:240(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/util/DocumentRootUtils.handleDocumentRoots(DocumentRootUtils.java:191(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/util/DocumentRootUtils.getDocumentRealPath(DocumentRootUtils.java:476(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/webapp/WebApp.getRealPath(WebApp.java:2432(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/webapp/WebAppDispatcherContext.getPathTranslated(WebAppDispatcherContext.java:484(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/srt/SRTServletRequest.getPathTranslated(SRTServletRequest.java:1939(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/http/HttpServletRequestSnapshot.<init>(HttpServletRequestSnapshot.java:85(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/http/AbstractHTTPDestination$1.cacheInput(AbstractHTTPDestination.java:303(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/http/AbstractHTTPDestination.cacheInput(AbstractHTTPDestination.java:519(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/http/AbstractHTTPDestination.flushHeaders(AbstractHTTPDestination.java:531(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/http/AbstractHTTPDestination.flushHeaders(AbstractHTTPDestination.java:524(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/http/AbstractHTTPDestination$WrappedOutputStream.onFirstWrite(AbstractHTTPDestination.java:658(Compiled Code))
4XESTACKTRACE at org/apache/cxf/io/AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:42(Compiled Code))
4XESTACKTRACE at com/ibm/xml/xlxp2/api/stax/serializer/StAXWriter.flushInternal(StAXWriter.java:58(Compiled Code))
4XESTACKTRACE at com/ibm/xml/xlxp2/api/stax/serializer/StAXWriter.flush(StAXWriter.java:64(Compiled Code))
4XESTACKTRACE at com/ibm/xml/xlxp2/api/stax/XMLStreamWriterImpl.flush(XMLStreamWriterImpl.java:762(Compiled Code))
4XESTACKTRACE at com/ibm/xml/xlxp2/api/stax/XMLOutputFactoryImpl$XMLStreamWriterProxy.flush(XMLOutputFactoryImpl.java:155(Compiled Code))
4XESTACKTRACE at org/apache/cxf/interceptor/AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:99(Compiled Code))
4XESTACKTRACE at org/apache/cxf/interceptor/BareOutInterceptor.handleMessage(BareOutInterceptor.java:68(Compiled Code))
4XESTACKTRACE at org/apache/cxf/phase/PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255(Compiled Code))
5XESTACKTRACE (entered lock: org/apache/cxf/phase/PhaseInterceptorChain@0x00000000993897B0, entry count: 1)
4XESTACKTRACE at org/apache/cxf/interceptor/OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:77(Compiled Code))
4XESTACKTRACE at org/apache/cxf/phase/PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255(Compiled Code))
5XESTACKTRACE (entered lock: org/apache/cxf/phase/PhaseInterceptorChain@0x00000000991FFB60, entry count: 1)
4XESTACKTRACE at org/apache/cxf/transport/ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/servlet/ServletDestination.invoke(ServletDestination.java:97(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/servlet/ServletController.invokeDestination(ServletController.java:461(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/servlet/ServletController.invoke(ServletController.java:188(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/servlet/AbstractCXFServlet.invoke(AbstractCXFServlet.java:148(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/servlet/AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/servlet/AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103(Compiled Code))
4XESTACKTRACE at javax/servlet/http/HttpServlet.service(HttpServlet.java:595(Compiled Code))
4XESTACKTRACE at org/apache/cxf/transport/servlet/AbstractHTTPServlet.service(AbstractHTTPServlet.java:159(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/servlet/ServletWrapper.service(ServletWrapper.java:1224(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/servlet/ServletWrapper.handleRequest(ServletWrapper.java:774(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/servlet/ServletWrapper.handleRequest(ServletWrapper.java:456(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/servlet/ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/filter/WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1032(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/servlet/CacheServletWrapper.handleRequest(CacheServletWrapper.java:87(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/WebContainer.handleRequest(WebContainer.java:895(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/WSWebContainer.handleRequest(WSWebContainer.java:1662(Compiled Code))
4XESTACKTRACE at com/ibm/ws/webcontainer/channel/WCChannelLink.ready(WCChannelLink.java:195(Compiled Code))
4XESTACKTRACE at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452(Compiled Code))
4XESTACKTRACE at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.handleNewRequest(HttpInboundLink.java:511(Compiled Code))
4XESTACKTRACE at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.processRequest(HttpInboundLink.java:305(Compiled Code))
4XESTACKTRACE at com/ibm/ws/http/channel/inbound/impl/HttpICLReadCallback.complete(HttpICLReadCallback.java:83(Compiled Code))
4XESTACKTRACE at com/ibm/ws/tcp/channel/impl/AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165(Compiled Code))
4XESTACKTRACE at com/ibm/io/async/AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217(Compiled Code))
4XESTACKTRACE at com/ibm/io/async/AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161(Compiled Code))
4XESTACKTRACE at com/ibm/io/async/AsyncFuture.completed(AsyncFuture.java:138(Compiled Code))
4XESTACKTRACE at com/ibm/io/async/ResultHandler.complete(ResultHandler.java:204(Compiled Code))
4XESTACKTRACE at com/ibm/io/async/ResultHandler.runEventProcessingLoop(ResultHandler.java:775(Compiled Code))
4XESTACKTRACE at com/ibm/io/async/ResultHandler$2.run(ResultHandler.java:905)
4XESTACKTRACE at com/ibm/ws/util/ThreadPool$Worker.run(ThreadPool.java:1659)
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK _event_wait+0x2b8 (0x09000000007A3AFC [libpthreads.a+0x16afc])
4XENATIVESTACK _cond_wait_local+0x4e4 (0x09000000007B18A8 [libpthreads.a+0x248a8])
4XENATIVESTACK _cond_wait+0xbc (0x09000000007B1E80 [libpthreads.a+0x24e80])
4XENATIVESTACK pthread_cond_wait+0x1a8 (0x09000000007B2AEC [libpthreads.a+0x25aec])
4XENATIVESTACK (0x0900000002343014 [libj9thr26.so+0x6014])
4XENATIVESTACK (0x0900000002342C60 [libj9thr26.so+0x5c60])
4XENATIVESTACK (0x0900000002290AF8 [libj9vm26.so+0xfaf8])
4XENATIVESTACK (0x0900000002BD0418 [libj9jit26.so+0x7ab418])
4XENATIVESTACK (0x0900000002287644 [libj9vm26.so+0x6644])
4XENATIVESTACK (0x0900000002359BA0 [libj9prt26.so+0x2ba0])
4XENATIVESTACK (0x09000000022874B4 [libj9vm26.so+0x64b4])
4XENATIVESTACK (0x090000000233FAF4 [libj9thr26.so+0x2af4])
4XENATIVESTACK _pthread_body+0xf0 (0x0900000000790D54 [libpthreads.a+0x3d54])2014年1月02日 13:54
2个答案 按时间排序 按投票排序
-
ResultHandler.runEventProcessingLoop()线程调用这个方法出问题了
主要是这个类的构造函数中导致失败的
HttpServletRequestSnapshot
是调用这句代码失败的
com/ibm/ws/webcontainer/util/MetaInfResourcesFileUtils.findInMetaInfResource
具体失败的运营是
ZipFIle.open 你看看那个地方为什么会打不开文件,是一个zip资源的格式不正确还是文件没有找到,你自己在自己看看
下面这个地方是倒是错误的原因,你看看文件路径是多少
at java/util/zip/ZipFile.open(Native Method)
at java/util/zip/ZipFile.<init>(ZipFile.java:150(Compiled Code))
2014年1月02日 17:24
相关推荐
- **识别问题**:首先,根据javacore文件中的线程堆栈信息,找出可能的阻塞线程和高CPU使用率线程。 - **分析heapdump**:接着,使用heapdump分析工具查找内存占用大的对象,分析其生命周期,找出可能导致内存泄漏...
JavaCore分析工具是一款专为Java开发者和系统管理员设计的实用工具,主要用于分析和理解Java应用程序的Javacore文件。Javacore是Java虚拟机(JVM)在遇到问题时生成的一种转储文件,包含了关于JVM运行时状态的重要...
javacore.txt文件用jca打开,heapdump.phd文件用ha打开。 Heap dump 文件是一个二进制文件,它保存了某一时刻在 Java 堆中所有对象的状态。这个文件最重要的作用就是分析 Java 堆内存泄露问题,heap analyzer,MAT ...
`javacore`和`heapdump`文件就是用来记录和诊断这类问题的重要工具。本篇文章将详细讲解如何使用`javacore`和`heapdump`分析工具,特别是针对Websphere环境的`ha`和`jca`工具,以及如何使用JDK1.6来打开和解析这些...
IBM WebSphere JavaCore分析工具是针对IBM WebSphere应用服务器中出现的问题进行诊断的重要工具。JavaCore文件是由IBM WebSphere生成的一种日志文件,它记录了JVM(Java虚拟机)在遇到严重错误或异常时的堆栈跟踪和...
在这种情况下,分析工具的使用就显得至关重要,特别是IBM提供的javacore分析工具,它可以帮助我们诊断和解决这些问题。本文将深入探讨IBM WebSphere中的JCA(Java Connector Architecture)与javacore分析之间的关联...
当Java应用程序出现异常,如内存溢出(Out Of Memory,OOM)等问题时,分析javacore日志能够帮助我们找出问题的根源。`jca15.zip`提供的就是一个专门用于分析这类日志的工具。 首先,`jca15.jar`是这个工具的核心...
javacore分析功能,分析系统内存溢出生成的javacore文件,用于帮助分析内存溢出点
IBM JVM 分析工具,JCA,javaCore查看工具
通过分析javacore文件可以获取到发生问题时刻JVM的所有线程状态、内存使用情况等关键信息,这对于诊断问题的根本原因非常有帮助,并有助于采取相应的预防措施以避免类似问题再次发生。 #### 三、javacore文件的生成...
Java Core (javacore) 和 Heap Dump 是Java应用程序出现问题时常用的诊断工具,它们提供了关于Java虚拟机(JVM)状态的详细信息。JCA(Java Composite Diagnostic Tools)是Oracle提供的一个强大工具,用于分析和...
websphere在内存溢出的时候会产生javacore文件,分析这个文件可以看出cpu的使用情况。
5. **分析文件**:生成的javacore和heapdump文件可以用专门的分析工具打开,如IBM Heap Analysis Tool (HAT),Eclipse Memory Analyzer (MAT)等,它们能提供可视化的分析结果,帮助找出问题。 6. **注意问题**:在...
在IT领域,尤其是在企业级应用服务器的运维与故障排查中,收集Heapdump和JavaCore是诊断Java应用程序内存泄漏、性能瓶颈以及异常行为的关键步骤。本文将深入解析在AIX系统环境下,如何通过设置特定环境变量来有效...
javaCore文件分析工具(最新版-2012-12-18) 用于分析系统宕机时产生的javacore文件
Java Core-HeapDump 文件是 Java 应用程序在发生致命问题的情况下产生的两个文件,它们分别是 JavaCore 文件和 HeapDump 文件。这些文件能够帮助开发者保留 Java 应用程序发生致命错误前的运行状态,从而帮助开发者...
从IBM 站点 一个perl 的脚本转过来的。打印内存利用情况。 python 3.0