Thread hung的问题。

问题描述

服务器的LOG上出现下面的错。一般是什么问题,如何查找?多谢。。。。InSystemOut.log[10/4/1116:37:37:339GMT+08:00]0000000fThreadMonitorWWSVR0605W:Thread"WebContainer:219"(00000228)hasbeenactivefor92111millisecondsandmaybehung.Thereis/are1thread(s)intotalintheserverthatmaybehung.Injavacoredump3XMTHREADINFO"WebContainer:219"(TID:0x807EBD70,sys_thread_t:0x4373D728,state:R,nativeID:0x8A6E)prio=54XESTACKTRACEatjava.net.SocketInputStream.socketRead0(NativeMethod)4XESTACKTRACEatjava.net.SocketInputStream.read(SocketInputStream.java(CompiledCode))4XESTACKTRACEatjava.io.BufferedInputStream.fill(BufferedInputStream.java(CompiledCode))4XESTACKTRACEatjava.io.BufferedInputStream.read(BufferedInputStream.java(CompiledCode))4XESTACKTRACEatorg.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:518)4XESTACKTRACEatorg.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:93)4XESTACKTRACEatorg.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)4XESTACKTRACEatorg.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)4XESTACKTRACEatorg.apache.axis.SimpleChain.invoke(SimpleChain.java:83)4XESTACKTRACEatorg.apache.axis.client.AxisClient.invoke(AxisClient.java:147)4XESTACKTRACEatorg.apache.axis.client.Call.invokeEngine(Call.java:2719)4XESTACKTRACEatorg.apache.axis.client.Call.invoke(Call.java:2702)4XESTACKTRACEatorg.apache.axis.client.Call.invoke(Call.java:2378)4XESTACKTRACEatorg.apache.axis.client.Call.invoke(Call.java:2301)4XESTACKTRACEatorg.apache.axis.client.Call.invoke(Call.java:1758)4XESTACKTRACEatcom.myapp.ibe.adapter.AxisSoapClient.sendRequest(AxisSoapClient.java:163)4XESTACKTRACEatcom.myapp.ibe.adapter.AmadeusAdapter.callAmadeus(AmadeusAdapter.java:253)4XESTACKTRACEatcom.myapp.ibe.adapter.AmadeusAdapter.getPNR(AmadeusAdapter.java:121)4XESTACKTRACEatcom.myapp.ibe.services.PNRServices.getPNROutput(PNRServices.java:75)4XESTACKTRACEatcom.myapp.ibe.services.PNRServices.getRetrievePNROutput(PNRServices.java:107)4XESTACKTRACEatcom.myapp.ibe.services.CancelBookingServices.getPNROutput(CancelBookingServices.java:85)4XESTACKTRACEatcom.myapp.ibe.jsf.bean.CancelBookingBean.getBooking(CancelBookingBean.java:175)4XESTACKTRACEatcom.myapp.ibe.jsf.listeners.CancelBookingListener.process(CancelBookingListener.java:129)4XESTACKTRACEatcom.myapp.ibe.jsf.listeners.CancelBookingListener.afterPhase(CancelBookingListener.java:53)

时间: 2024-09-08 19:12:04

Thread hung的问题。的相关文章

android-如何处理 network on main thread exception 异常?

问题描述 如何处理 network on main thread exception 异常? 程序中设置了下面的两个类 class CallNetworkMethod extends AsyncTask<Void, Void, Void> { @Override protected Void doInBackground(Void... params) { if (TwitterUtils.isAuthenticated(prefs)) { sendTweet(); } else { Inte

Inter Thread Latency

原文地址:http://mechanical-sympathy.blogspot.com/2011/08/inter-thread-latency.html (移到墙内) Message rates between threads are fundamentally determined by the latency of memory exchange between CPU cores.   The minimum unit of transfer will be a cache line

5天不再惧怕多线程——第一天 尝试Thread

     原本准备在mongodb之后写一个lucene.net系列,不过这几天用到多线程时才发现自己对多线程的了解少之又少,仅仅停留在lock上面, 故这几天看了下线程参考手册结合自己的心得整理一下放在博客上作为自己的学习笔记.      好了,我们知道"负载"是一个很时尚,很牛X的玩意,往大处说,网站需要负载,数据库需要负载.往小处说,线程也需要负载,面对海量的 用户请求,我们的单线程肯定扛不住,那么怎么办,一定要负载,所以说多线程是我们码农必须要熟练掌握的一门技术.     在f

[转载]Thread.Sleep(0)妙用

原文地址http://blog.csdn.net/lgstudyvc/article/details/9337063 来自本论坛   我们可能经常会用到 Thread.Sleep 函数来使线程挂起一段时间.那么你有没有正确的理解这个函数的用法呢思考下面这两个问题 假设现在是 2008-4-7 12:00:00.000如果我调用一下 Thread.Sleep(1000) 在 2008-4-7 12:00:01.000 的时候这个线程会 不会被唤醒 某人的代码中用了一句看似莫明其妙的话Thread.

多线程Runnable和Thread产生线程

  http://dev.yesky.com/186/2547686.shtml public class Test { public static void main(String[] args) throws Exception{ MyThread mt = new MyThread(); mt.start(); mt.join(); Thread.sleep(3000); mt.start(); } } 当线程对象mt运行完成后,我们让主线程休息一下,然后我们再次在这个线程对象上启动线程.

Java Thread Programming 1.8.2 - Inter-thread Communication

  Missed Notification A missed notification occurs when threadB tries to notify threadA, but threadA is not yet waiting for the notification. In a multithreaded environment like Java, you don't have much control over which thread runs and for how lon

Java Thread Programming 1.8.3 - Inter-thread Communication

CubbyHole Example The class CubbyHole (see Listing 8.9) simulates a cubbyhole. A cubbyhole is a slot that can have only one item in it at a time. One thread puts an item into the slot and another thread takes it out. If a thread tries to put an item

Java Thread Programming 1.8.4 - Inter-thread Communication

Streaming Data Between Threads Using Pipes The java.io package provides many classes for writing and reading data to and from streams. Most of the time, the data is written to or read from a file or network connection. Instead of streaming data to a

Java Thread Programming 1.7 - Concurrent Access to Objects and Variables

access|object When multiple threads are interacting with an object, controls need to be in place to ensure that the threads don't adversely affect one another. This chapter deals with issues that can introduce subtle errors in your application. An ap