ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamm_5.4.0.1/rzammtomcatconfig.htm

99 lines
6.8 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="task" />
<meta name="DC.Title" content="Configure ASF Tomcat" />
<meta name="abstract" content="Use this information to configure iSeries Access for Web for Apache Software Foundation (ASF) Tomcat." />
<meta name="description" content="Use this information to configure iSeries Access for Web for Apache Software Foundation (ASF) Tomcat." />
<meta name="DC.Relation" scheme="URI" content="serexmpl.htm" />
<meta name="DC.Relation" scheme="URI" content="../clfinder/finder.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2003, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2003, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="tomcatconfig" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Configure ASF Tomcat</title>
</head>
<body id="tomcatconfig"><a name="tomcatconfig"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Configure ASF Tomcat</h1>
<div><p>Use this information to configure iSeries™ Access for Web for Apache Software
Foundation (ASF) Tomcat.</p>
<div class="section"> <p>Use these steps to configure iSeries Access for Web for ASF Tomcat:</p>
</div>
<ol><li class="stepexpand"><span>Sign on to your server. </span></li>
<li class="stepexpand"><img src="./delta.gif" alt="Start of change" /><span>Use the appropriate iSeries Access for Web configuration
command. </span> <ul><li>To use the CL command, run this server command: <p><samp class="codeph">QIWA2/CFGACCWEB2 APPSVRTYPE(*ASFTOMCAT) TCSVRNAME(<var class="varname">tc_server_name</var>) <br />
     TCHOMEDIR('<var class="varname">tc_home_directory</var>') TCUSRPRF(<var class="varname">user_id</var>)</samp></p>
</li>
<li>To use the script command, run these server commands:<p><samp class="codeph">STRQSH<br />
cd /QIBM/ProdData/Access/Web2/install<br />
cfgaccweb2 -appsvrtype *ASFTOMCAT -tcsvrname <var class="varname">tc_server_name</var> <br />
     -tchomedir <var class="varname">tc_home_directory</var> -tcusrprf <var class="varname">user_id</var></samp></p>
</li>
</ul>
The configuration commands use these variables:<dl><dt class="dlterm"><var class="varname">tc_server_name</var></dt>
<dd>The name of the ASF Tomcat server that was created to run iSeries Access
for Web.</dd>
<dt class="dlterm"><var class="varname">tc_home_directory</var></dt>
<dd>The ASF Tomcat home directory that was specified when you set up your
ASF Tomcat server. If you do not know the path, use the IBM<sup>®</sup> Web Administration
for iSeries interface
to check the settings for your ASF Tomcat server.</dd>
<dt class="dlterm"><var class="varname">user_id</var></dt>
<dd>The Tomcat Server user ID that was specified when you set up your ASF
Tomcat server. If you do not know the user ID, use the IBM Web Administration
for iSeries interface
to check the settings for your ASF Tomcat server. </dd>
</dl>
For help on this command and the parameters, specify the -?
parameter. <div class="note"><span class="notetitle">Migration Note:</span> <img src="./delta.gif" alt="Start of change" />If you
are already using iSeries Access for Web within another Web application
server, refer to <a href="rzammnewconsid.htm">New Web application server
considerations</a>. This topic discusses additional CFGACCWEB2 command
parameters that can be input to migrate user data from an existing configuration
to this new configuration.<img src="./deltaend.gif" alt="End of change" /></div>
<img src="./deltaend.gif" alt="End of change" /></li>
<li class="stepexpand"><span>Start the HTTP server by running the server command <samp class="codeph"><img src="./delta.gif" alt="Start of change" />STRTCPSVR
SERVER(*HTTP) HTTPSVR(<var class="varname">http_server_name</var>)<img src="./deltaend.gif" alt="End of change" /></samp>.</span> <div class="note"><span class="notetitle">Note:</span> Replace <samp class="codeph"><var class="varname">http_server_name</var></samp> with
the name of the Apache powered IBM HTTP server that you created.</div>
</li>
<li class="stepexpand"><img src="./delta.gif" alt="Start of change" /><span>Stop and restart the ASF Tomcat server. Run these server
commands, where <samp class="codeph"><var class="varname">tc_server_name</var></samp> is the
name of the ASF Tomcat server :</span> <p>ENDTCPSVR SERVER(*ASFTOMCAT) TOMCATSVR(<var class="varname">tc_server_name</var>)<br />
STRTCPSVR SERVER(*ASFTOMCAT) TOMCATSVR(<var class="varname">tc_server_name</var>)</p>
<img src="./deltaend.gif" alt="End of change" /></li>
<li class="stepexpand"><img src="./delta.gif" alt="Start of change" /><span>Open your browser to <samp class="codeph">http://&lt;<var class="varname">your_server_name</var>&gt;:port/webaccess/iWAMain</samp>.
Be sure the case matches the example.</span><img src="./deltaend.gif" alt="End of change" /></li>
</ol>
<div class="section">The iSeries Access
for Web main page is displayed. <div class="note"><span class="notetitle">Note:</span> The first call of the iWAMain page
might take a few minutes, but subsequent calls should not take as long.</div>
<p><img src="./delta.gif" alt="Start of change" />In this example, only the <span class="cmdname">CFGACCWEB2</span> command
is used to configure iSeries Access for Web. For more information about
using all the iSeries Access
for Web CL commands, use the CL command finder. <img src="./deltaend.gif" alt="End of change" /></p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="serexmpl.htm" title="These examples provide instructions for configuring iSeries Access for Web in an existing Web serving environment.">Examples for configuring an existing Web application server environment</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../clfinder/finder.htm">CL command finder</a></div>
</div>
</div>
</body>
</html>