ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/trb/trwebresrc.htm

97 lines
4.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: Access Web resources</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h3>Troubleshoot: Access Web resources</h3>
<p>Use the resources listed below to determine the cause of problems that occur
when you are unable to access Web resources:</p>
<p><strong>Unable to serve any Web resources</strong></p>
<ul>
<li>
<p>See the <a href="../install/install.htm">installation of WebSphere Application
Server - Express for iSeries</a> topic. The topic will guide you through
the system verification and serving of a Web resource. </p>
</li>
<li>
<p>If you are using HTTP Server (powered by Apache), generate a trace on
your HTTP Server instance and look for errors. See <a href="trbappsrvtrace.htm">Use
the application server trace service </a>for more information.</p>
</li>
<li>
<p>Web server plug-in trace.</p>
<p>The plug-in log records HTTP server-side processing and servlet request
routing between the HTTP Server and WebSphere Application Server - Express.
(The plug-in connects the HTTP Server and WebSphere Application Server
- Express together.)</p>
<p>Manage this log by editing the application server plugin-cfg.xml file.
The plugin-cfg.xml file contains a tag near the beginning named Log. Log
has two attributes: LogLevel and Name.</p>
<ul>
<li>
<p>LogLevel specifies the amount and type of information that is logged
to a file. Valid values are Trace, Warn, and Error.</p>
</li>
<li>
<p>Name specifies the location and name of the file where logging information
is written.</p>
</li>
</ul>
</li>
<li>Read the release notes. See <a href="http://www-1.ibm.com/servers/eserver/iseries/software/websphere/wsappserver/express/docs/relnotesexp50.html" target="_new">WebSphere
Application Server - Express Release Notes</a> <img src="www.gif" width="18" height="15" alt="Link outside Information Center" border="0"> for
more information.</li>
</ul>
<p><strong>Unable to serve a particular Web resource</strong></p>
<ul>
<li>
<p>Check the application server standard output and standard error log files
for errors. For information on the application server log files and where
they are located, see <a href="trblogs.htm">WebSphere Application Server
- Express log files</a>. </p>
</li>
<li>
<p>Read the release notes. See <a href="http://www-1.ibm.com/servers/eserver/iseries/software/websphere/wsappserver/express/docs/relnotesexp50.html" target="_new">WebSphere
Application Server - Express Release Notes</a> <img src="www.gif" width="18" height="15" alt="Link outside Information Center" border="0"> for
more information.</p>
</li>
</ul>
<p><strong>Servlet or JSP displays an error or Java exception instead of the
expected output</strong></p>
<ul>
<li>
<p>Check the application server standard output and standard error log files
for errors. For information on the application server log files and where
they are located, see <a href="trblogs.htm">WebSphere Application Server
- Express log files</a>. </p>
</li>
<li>
<p>Add logging and tracing to your application with the JRas framework. See <a href="trbappsrvtrace.htm">Use
the application server trace service</a> for more information. </p>
</li>
<li>
<p>Add output to your servlet, JSP, or Java code in the form of System.out.println()
statements to aid in debugging. The output from any System.out.println()
statements is written to the standard output log file for the application
server in which the code is running. For information on the application
server log files and where they are located, see <a href="trblogs.htm">WebSphere
Application Server - Express log files</a>. </p>
</li>
<li>
<p>If the failure occurs within a JSP, use the keepgenerated attribute to
keep the generated servlet source file to inspect for errors.</p>
</li>
<li>
<p>Read the release notes. See <a href="http://www-1.ibm.com/servers/eserver/iseries/software/websphere/wsappserver/express/docs/relnotesexp50.html" target="_new">WebSphere
Application Server - Express Release Notes</a> <img src="www.gif" width="18" height="15" alt="Link outside Information Center" border="0"> for
more information.</p>
</li>
</ul>
</body>
</html>