`
sqiutz
  • 浏览: 71353 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Remote Rendering portlet hangs on socketRead0()

阅读更多

当我们在JAVACORE文件中发现很多WEBCONTAINER挂起在INPUTSTREAM方法或SOCKETREADER方法中时,解决如下:(另有一参考在DB2类型中)

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.

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):


    sun.net.client.defaultConnectTimeout=300000
    sun.net.client.defaultReadTimeout=300000

Save the changes, and restart WebSphere Portal.

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.

分享到:
评论

相关推荐

    azure-remote-rendering:Azure 远程渲染的 SDK 和示例

    Azure 远程渲染欢迎使用。 此服务使您能够在 HoloLens 2 等设备上实时渲染高度复杂的 3D 模型。 可以在此处找到 Azure 远程渲染的完整文档: : 此存储库包含以下文件夹: Unity - 此文件夹包含用于 Unity 游戏引擎的...

    一个介绍 Portlet如何与容器交互的代码示例

    2. **渲染(Rendering)**:当用户请求显示Portlet时,容器会调用`render()`方法。Portlet应在这个阶段生成并返回HTML内容,该内容会被嵌入到门户页面的相应位置。 3. **事件处理(Event Processing)**:用户在...

    KeyShot Network Rendering使用方法

    《KeyShot Network Rendering 使用详解与常见问题解决》 KeyShot Network Rendering 是一款强大的网络渲染工具,专为提高渲染效率而设计。它允许用户利用多台计算机的计算资源,协同完成复杂的3D场景渲染任务,尤其...

    Production Rendering Design and Implementation

    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 ...

    GPU Pro 6 Advanced Rendering Techniques 无水印pdf 0分

    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 ...

    Physically Based Rendering第3版

    Rendering is a crucial component of computer graphics— the conversion of a description of a 3D scene into an image for display. Algorithms for animation, geometric modeling, and texturing all must ...

    Digital Lighting & Rendering

    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 ...

    eikonal Rendering on GPUs

    ### Eikonal渲染技术在GPU上的应用 #### 概述 本文主要介绍了一种名为Eikonal渲染的新方法,该方法能够实现实时渲染复杂的透射物体及其周围环境中的高级光照效果。这种方法允许用户真实地展示具有复杂材质属性的...

    Real-Time Rendering 4rd全彩高清

    Real-Time Rendering 4rd最新版,高清大概800M,详细介绍渲染知识

    Real-Time Rendering, Fourth Edition PDF

    Real-Time Rendering, Fourth Edition 实时渲染最新版 第四版PDF,下载地址见文档....

    Real-Time Rendering 4th Edition 全彩892M百度网盘下载地址

    根据提供的文件信息,我们可以推断出这是一本关于实时渲染技术的专业书籍——《Real-Time Rendering 第四版》。下面将围绕这一主题展开详细介绍,并提取出关键知识点。 ### 实时渲染技术概览 实时渲染(Real-Time ...

    Real-Time Rendering 4th Edition高清全彩版

    Real-Time Rendering 4th Edition(实时渲染第4版) 高清全彩版,图形学/游戏方向实时渲染经典书籍推荐,仅供学习使用。百度网盘下载链接永久有效。

    Rendering渲染工具

    Rendering渲染工具 1 1 1

    GPU Pro 7 Advanced Rendering Techniques 2016新书 kindle azw4 0分

    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 ...

    Realtime Rendering 3ed 第三版 pdf

    但是根据标题和描述,我们可以推断出有关《Realtime Rendering 3ed 第三版 pdf》的知识点。该书是关于实时渲染技术的权威参考书籍,聚焦于计算机图形学在实时应用程序中的应用,如视频游戏、模拟、可视化等领域。...

    Physically Based Rendering-3rd

    1. **基于物理的渲染(Physically Based Rendering,PBR)**:这是一种图像渲染技术,它更接近真实世界的物理特性,目的是产生更加逼真的图像。在PBR中,材质、光源和相机的模拟都基于物理法则,以达到高度的光照明...

    Real-Time Rendering 4th Edition完整版 全彩 892MB

    Real-Time Rendering 4th Edition完整版 全彩 pdf 892MB 这里挂的是百度云链接

    volume rendering gpu.pdf

    volume rendering gpu.pdf

Global site tag (gtag.js) - Google Analytics