ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/webserv/wstrbcltruntime.htm

68 lines
2.6 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Troubleshoot: Web services client run-time environment</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h2><A NAME="wstrbcltruntime">Troubleshoot: Web services client run-time environment</A></h2>
<p>This topic discusses troubleshooting Web services clients that are developed
and implemented based on the Web services for Java 2 platform, Enterprise
Edition (J2EE) specification.</p>
<p><strong>Increase the value of the ConnectionIOTimeOut
parameter to avoid receiving an exception when hosting Web services on WebSphere
Application Server - Epxress</strong></p>
<p>When hosting Web services on WebSphere Application
Server - Express, you can receive the following exception:</p>
<pre>
java.long.SocketTimeOutException: Read Timed Out
</pre>
<p>A slow network connection between the client and
the Web service causes this problem. In such cases, the HTTP socket might
time out before the Web service engine completely reads the SOAP request.
Sudden increases in overall network activity cause this problem inmost cases.
The problem can also occur when the client is accessing the Web service from
a slow network connection and in situations where the amount of data in the
SOAP request is large.</p>
<p>To solve the problem, increase the ConnectionIOTimeOut
parameter for your Web container HTTP transport. The default value is 5 seconds.
You can increase the value 30 seconds or greater.</p>
<p>Perform the following steps to set the ConnectionIOTimeOut value:</p>
<ol>
<li>Start the administrative console.</li>
<li>Expand <strong>Servers</strong>, and click <strong>Application Servers</strong>.</li>
<li>Click your server name.</li>
<li>Under the <strong>Additional properties</strong> heading, click <strong>Web Container</strong>.</li>
<li>Under the <strong>Additional properties</strong> heading, click <strong>HTTP Transports</strong>.</li>
<li>Click your port number.</li>
<li>Under the <strong>Additional properties</strong> heading, click <strong>Custom
Properties</strong>.</li>
<li>Click <strong>New</strong>.</li>
<li>Specify the following property name and value:
<ul>
<li><strong>Name:</strong> ConnectionIOTimeOut</li>
<li><strong>Value:</strong> 30</li>
</ul>
</li>
<li>Click <strong>OK</strong>.</li>
</ol>
<p>If your application server is listening
on more than one port number, set the property on all ports.</p>
</body>
</html>