每次都要查这个配置,先贴过来
Table 8-3 HttpClusterServlet Parameters
<param-name>
|
<param-value>
|
Default Value
|
defaultServers
|
(Required) A list of host names and port numbers of the servers to which you are proxying requests in the form:
host1:HTTP_Port:HTTPS_Port| host2:HTTP_Port:HTTPS_Port
(Where host1 and host2 are the host names of servers in the cluster, HTTP_Port is the port where the host is listening for HTTP requests, and HTTPS_Port is the port where the host is litening for HTTP SSL requests.)
Separate each host with the | character.
If you set the secureProxy parameter to ON (see the secureProxy entry) The HTTPS port uses SSL between the WebLogic Server running HttpClusterServlet and the WebLogic Servers in the cluster. You must always define an HTTPS port, even if you have set secureProxy to OFF.
|
None
|
secureProxy
|
ON/OFF. If set to ON, enables SSL between the HttpClusterServlet and the member of a WebLogic Server cluster.
|
OFF
|
DebugConfigInfo
|
ON/OFF. If set to on, you can query the HttpClusterServlet for debugging information by adding a request parameter of ?_WebLogicBridgeConfig to any request. For security reasons, it is recommended that you set this parameter to OFF in a production environment.
|
OFF
|
connectionTimeout
|
The amount of time, in seconds, that a socket waits in between reading chunks of data. If the timeout expires, a java.io.InterruptedIOException is thrown
|
0 = infinite timeout.
|
numOfRetries
|
Number of times HttpClusterServlet will attempt to retry a failed connection.
|
5
|
pathTrim
|
String to be trimmed from the beginning of the original URI.
|
None
|
trimExt
|
The file extension to be trimmed from the end of the URI.
|
None
|
pathPrepend
|
String to be prepended to the beginning of the original URL, after pathTrim has been trimmed, and before the request is forwarded to a WebLogic Server cluster member.
|
None
|
Sample Deployment Descriptor for the HttpClusterServlet
The following is a sample of a Web Applications deployment descriptor, web.xml, for using the HttpClusterServlet:
Listing 8-5 Sample web.xml for Use with HttpClusterServlet
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.
//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
<web-app>
<servlet>
<servlet-name>HttpClusterServlet</servlet-name>
<servlet-class>
weblogic.servlet.internal.HttpClusterServlet
</servlet-class>
<init-param>
<param-name>defaultServers</param-name>
<param-value>
myserver1:7736:7737|myserver2:7736:7737|myserver:7736:7737
</param-value>
</init-param>
<init-param>
<param-name>DebugConfigInfo</param-name>
<param-value>ON</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>HttpClusterServlet</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>HttpClusterServlet</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>HttpClusterServlet</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>HttpClusterServlet</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
</web-app>
分享到:
相关推荐
BEA WebLogic Server 是一种多功能、基于标准的应用服务器,为企业构建自己的应用提供了坚实的基础。各种应用开发、部署所有关键性的任务,无论是集成各种系统和数据库,还是提交服务、跨 Internet 协作,起始点都是...
BEA WebLogic Workshop 8.1 是一个统一、简化、可扩展的开发环境,使所有开发人员都能在 BEA WebLogic Enterprise Platform 8.1 之上构建基于标准的企业级应用,从而提高了开发部门的生产力水平。该产品利用可视化的...
《J2EE应用与BEA WebLogic Server(第2版)》探讨了J2EE的BEA实现。全书共分为18章,每章分别对应于使用J2EE和WebLogic Server开发Web应用程序的各个阶段,并且都围绕特定的Java Enterprise技术来组织,包括模型-视图-...
J2EE 应用与 BEA WebLogic Server
BEA Weblogic 配置ssl.doc
BEA WebLogic Server™ 在使应用服务器成为企业应用架构的基础方面继续处于领先地位。作为 BEA WebLogic Enterprise Platform的基石,BEA WebLogic Server 为构建集成化的企业级应用提供了稳固的基础,它们以 ...
bea weblogic server 管理指南
本书是WebLogic开发人员的权威参考手册,书中深入探讨了WebLogic Server所提供的功能,并列举了一些最佳开发实践。本书全面介绍了WebLogic在J2EE应用程序的各个方面所... BEA WebLogic Platform8.1开发者评估版本。
BEA WebLogic Server 8.1 Unleashed
本书对WebLogic Server所涉及的方方面面进行了逐一讲解,并提供了大量的真实环境的实例,帮助读者了解WebLogic的功能和如何创建一个高效的WebLogic开发环境。
BEA WebLogic Platform 8.1实战指南 ,介绍了weblogic方方面面
IBM WebSphere家族产品与BEA WebLogic家族产品比较
BEA Weblogic Server宝典1,这个是中译本,扫描版
BEA WebLogic Server book(中文),还可以把,没分了多传点搞点分在说 呵呵。
BEA WebLogic Enterprise Platform和ORACLE RAC解决方案.doc
BEA WebLogic Server 管理指南
BEA Weblogic Server
配置BEA WebLogic 8.1 JDBC连接,图文并冒,详细讲解!
BEA_Weblogic_配置Oracle连接池 轻松搞定
本书前一版非常畅销。第二版是第一版的修订和更新,是使用J2EE 1.3(参考了J2EE 1.4的特性)和新的BEA WebLogic Server 8.1来开发基于Web的应用程序的全新指南。