java线程挂起解决办法

分类:杂谈| 发布:佚名| 查看: | 发表时间:2013/12/26

线程挂起
[12-3-14 16:21:18:231 CST] 00000021 ThreadMonitor W   WSVR0605W: 线程“WebContainer : 34”(0000004b)已保持活动状态 675928 毫秒,此线程可能已挂起。在服务器中共有 37 个线程可能处于挂起状态。
at sun.java2d.Disposer.add(Disposer.java:126)
at sun.java2d.Disposer.addRecord(Disposer.java:103)
at sun.awt.image.BufImgSurfaceData.initRaster(Native Method)
at sun.awt.image.BufImgSurfaceData.createDataIC(BufImgSurfaceData.java:245)
at sun.awt.image.BufImgSurfaceData.createData(BufImgSurfaceData.java:80)
at sun.awt.image.CachingSurfaceManager.<init>(CachingSurfaceManager.java:168)
at sun.java2d.x11.X11CachingSurfaceManager.<init>(X11CachingSurfaceManager.java:68)
at sun.java2d.SurfaceManagerFactory.createCachingManager(SurfaceManagerFactory.java:48)
at sun.awt.image.SurfaceManager.getManager(SurfaceManager.java:66)
at sun.java2d.SurfaceData.getDestSurfaceData(SurfaceData.java:135)
at sun.java2d.SunGraphicsEnvironment.createGraphics(SunGraphicsEnvironment.java:412)
at sun.java2d.HeadlessGraphicsEnvironment.createGraphics(HeadlessGraphicsEnvironment.java)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1148)
at java.awt.image.BufferedImage.getGraphics(BufferedImage.java:1136)
at com.runqian.report4.model.engine.IlIIlIlIIlllIIII.perfect(Unknown Source:24)
at com.runqian.report4.model.engine.ExtCellSet._$1(Unknown Source:2203)
at com.runqian.report4.model.engine.ExtCellSet.calculate(Unknown Source:2156)
at com.runqian.report4.usermodel.Engine.calc(Unknown Source:119)
at com.rms.ms.util.ExcelExportUtils.calcReport(ExcelExportUtils.java:120)
at com.rms.ms.util.ExcelExportUtils.saveToExcel(ExcelExportUtils.java:65)
at com.rms.ms.pm.action.DownLoadAction.downloadDondPosition(DownLoadAction.java:54)
at sun.reflect.GeneratedMethodAccessor213.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:711)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at com.rms.filter.RightCheckFilter.doFilter(RightCheckFilter.java:106)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.rms.filter.RightFilter.doFilter(RightFilter.java:99)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.rms.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:54)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:78)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)




这是什么错误,谁能告诉我

 


------解决方案--------------------
怎么解决的啊,现在遇到一个问题。当运行到BufferedImage.createGraphics()方法时,线程挂起了

365据说看到好文章不转的人,服务器容易宕机
原创文章如转载,请注明:转载自郑州网建-前端开发 http://camnpr.com/
本文链接:http://camnpr.com/by-talk/794.html