Remote Rendering portlet hangs on socketRead0()
當我們在JAVACORE檔案中發現很多WEBCONTAINER掛起在INPUTSTREAM方法或SOCKETREADER方法中時,解決如下:(另有一參考在DB2型別中)
|
|||
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):
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. |
相關文章
- 在 Web Content Management 中使用 Rendering Portlet 進行內容展現Web
- WebSphere Portlet效能優化Web優化
- impdp hangs,慎用impdp parallel引數Parallel
- Expert Tips on Drop Temporary Tablespace Hangs!!
- phantomjs renderingJS
- Eclipse Hangs in DDMS post-create initEclipse
- 【MW】Drop Materialized View Hangs with 'Enq: JI - Contention'ZedViewENQ
- 使用 WebSphere Portlet Factory 構建SOA 前端Web前端
- jetspeed2中的portlet開發
- 遊戲中的Volumetric Rendering遊戲
- 深入理解 iOS Rendering ProcessiOS
- 關於入口網站(portlet)的問題網站
- react server rendering(服務端渲染)ReactServer服務端
- Open Resetlogs After Restore Hangs (Doc ID 1455666.1)REST
- 最新最全的Portlet 通訊過程詳解
- “服務端渲染”吊打“客戶端渲染”的那些事(The Benefits of Server Side Rendering Over Client Side Rendering)服務端客戶端ServerIDEclient
- Incorrect MEMORY_MAX_TARGET (> Available RAM) Can Lead To Database HangsAIDatabase
- CSS Animation triggers text rendering change in SafariCSS
- Games101-9 advanced renderingGAM
- DeathRecipient & RemoteCallbackListREM
- git remotesGitREM
- remote client copyREMclient
- RemoteSyslogwithMySQLandPHPREMMySqlPHP
- 在web Portal中實現可脫拽Portlet的方法Web
- direct3d---direct11 rendering pipeline3D
- Management of Remote Dependencies (252)REM
- wince remote spy 原理REM
- Clusterware Intermi Hangs And Fail With CRS-184 as Net in /tmp/.oracle_370605.1AIOracle
- AvaloniaUI 中的 WPF CompositionTarget.Rendering 替代品UI
- Domino整合Portlet開發---安裝和配置Domino 6.5伺服器伺服器
- 論文涉及技術:使用 portlet 與業務流程引擎建立連線
- jPortlet 1.0--開放原始碼Portlet容器已經出臺 (轉)原始碼
- git remote 命令詳解GitREM
- mRemoteNG整合WinSCPREM
- WillGoldengateuseRemoteProcedureCall(RPC)?GoREMRPC
- REMOTE_LOGIN_PASSWORDFILEREM
- REMOTE_LOGIN_PASSWORDREM
- apple remote desktopAPPREM