当我们在JAVACORE文件中发现很多WEBCONTAINER挂起在INPUTSTREAM方法或SOCKETREADER方法中时,解决如下:(另有一参考在DB2类型中)
Another workaround is to configure the Java networking properties for java.net.URLConnection. These properties specify the default connect and read timeout (response) for the protocol handler used by java.net.URLConnection. Note this will affect all java.net.URLConnections in the JVM, not just those from the Web Content Management Remote Rendering portlet. In the WebSphere Application Server administrative console for the Web Content Management delivery server, click Servers -> Application Servers -> <websphere_portal_name> -> Process Definition -> Java Virtual Machine -> Custom Properties. Add the following name and value pairs (for example, for a 5 minute timeout): The Web Content Management Local Rendering portlet does not use sockets and does not have this problem. It uses a Java API in order to access the local Web Content Management content.
Problem(Abstract)
This technote describes a workaround when the Web Content Management Remote Rendering portlet hangs on socketRead0().
Cause
WebSphere Portal SystemOut.log shows hung Web container threads:
[14:29:40:901 EDT] 55be0ad9 ThreadMonitor W WSVR0605W: Thread "Servlet.Engine.Transports : 10" (42520adb) has been active for 709,037 milliseconds and may be hung. There are 9 threads in total in the server that may be hung.
A review of the javacores show the Web Content Management Remote Rendering portlet is hung in socketRead0():
3XMTHREADINFO "Servlet.Engine.Transports : 10" (TID:0x807A0D30, sys_thread_t:0x46D0C328, state:R, native ID:0xAFCD) prio=5
4XESTACKTRACE at java.net.SocketInputStream.socketRead0(Native Method)
4XESTACKTRACE at java.net.SocketInputStream.read(SocketInputStream.java(Compiled Code))
4XESTACKTRACE at java.io.BufferedInputStream.fill(BufferedInputStream.java(Compiled Code))
4XESTACKTRACE at java.io.BufferedInputStream.read1(BufferedInputStream.java(Compiled Code))
4XESTACKTRACE at java.io.BufferedInputStream.read(BufferedInputStream.java(Compiled Code))
4XESTACKTRACE at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java(Compiled Code))
4XESTACKTRACE at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java(Compiled Code))
4XESTACKTRACE at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java(Compiled Code))
4XESTACKTRACE at org.apache.jsp._Default.getExternalPage(_Default.java(Compiled Code))
4XESTACKTRACE at org.apache.jsp._Default.getContent(_Default.java(Compiled Code))
4XESTACKTRACE at org.apache.jsp._Default.getWCMFooter(_Default.java(Compiled Code))
4XESTACKTRACE at org.apache.jsp._Default._jspService(_Default.java(Compiled Code))
4XESTACKTRACE at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
4XESTACKTRACE at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
...
The Web Content Management (WCM) Remote Rendering portlet does blocking I/O when getting content from the WCM server. If the WCM server unexpectedly hangs or exits, the WCM Remote Rendering portlet may also hang in java.net.SocketInputStream.socketRead0(), and its Web container threads may never get free. The WCM Remote Rendering portlet sets no timeout on its block socket operations to the WCM server.
Restarting the WCM Remote Rendering portlet EAR (for ilwwcm-remoterendering-portlet.war) does not free the hung Web container threads.
Resolving the problem
One solution is to restart WebSphere Portal.
sun.net.client.defaultConnectTimeout=300000
sun.net.client.defaultReadTimeout=300000
Save the changes, and restart WebSphere Portal.
发表评论
-
控制台SESSIONOUT
2010-09-17 13:04 1107通过配置文件来修改WAS控制台Session过期时间的方法 ... -
SOCKET 异常类型
2010-03-30 16:42 1712Error code Meaning ... -
Transaction Introduce
2010-03-30 14:01 1083Transaction 什么是Transaction? ... -
DB2 死锁
2010-03-26 10:33 4187解决“SQL0911N 因为死锁 ... -
WAS 事物引起的错误
2010-03-25 17:13 2417一、性能故障的现 ... -
案例分析
2010-03-16 16:53 1550系统上线后偶有宕机, ... -
WAS Portal Theme Development And Configuration
2010-03-12 22:37 1275我们先介绍一下主题和 ... -
Portal 主题部署
2010-03-12 22:21 1336部署定制的主题和外 ... -
应用服务器出现错误的原因简析
2010-03-11 22:19 843磁盘已满 导致 ... -
WAS 中Too many open files问题
2010-03-11 22:16 1227WAS下的应用系统,在对其他性能开至较大时出现系统无法返回的情 ... -
急性者的性能优化
2010-03-05 11:02 849引言 如果您是这样一个人:启动并运行 WebSphere ... -
控制台安全性破解
2010-03-04 23:05 917常在河边走,哪有不湿鞋,WebSphere管理中最让人 ... -
查看WAS版本
2010-03-04 22:39 2576一、查看WAS版本的方式:1、命令行 cd $WAS_HOM ... -
WAS设置编码方式
2010-03-04 22:29 4336当安装了webSphere的小型机的默认编码不是GBK ... -
WAS 6.1 的类加载四
2010-03-04 12:35 105712.5.2 步骤 2:添加一个EJB模块和工具JAR ... -
WAS的类加载机制三
2010-03-04 12:34 135612.3.1 类加载策略 ... -
WAS的类加载机制二
2010-03-04 12:33 86612.2 概览Websphere 类加载器 注意:每一个 ... -
WAS的类加载机制一(包含JVM的类加载机制.转载)
2010-03-04 12:29 1050abstract:本文截取IBM 红皮书《WebSpher ...
相关推荐
Azure 远程渲染欢迎使用。 此服务使您能够在 HoloLens 2 等设备上实时渲染高度复杂的 3D 模型。 可以在此处找到 Azure 远程渲染的完整文档: : 此存储库包含以下文件夹: Unity - 此文件夹包含用于 Unity 游戏引擎的...
The book covers advanced rendering techniques that run on the DirectX or OpenGL runtimes, as well as on any other runtime with any language available. It details the specific challenges involved in ...
fast refractiin reflection rendering
这个方法是官方的帮助文档然后别人翻译的版本, ...不过现在KeyShot Network Rendering都是中文的了,对于大多数人的难度也下降不少。 在使用前请保证需要使用KeyShot Network Rendering的电脑在同一局域网下。
This book on rendering considers REAL rendering systems,integrating complex geometry, procedural shading, and globalillumination. It is edited by Ian Stephenson, but each chapter has beenwritten by a ...
The book covers advanced rendering techniques that run on the DirectX or OpenGL runtimes, as well as on any other runtime with any language available. It details the specific challenges involved in ...
And no matter what software you use, your success in creating realistic-looking illumination, shadows and textures depends on your professional lighting and rendering techniques. Pixar's Jeremy Birn ...
This book focuses on advanced rendering techniques that run on the DirectX and/or OpenGL run-time with any shader language available. It includes articles on the latest and greatest techniques in real...
StageFright_Video Rendering
CVPR 2021 Tutorial on Physics-Based Differentiable Rendering
Real-Time Rendering, Fourth Edition 实时渲染最新版 第四版PDF,下载地址见文档....
Direct3D Rendering Cookbook
一篇有关地形渲染的论文,以下是摘要: A primary difficulty in terrain rendering is ...range graphics card, but geometry clipmaps had the greatest rendering throughput on high-end graphics hardware.
Thoroughly revised, this third edition focuses on modern techniques used to generate synthetic three-dimensional images in a fraction of a second. With the advent of programmable shaders, a wide ...
ShaderX7 - Advanced Rendering Techniques
Rendering渲染工具 1 1 1
经典书籍Digital Lighting and Rendering的第三版。排版比较渣,但是好过没有吧!
The book covers advanced rendering techniques that run on the DirectX or OpenGL runtimes, as well as on any other runtime with any language available. It details the specific challenges involved in ...
Hair appearance, in rendering and simula- tion, is dominated by collective properties, yet most of the current approaches model individual hairs. In this paper we build on the existing approaches ...