88 lines
6.9 KiB
HTML
88 lines
6.9 KiB
HTML
<?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 Tomcat" />
|
|
<meta name="abstract" content="After you have configured HTTP server (powered by Apache) server instance, you must configure Tomcat to use the Xsockets tool in a Web browser." />
|
|
<meta name="description" content="After you have configured HTTP server (powered by Apache) server instance, you must configure Tomcat to use the Xsockets tool in a Web browser." />
|
|
<meta name="DC.Relation" scheme="URI" content="xsockhttp.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="configapache.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="updatexml.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="configtomcat" />
|
|
<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 Tomcat</title>
|
|
</head>
|
|
<body id="configtomcat"><a name="configtomcat"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Configure Tomcat</h1>
|
|
<div><p>After you have configured HTTP server (powered by Apache) server
|
|
instance, you must configure Tomcat to use the Xsockets tool in a Web browser.</p>
|
|
<ol><li class="stepexpand"><span>Under the <span class="uicontrol">Manage</span>, select the HTTP server
|
|
that you have created.</span></li>
|
|
<li class="stepexpand"><span>Under the <span class="uicontrol">Server Properties</span> in the left
|
|
pane, select <span class="uicontrol">ASF Tomcat Setup Server Task</span>.</span></li>
|
|
<li class="stepexpand"><span>Select <span class="uicontrol">Enable servlets for this HTTP Server</span>.
|
|
This fills in a Workers definition file for you. Click <span class="uicontrol">Next</span>.</span></li>
|
|
<li class="stepexpand"><span>Accept the defaults on the <span class="uicontrol">Workers Definition</span> page
|
|
by clicking <span class="uicontrol">Next</span>. </span></li>
|
|
<li class="stepexpand"><span>On the <span class="uicontrol">URL to Worker Mapping</span> page, click <span class="uicontrol">Add</span>. </span></li>
|
|
<li class="stepexpand"><span>In the <span class="uicontrol">URL(Mount Point)</span> column, enter <samp class="codeph">/xsock</samp>.
|
|
Click <span class="uicontrol">Continue</span>.</span></li>
|
|
<li class="stepexpand"><span>Click <span class="uicontrol">Add</span>. </span></li>
|
|
<li class="stepexpand"><span>In the <span class="uicontrol">URL(Mount Point)</span> column, enter <samp class="codeph">/xsock/*</samp>.
|
|
Click <span class="uicontrol">Continue</span>.</span></li>
|
|
<li class="stepexpand"><span>Click <span class="uicontrol">Next</span>.</span></li>
|
|
<li class="stepexpand"><span>On the <span class="uicontrol">In-Process Application Context Definition</span> page,
|
|
click <span class="uicontrol">Add</span>.</span></li>
|
|
<li class="stepexpand"><span> In the <span class="uicontrol">URL Path</span> column, enter <samp class="codeph">/xsock</samp>.</span></li>
|
|
<li class="stepexpand"><span> In the <span class="uicontrol">Application Base Directory</span> column,
|
|
enter <samp class="codeph">webapps/xsock</samp>.</span></li>
|
|
<li class="stepexpand"><span>Click <span class="uicontrol">Continue</span>. You can see a warning message
|
|
that you need to configure more information.</span></li>
|
|
<li class="stepexpand"><span>Click <span class="uicontrol">Configure</span> under <span class="uicontrol">Configure
|
|
Application</span>.</span></li>
|
|
<li class="stepexpand"><span>In the new browser window that opens, select 3 days in the <span class="uicontrol">Session
|
|
Object timeout</span> field.</span> <div class="note"><span class="notetitle">Note:</span> This is the recommended
|
|
value; however, you can specify another value for the <span class="uicontrol">Session Object
|
|
timeout</span>.</div>
|
|
</li>
|
|
<li class="stepexpand"><span>Click <span class="uicontrol">Add</span> to add Servlet definition and
|
|
complete the following steps:</span> <ol type="a"><li>For <span class="uicontrol">Servlet class name</span>, enter <samp class="codeph">com.ibm.iseries.xsocket.XSocketServlet</samp>.</li>
|
|
<li>For <span class="uicontrol">URL patterns</span>, enter <samp class="codeph">/*</samp>.</li>
|
|
<li>Set the <span class="uicontrol">Startup load sequence</span> to 3.</li>
|
|
<li>Click <span class="uicontrol">Continue</span>.</li>
|
|
<li>Click <span class="uicontrol">OK</span>. This closes the browser window.</li>
|
|
</ol>
|
|
</li>
|
|
<li class="stepexpand"><span>In the main Tomcat setup window, click <span class="uicontrol">Next</span>.</span></li>
|
|
<li class="stepexpand"><span>Click <span class="uicontrol">Finish</span>.</span></li>
|
|
<li class="stepexpand"><span>Click <span class="uicontrol">OK</span>. You have now completed Tomcat
|
|
configuration for the Xsockets tool.</span></li>
|
|
</ol>
|
|
<div class="section"> </div>
|
|
<div class="section"></div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="xsockhttp.htm" title="The instructions here allow you to enable the Xsockets tool to be accessed through a Web browser. You can implement these instructions multiple times on the same system to create different server instances. This allows multiple versions to run at the same time on different listening ports.">Configure Xsockets to use a Web browser</a></div>
|
|
<div class="previouslink"><strong>Previous topic:</strong> <a href="configapache.htm" title="Configure an HTTP server (powered by Apache) so you can use the Xsockets tool in a Web browser.">Configure HTTP server (powered by Apache)</a></div>
|
|
<div class="nextlink"><strong>Next topic:</strong> <a href="updatexml.htm" title="After you have configured Tomcat on the HTTP server (powered by Apache) to use the Xsockets tool, you must complete manual changes to several configuration files for the instance. There are three files you need to update: the web.xml file, the JAR file, and the httpd.conf.">Update configuration files</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |