📄 92prodapache.htm
字号:
option to specify the location of openssl.cnf in $ORACLE_HOME/Apache/open_ssl/bin. Otherwise, the command will fail.</P><P CLASS="BP-Body"><A NAME="pgfId-764529"></A>For example:</P><P CLASS="CE-CodeEx"><A NAME="pgfId-764530"></A>prompt> openssl req -config $ORACLE_HOME/Apache/Apache/open_ssl/bin -new -x509 -days 365 -key ca.key -out ca.crt</P></DIV><DIV><H3 CLASS="H2-Head2"><A NAME="pgfId-764532"></A><EM CLASS="Default-Paragraph-Font"></EM><A NAME="85743"></A>7.8 mod_ssl Limitations</H3><P CLASS="BP-Body"><A NAME="pgfId-764533"></A>In this release, <EM CLASS="Default-Paragraph-Font">the following algorithms are not supported:</EM></P><DIV><H5 CLASS="LB1-ListBull1"><A NAME="pgfId-764534"></A><EM CLASS="Default-Paragraph-Font">Symmetric encryption algorithms: RC2, RC5, IDEA</EM></H5></DIV></DIV><DIV><H3 CLASS="H2-Head2"><A NAME="pgfId-766752"></A>7.9 Recommended Access Restrictions for HTTP Server mod_oprocmgr</H3><P CLASS="BP-Body"><A NAME="pgfId-766757"></A>Sites should be configured to restrict access to the locations to valid users of mod_oprocmgr. Valid users of mod_oprocmgr include external processes (JServ processes), administrators sending requests to /oprocmgr-status, and administrators using DMS to monitor HTTP Server external processes. </P><P CLASS="BP-Body"><A NAME="pgfId-766761"></A>The httpd.conf file should be modified as shown in the following example (additions are shown in bold text): </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766763"></A> <IfModule mod_oprocmgr.c> </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766764"></A> ProcNode iashost.company.com 7777 </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766765"></A> <IfDefine SSL> </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766766"></A> ProcNode iashost.company.com 80 </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766767"></A> </IfDefine> </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766768"></A> <Location /oprocmgr-service> </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766769"></A> SetHandler oprocmgr-service </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766770"></A><B> order deny,allow </B></P><P CLASS="CE-CodeEx"><A NAME="pgfId-766771"></A><B> deny from all </B></P><P CLASS="CE-CodeEx"><A NAME="pgfId-766772"></A><B> allow from iashost.company.com </B></P><P CLASS="CE-CodeEx"><A NAME="pgfId-766773"></A> </Location> </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766774"></A> <Location /oprocmgr-status> </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766775"></A> SetHandler oprocmgr-status </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766776"></A><B> order deny,allow </B></P><P CLASS="CE-CodeEx"><A NAME="pgfId-766777"></A><B> deny from all </B></P><P CLASS="CE-CodeEx"><A NAME="pgfId-766778"></A><B> allow from iashost.company.com </B></P><P CLASS="CE-CodeEx"><A NAME="pgfId-766779"></A> </Location> </P><P CLASS="CE-CodeEx"><A NAME="pgfId-766780"></A> </IfModule> </P><P CLASS="CE-CodeEx"><P CLASS="BP-Body"><A NAME="pgfId-766783"></A>Another way that the system administrator may want to modify httpd.conf is to permit access by all nodes within the same domain using something similar to "allow from .company.com". Where possible, this strategy is preferable because it permits administration from multiple locations without having to explicitly list each administrative host. Hostname-based access control should be sufficient for most environments. The performance issue with performing DNS lookups during hostname-based access control is not critical in this case, because access to mod_oprocmgr occurs infrequently. </P></DIV><DIV><H3 CLASS="H2-Head2"><A NAME="pgfId-766743"></A>7.10 FastCGI Library</H3><P CLASS="BP-Body"><A NAME="pgfId-766734"></A>On NT, a new library called "FastCGIstatic.lib" will be shipped for fastcgi. It is under %ORACLE_HOME%\Apache\fastcgi after installation. This is the library for statically linking with the fastcgi development kit. To dynamically link with the fastcgi development kit, use "FastCGI.lib".</P></DIV><DIV><H3 CLASS="H2-Head2"><A NAME="pgfId-764551"></A>7.11 Errors Starting Apache with "APACHECTL -START" When Using Virtual Hosts</H3><P CLASS="BP-Body"><A NAME="pgfId-764552"></A>If the port number directive and the NameVirtualHost directive ports do not match, this error will occur. To resolve this issue, make sure that both the port and NameVirtualHost are set to the same port. This can also be resolved by not specifying a port# in the NameVirtualHost directive. </P><P CLASS="BP-Body"><A NAME="pgfId-764553"></A>Note that this problem will only occur when starting without SSL.</P></DIV><DIV><H3 CLASS="H2-Head2"><A NAME="pgfId-764554"></A>7.12 Increasing Memory for Apache JServ Applications</H3><p CLASS="BP">If the Apache JServ log or the browser report an "Out OfMemory" condition, the cause is most likely to be that the JVM ran outof memory. This normally happens when data handled by the JVM exceeds itsmemory allocation pool.<br><a NAME="764556"></a><p CLASS="BP">To increase the maximum size of the memory allocation poolfor a JVM, use the following steps:<ol CLASS="LN1" TYPE="1"><li CLASS="LN1" TYPE="1" VALUE="1"><a NAME="764557"></a>Add this line to</li><br>$ORACLE_HOME/Apache/Jserv/etc/jserv.properties:<pre CLASS="CE1"><a NAME="764558"></a>wrapper.bin.parameters=-mx<size>m<a NAME="764559"></a></pre><a NAME="764560"></a><p CLASS="BP1"><size> is the size, in megabytes, of the memory allocationpool. The default value is 1 megabyte of memory. Oracle recommends thatyou use a size of 128 megabytes. To set the value to 128 megabytes, addthe following line:<pre CLASS="CE1"><a NAME="764561"></a>wrapper.bin.parameters=-mx<size>m<a NAME="764562"></a></pre><li CLASS="LN1" TYPE="1" VALUE="2"><a NAME="764563"></a>Restart the Web server after this change so that itcan take effect.</li><p> </ol><a NAME="764564"></a><H3 CLASS="H2-Head2"><A NAME="pgfId-766843"></A>7.13 HTTP Server Infrastructure Watcher May Suspend JVM</H3><P CLASS="BP-Body"><A NAME="pgfId-766867"></A>The infrastructure contains a watcher component that monitors the automatically started JServ processes. If a JServ process stops responding, the watcher terminates it and starts another process to replace it. If the JVM is heavily loaded or performing garbage collection, the JVM will also be suspended. To prevent the JVM from terminating, increase its timeout value (ApJServVMTimeout) in the jserv.conf file, or decrease the JVM heap size to reduce garbage collection time. </P></DIV><DIV><H3 CLASS="H2-Head2"><A NAME="pgfId-766868"></A>7.14 National Language Support (NLS) Considerations</H3><DIV><H6 CLASS="SH3-Subhead3"><A NAME="pgfId-764565"></A>mod_plsql </H6><P CLASS="BP-Body"><A NAME="pgfId-764567"></A>When configuring mod_plsql, the NLS_LANG environment variable is configured on a per Web server instance level and not at the DAD level.</P><P CLASS="BP-Body"><A NAME="pgfId-764568"></A>Ensure that you have the correct NLS_LANG setting before starting your Oracle HTTP Server instance. </P></DIV><DIV><H6 CLASS="SH3-Subhead3"><A NAME="pgfId-764572"></A>Oracle PSP</H6><P CLASS="BP-Body"><A NAME="pgfId-764574"></A>For Oracle PSP, the NLS_LANG environment variable must be set before loading PL/SQL Server Pages (PSPs) into the database using the <EM CLASS="CodeInline">loadpsp</EM> command. </P></DIV><DIV><H6 CLASS="SH3-Subhead3"><A NAME="pgfId-764575"></A>Using the JDBC OCI8 driver with JServ and OracleJSP</H6><P CLASS="BP-Body"><A NAME="pgfId-764577"></A>If connecting to Oracle via the JDBC OCI8 driver, the appropriate NLS_LANG setting is required in jserv.properties. For example:</P><P CLASS="CE-CodeEx"><A NAME="pgfId-764578"></A>wrapper.env=NLS_LANG=AMERICAN_AMERICA.UTF8 </P></DIV></DIV><DIV><H3 CLASS="H2-Head2"><A NAME="pgfId-764579"></A>7.15 Configuration of listener.ora for EJBs </H3><P CLASS="BP-Body"><p CLASS="BP">In this release, the Oracle HTTP Server installation doesnot configure the listener.ora file to run Enterprise JavaBeans (EJBs).To run EJBs, you need to configure the listener.ora file as follows:<pre CLASS="CE"><a NAME="764584"></a>LISTENER = <a NAME="764585"></a> (DESCRIPTION_LIST = <a NAME="764586"></a> (DESCRIPTION = <a NAME="764587"></a> (ADDRESS_LIST = <a NAME="764588"></a> (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) <a NAME="764589"></a> ) <a NAME="764590"></a> (ADDRESS_LIST = <a NAME="764591"></a> (ADDRESS = (PROTOCOL = IPC)(KEY = icache)) <a NAME="764592"></a> ) <a NAME="764593"></a><a NAME="764594"></a> (ADDRESS_LIST = <a NAME="764595"></a> (ADDRESS = (PROTOCOL = TCP)(HOST = <hostname>)(PORT = 1521)) <a NAME="764596"></a> ) <a NAME="764597"></a> ) <a NAME="764598"></a> (DESCRIPTION = <a NAME="764599"></a> (PROTOCOL_STACK = <a NAME="764600"></a> (PRESENTATION = GIOP) <a NAME="764601"></a> (SESSION = RAW) <a NAME="764602"></a> ) <a NAME="764603"></a> (ADDRESS = (PROTOCOL = TCP)(HOST = <hostname>)(PORT = 2481)) <a NAME="764604"></a> ) <a NAME="764605"></a> ) <a NAME="764606"></a><a NAME="764607"></a>SID_LIST_LISTENER = <a NAME="764608"></a> (SID_LIST = <a NAME="764609"></a> (SID_DESC = <a NAME="764610"></a> (SID_NAME = PLSExtProc) <a NAME="764611"></a> (ORACLE_HOME = <ORACLE_HOME>) <a NAME="764612"></a> (PROGRAM = extproc) <a NAME="764613"></a> ) <a NAME="764614"></a> (SID_DESC = <a NAME="764615"></a> (GLOBAL_DBNAME = icache) <a NAME="764616"></a> (ORACLE_HOME = <ORACLE_HOME>) <a NAME="764617"></a> (SID_NAME = icache) <a NAME="764618"></a> ) <a NAME="766559"></a> )</pre><a NAME="766560"></a><p CLASS="BP">where <tt><hostname></tt> is the actual hostname of yourcomputer, and <tt><</tt><i>ORACLE_HOME</i><tt>></tt> is the value ofyour $ORACLE_HOME.<br><a NAME="764621"></a><H3 CLASS="H2-Head2"><A NAME="pgfId-764621"></A>7.16 Oracle XSU Limitations</H3><P CLASS="BP-Body"><A NAME="pgfId-764622"></A>In this release, the Oracle XML SQL Utility (XSU) does not include the setEncoding method. To download the latest version of XSU that supports encoding functionality, refer to the Oracle Technology Network (OTN) at:</P><P CLASS="CE1-CodeExInd1"><pre CLASS="CE1"><a NAME="764623"></a>http://otn.oracle.com/tech/xml/oracle_xsu/</pre></DIV><DIV><H3 CLASS="H2-Head2"><A NAME="pgfId-764624"></A>7.17 Additional Release Notes</H3><P CLASS="BP-Body"><A NAME="pgfId-764628"></A>After you install individual Oracle HTTP Server components, the Release Notes for the components are installed in the $ORACLE_HOME/relnotes directory, which contains Release Notes for Oracle HTTP Server, OEM, ASO, JDBC, Net8, OID Client, the RDBMS, SQL*Plus, interMedia, JServer, the precompilers, and SQLJ. </P><P CLASS="BP-Body"><A NAME="pgfId-764632"></A>Additionally, component Release Notes and Release Note Addendums are available on the Oracle Technology Network at:</P><P CLASS="CE1-CodeExInd1"><pre CLASS="CE1"><a NAME="764633"></a> http://otn.oracle.com/products/ias/<a NAME="764634"></a></pre><P CLASS="BP-Body"><A NAME="pgfId-764635"></A>For additional Release Notes, see the following files after installation:</P><h5 CLASS="SH3"><font face="Arial, Helvetica, sans-serif">Oracle XML Developer's Kit (XDK)</font></h5><a NAME="764637"></a><ul><a NAME="764638"></a><p CLASS="BP1">$ORACLE_HOME/xdk/doc/index.html</ul><a NAME="764639"></a><h5 CLASS="SH3"><font face="Arial, Helvetica, sans-serif">OracleJSP</font></h5><a NAME="764640"></a><ul><a NAME="764641"></a><p CLASS="BP1">$ORACLE_HOME/jsp/doc/releasenotes_11000.txt</ul><a NAME="764642"></a><br><a NAME="764217"></a></DIV></DIV></DIV><div CLASS="OUTD"><hr><table CELLSPACING=0 CELLPADDING=0 WIDTH="100%" ><tr><td VALIGN=BOTTOM WIDTH="33%"></td><td ALIGN=CENTER WIDTH="34%"><a href="../dcommon/html/cpyr.htm"><img SRC="../dcommon/gifs/oracle.gif" ALT="Oracle" BORDER=0 ></a><br><font size=-2><a href="../dcommon/html/cpyr.htm">Copyright ©2002 Oracle Corporation.</a></font><br><font size=-2>All Rights Reserved.</font></td><td ALIGN=RIGHT VALIGN=BOTTOM WIDTH="33%"><table CELLSPACING=0 CELLPADDING=0 WIDTH="144" ><tr><td ALIGN=CENTER VALIGN=TOP WIDTH="25%"></td><td ALIGN=CENTER VALIGN=TOP WIDTH="25%"></td><td ALIGN=CENTER VALIGN=TOP WIDTH="25%"></td><td ALIGN=CENTER VALIGN=TOP WIDTH="25%"></td></tr></table></td></tr></table></div></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -