- 浏览: 75928 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
quanhy5:
这是session复制时session内东西不是可序列化而引起 ...
weblogic集群session保持的问题 -
NICOBEYOND:
不错,向楼主学习!
通常在Spring发布Hession,RMI等 -
完美冰蓝:
估计有戏!
使用jad及eclipse插件进行.class文件的反编译 -
heavilyarmed:
谢谢了 呵呵
oracle主键自增
下面内容来自Installing and Configuring the Apache HTTP Server Plug-In:
To install the Apache HTTP Server Plug-In as a dynamic shared object:
- Locate the shared object directory for your platform using Table 3-1.
- Identify the plug-in shared object file for your version of Apache in Table 3-2.
- Verify that the WebLogic Server Apache HTTP Server Plug-In mod_so.c module is enabled.
The Apache HTTP Server Plug-In will be installed in your Apache HTTP Server installation as a Dynamic Shared Object (DSO). DSO support in Apache is based on a module mod_so.c, which must be enabled before mod_wl_20.so is loaded. If you installed Apache HTTP Server using the script supplied by Apache, mod_so.c is already enabled. Verify that mod_so.c is enabled by executing the following command:
APACHE_HOME\bin\apache -l
(Where APACHE_HOME is the directory containing your Apache HTTP Server installation.)
This command lists all enabled modules. If mod_so.c is not listed, you must rebuild your Apache HTTP Server, making sure that the following options are configured:
...
--enable-module=so
--enable-rule=SHARED_CORE
...See Apache 2.0 Shared Object (DSO) Support at http://httpd.apache.org/docs/2.0/dso.html.
- Install the Apache HTTP Server Plug-In module for Apache 2.0.x by copying the mod_wl_20.so file to the APACHE_HOME\modules directory and adding the following line to your APACHE_HOME/conf/httpd.conf file manually:
LoadModule weblogic_module modules/mod_wl_20.so
- Define any additional parameters for the Apache HTTP Server Plug-In.
The Apache HTTP Server Plug-In recognizes the parameters listed in General Parameters for Web Server Plug-Ins. To modify the behavior of your Apache HTTP Server Plug-In, define these parameters:
- Verify the syntax of the APACHE_HOME\conf\httpd.conf file with the following command:
APACHE_HOME\bin\apachectl -t
The output of this command reports any errors in your httpd.conf file or returns:
Syntax OK
- Restart Weblogic Server.
- Start (or restart if you have changed the configuration) Apache HTTP Server.
- Test the plug-in by opening a browser and setting the URL to the Apache Server + "/weblogic/", which should bring up the default WebLogic Server HTML page, welcome file, or default servlet, as defined for the default Web Application on WebLogic Server. For example:
http://myApacheserver.com/weblogic/
Configuring the Apache HTTP Server Plug-In
After installing the plug-in in the Apache HTTP Server, configure the WebLogic Server Apache Plug-In and configure the server to use the plug-in. This section explains how to edit the Apache httpd.conf file to instruct the Apache server to load the WebLogic Server library for the plug-in as an Apache module, and to specify the application requests that should be handled by the module.
Editing the httpd.conf File
Edit the httpd.conf file in your Apache HTTP server installation to configure the Apache HTTP Server Plug-In.
This section explains how to locate and edit the httpd.conf file, to configure the server to use the WebLogic Server Apache Plug-In, to proxy requests by path or by MIME type, to enable HTTP tunneling, and to use other WebLogic Server plug-in parameters.
- Open the httpd.conf file.
The file is located at APACHE_HOME\conf\httpd.conf (where APACHE_HOME is the root directory of your Apache HTTP server installation). See a sample httpd.conf file at Setting Up Perimeter Authentication.
- Ensure that the WebLogic Server modules are included for Apache 2.0.x, manually add the following line to the httpd.conf file:
LoadModule weblogic_module modules\mod_wl_20.so
- Add an IfModule block that defines one of the following:
For a non-clustered WebLogic Server:
The WebLogicHost and WebLogicPort parameters.
For a cluster of WebLogic Servers:
The WebLogicCluster parameter.
<IfModule mod_weblogic.c>
WebLogicHost myweblogic.server.com
WebLogicPort 7001
</IfModule> - To proxy requests by MIME type, add a MatchExpression line to the IfModule block. Note that if both MIME type and proxying by path are enabled, proxying by path takes precedence over proxying by MIME type.
For example, the following IfModule block for a non-clustered WebLogic Server specifies that all files with MIME type .jsp are proxied:
<IfModule mod_weblogic.c>
WebLogicHost myweblogic.server.com
WebLogicPort 7001
MatchExpression *.jsp
</IfModule>You can also use multiple MatchExpressions, for example:
<IfModule mod_weblogic.c>
WebLogicHost myweblogic.server.com
WebLogicPort 7001
MatchExpression *.jsp
MatchExpression *.xyz
</IfModule>If you are proxying requests by MIME type to a cluster of WebLogic Servers, use the WebLogicCluster parameter instead of the WebLogicHost and WebLogicPort parameters. For example:
<IfModule mod_weblogic.c>
WebLogicCluster w1s1.com:7001,w1s2.com:7001,w1s3.com:7001
MatchExpression *.jsp
MatchExpression *.xyz
</IfModule> - To proxy requests by path, use the Location block and the SetHandler statement. SetHandler specifies the handler for the Apache HTTP Server Plug-In module. For example the following Location block proxies all requests containing /weblogic in the URL:
<Location /weblogic>
SetHandler weblogic-handler
PathTrim /weblogic
</Location>The PathTrim parameter specifies a string trimmed from the beginning of the URL before the request is passed to the WebLogic Server instance (see General Parameters for Web Server Plug-Ins).
- Optionally, enable HTTP tunneling for t3 or IIOP.
- To enable HTTP tunneling if you are using the t3 protocol and weblogic.jar, add the following Location block to the httpd.conf file:
<Location /HTTPClnt>
SetHandler weblogic-handler
</Location> - To enable HTTP tunneling if you are using the IIOP, the only protocol used by the WebLogic Server thin client, wlclient.jar, add the following Location block to the httpd.conf file:
<Location /iiop>
SetHandler weblogic-handler
</Location>
- To enable HTTP tunneling if you are using the t3 protocol and weblogic.jar, add the following Location block to the httpd.conf file:
- Define any additional parameters for the Apache HTTP Server Plug-In.
The Apache HTTP Server Plug-In recognizes the parameters listed in General Parameters for Web Server Plug-Ins. To modify the behavior of your Apache HTTP Server Plug-In, define these parameters either:
General Parameters for Web Server Plug-Ins
Parameters are case sensitive.
Port at which the WebLogic Server host is listening for connection requests from the plug-in (or from other servers). (If you are using SSL between the plug-in and WebLogic Server, set this parameter to the SSL listen port (see Configuring the SSL Protocol) and set the SecureProxy parameter to ON).
If you are using a WebLogic Cluster, use the WebLogicCluster parameter instead of WebLogicPort.
|
||
List of WebLogic Servers that can be used for load balancing. The server or cluster list is a list of host:port entries. If a mixed set of clusters and single servers is specified, the dynamic list returned for this parameter will return only the clustered servers.
The method of specifying the parameter, and the required format vary by plug-in. See the examples in:
If you are using SSL between the plug-in and WebLogic Server, set the port number to the SSL listen port (see Configuring the SSL Protocol) and set the SecureProxy parameter to ON.
The plug-in does a simple round-robin between all available servers. The server list specified in this property is a starting point for the dynamic server list that the server and plug-in maintain. WebLogic Server and the plug-in work together to update the server list automatically with new, failed, and recovered cluster members.
You can disable the use of the dynamic cluster list by setting the DynamicServerList parameter to OFF
|
||
String trimmed by the plug-in from the beginning of the original URL, before the request is forwarded to WebLogic Server. For example, if the URL
is passed to the plug-in for parsing and if PathTrim has been set to strip off /weblogic before handing the URL to WebLogic Server, the URL forwarded to WebLogic Server is:
Note that if you are newly converting an existing third-party server to proxy requests to WebLogic Server using the plug-in, you will need to change application paths to /foo to include weblogic/foo. You can use PathTrim and PathPrepend in combination to change this path.
|
||
String that the plug-in prepends to the beginning of the original URL, after PathTrim is trimmed and before the request is forwarded to WebLogic Server.
|
||
Maximum time in seconds that the plug-in should attempt to connect to the WebLogic Server host. Make the value greater than ConnectRetrySecs. If ConnectTimeoutSecs expires without a successful connection, even after the appropriate retries (see ConnectRetrySecs), an HTTP 503/Service Unavailable response is sent to the client.
You can customize the error response by using the ErrorPage parameter.
|
||
Interval in seconds that the plug-in should sleep between attempts to connect to the WebLogic Server host (or all of the servers in a cluster). Make this number less than the ConnectTimeoutSecs. The number of times the plug-in tries to connect before returning an HTTP 503/Service Unavailable response to the client is calculated by dividing ConnectTimeoutSecs by ConnectRetrySecs.
To specify no retries, set ConnectRetrySecs equal to ConnectTimeoutSecs. However, the plug-in attempts to connect at least twice.
You can customize the error response by using the ErrorPage parameter.
|
||
Sets the type of logging performed for debugging operations. The debugging information is written to the /tmp/wlproxy.log file on UNIX systems and c:\TEMP\wlproxy.log on Windows NT/2000 systems. Override this location and filename by setting the WLLogFile parameter to a different directory and file. Ensure that the tmp or TEMP directory has write permission assigned to the user who is logged in to the server. Set any of the following logging options (HFC,HTW,HFW, and HTC options may be set in combination by entering them separated by commas, for example "HFC,HTW"):
ONOFFHFCHTWHFWHTCERRALL |
||
See the Debug parameter
|
Specifies path and file name for the log file that is generated when the Debug parameter is set to ON. You must create this directory before setting this parameter.
|
|
If defined in the proxy configuration, specifies number of seconds interval at which WebLogic Server refreshes DNS name to IP mapping for a server. This can be used in the event that a WebLogic Server instance is migrated to a different IP address, but the DNS name for that server's IP remains the same. In this case, at the specified refresh interval the DNS<->IP mapping will be updated.
|
||
See the Debug parameter
|
||
Enables the special query parameter "__WebLogicBridgeConfig". Use it to get details about configuration parameters from the plug-in.
For example, if you enable "__WebLogicBridgeConfig" by setting DebugConfigInfo and then send a request that includes the query string ?__WebLogicBridgeConfig, then the plug-in gathers the configuration information and run-time statistics and returns the information to the browser. The plug-in does not connect to WebLogic Server in this case.
|
||
If set to true, the plug-in checks the existence and permissions of the translated path ("Proxy-Path-Translated") of the request before forwarding the request to WebLogic Server.
If the file does not exist, an HTTP 404 File Not Found response is returned to the client. If the file exists but is not world-readable, an HTTP 403/Forbidden response is returned to the client. In either case, the default mechanism for the Web server to handle these responses fulfills the body of the response. This option is useful if both the WebLogic Server Web Application and the Web Server have the same document root.
You can customize the error response by using the ErrorPage parameter.
|
||
Defines the amount of time the plug-in waits for a response to a request from WebLogic Server. The plug-in waits for HungServerRecoverSecs for the server to respond and then declares that server dead, and fails over to the next server. The value should be set to a very large value. If the value is less than the time the servlets take to process, then you may see unexpected results.
|
||
When set to ON and if the servers do not respond within WLIOTimeoutSecs (new name for HungServerRecoverSecs), the plug-ins fail over.
|
||
If you change the name of the WebLogic Server session cookie in the WebLogic Server Web application, you need to change the CookieName parameter in the plug-in to the same value. The name of the WebLogic session cookie is set in the WebLogic-specific deployment descriptor, in the <session-descriptor> element.
|
||
Set the DefaultFileName to the default welcome page of the Web Application in WebLogic Server to which requests are being proxied. For example, If the DefaultFileName is set to welcome.html, an HTTP request like "http://somehost/weblogic" becomes "http://somehost/weblogic/welcome.html". For this parameter to function, the same file must be specified as a welcome file in all the Web Applications to which requests are directed. For more information, see " Configuring Welcome Pages".
|
||
When set to ON, and the size of the POST data in a request is greater than 2048 bytes, the POST data is first read into a temporary file on disk and then forwarded to the WebLogic Server in chunks of 8192 bytes. This preserves the POST data during failover, allowing all necessary data to be repeated to the secondary if the primary goes down.
Note that when FileCaching is ON, any client that tracks the progress of the POST will see that the transfer has completed even though the data is still being transferred between the WebServer and WebLogic. So, if you want the progress bar displayed by a browser during the upload to reflect when the data is actually available on the WebLogic Server, you might not want to have FileCaching ON.
When set to OFF and the size of the POST data in a request is greater than 2048 bytes, the reading of the POST data is postponed until a WebLogic Server cluster member is identified to serve the request. Then the Plugin reads and immediately sends the POST data to the WebLogic Server in chunks of 8192 bytes.
|
||
The values for this parameter are 0 (low), 1 (medium), and 2 (high). The default value is 2. This priority should be put in iisforward.ini file. This property is used to set the priority level for the iisforward.dll filter in IIS. Priority level is used by IIS to decide which filter will be invoked first, in case multiple filters match the incoming request.
|
||
When set to ON, specifies that the Apache plug-in use
(request_rec *)r->the request to pass the query string to WebLogic Server. (For more information, see your Apache documentation.) This behavior is desirable in the following situations: |
||
If a WebLogic Server listed in either the WebLogicCluster parameter or a dynamic cluster list returned from WebLogic Server fails, the failed server is marked as "bad" and the plug-in attempts to connect to the next server in the list.
|
||
When set to OFF, the plug-in ignores the dynamic cluster list used for load balancing requests proxied from the plug-in and only uses the static list specified with the WebLogicCluster parameter. Normally this parameter should remain set to ON.
|
||
Set this parameter to ON to maintain SSL communication between the plug-in and WebLogic Server when the following conditions exist:
|
||
发表评论
-
配置WebLogic Server集群
2007-06-20 08:21 1071预备知识 什么是Domain和Server Domain ... -
Linux下配置WebLogic Server集群
2007-06-20 09:08 1302本文讲述如何在WebLogic Server 8.1上配置集群 ... -
weblogic集群session保持的问题
2007-06-25 02:48 5138这次考试院weblogic集群一直被session保持的问题所 ... -
WebLogic如何设置session超时时间
2007-06-25 02:48 2382WebLogic如何设置session超时时间 1 web. ... -
基于Weblogic Server实现EOS负载均衡的考虑
2007-06-25 02:51 1479EOS本身不提供负载均衡、流量控制、过负载控制的处理,主要依赖 ... -
EOS开发部署资料
2007-06-25 03:04 15821.关于EOS的primary key EOS的primar ... -
weblogic之SESSION复制
2007-06-25 03:05 3169在weblogic.xml中增加如下配置: <sessi ... -
Java - Webservice调用方式:axis,soap详解
2007-06-28 03:43 7736调用webservice,可以首先根据wsdl文件生成客户端, ... -
soap webservice axis
2007-06-28 03:45 1340本文介绍使用AXIS作为开发环境来体会Web服务的开发过程。& ... -
只需要3步把您的java程序转换为webservice
2007-06-28 04:34 1522一、Axis安装 1、环境 J2SE SDK 1.3 or 1 ... -
通常在Spring发布Hession,RMI等
2007-06-28 12:37 4474通常在Spring发布Hession,RM ... -
webwork与spring集成的三种方法
2007-05-31 09:21 10411.External-Ref 这种方法看起来比较烦琐,(这里 ... -
Spring与Hibernate的整合与解耦
2007-06-01 06:07 966Hibernate与Spring整合后,就可以使用IoC及AO ... -
Spring ORM implementation for Castor (1)
2007-06-01 08:03 962Data access with the Spring fra ... -
Spring ORM implementation for Castor (2)
2007-06-01 08:04 878Declarative Transaction Demarca ... -
java文章网址收集
2007-06-06 01:04 9561.TheServerside.com 依然是地位无可动 ... -
J2EE大型网站架构设计一点总结
2007-06-06 08:35 3471程序开发是一方面,系统架构设计(硬件+网络+软件)是另一方面。 ... -
使用Hibernate进行大数据量的性能测试总结
2007-06-07 07:37 21451) 在处理大数据量时,会有大量的数据缓冲保存在Session ... -
hibernate下数据批量处理解决方案
2007-06-07 07:37 950很多人都对Java在批量数据的处理方面是否是其合适的场所持有怀 ... -
CORBA介绍
2007-06-07 07:51 1779CORBA(Common Object Request Br ...
相关推荐
本文档将指导读者安装和配置 WebLogic 9.2 服务器,解决常见的安装和配置问题。 一、选择 WebLogic 9.2 的原因 在选择 WebLogic 9.2 之前,需要了解 WebLogic 8 的限制。WebLogic 8 只支持 J2EE 1.3 规范,也就是 ...
WebLogic 9.2 安装过程详解 ...WebLogic 9.2 的安装过程需要按照特定的步骤进行操作,包括安装 WebLogic 服务器、启动服务器、访问控制台、停止服务器、创建新的域、配置 Admin 服务器和 Managed 服务器等。
总的来说,Windows下的WebLogic 9.2安装部署、配置域和发布工程是一个涉及多方面知识的过程,需要对Java EE、WebLogic Server的架构以及相关的管理工具有深入理解。通过本文的介绍,希望能为你提供一个清晰的实践...
WebLogic Server 是一款由 Oracle 公司提供的企业级 Java 应用服务器,它提供了一个用于开发、集成、部署和管理Java EE应用程序的平台。本篇文章将详细阐述如何在Windows环境下部署WebLogic 9.2,包括创建域、启动...
Weblogic9.2安装配置详细解释,一目了然
#### 二、WebLogic 9.2 的安装与配置 ##### 1. 安装准备 在开始安装之前,确保满足以下条件: - **操作系统**:WebLogic 9.2 支持多种操作系统,包括 Windows、Linux 和 Solaris。 - **JDK 版本**:建议使用 Sun ...
### Apache WebLogic 9.2 安装及集群、SSL配置关键知识点 #### 一、Apache WebLogic 9.2 安装流程 ##### 1.1 创建用户 - **步骤**:首先需要在系统中创建一个用户,用于后续安装过程中的一些权限控制。通过点击...
### BEA WebLogic 9.2 Cluster安装配置手册 #### 一、准备工作 在开始安装BEA WebLogic 9.2集群之前,需要确保完成以下准备工作: 1. **用户和组的创建**:为了保证WebLogic Server的安全性和权限管理,需要创建...
在配置 MyEclipse 的 WebLogic 9 服务器启动时,需要打开首选项对话框,并展开 MyEclipse 下的 Application Servers,选择 WebLogic 9.2,然后配置服务器的启动参数和 JVM 参数,以便在开发和部署 Java Web 应用程序...
在这个版本中,安装过程是初步接触WebLogic Server的关键步骤,接着是配置数据源和Web应用,以及调整服务器设置等。 首先,WebLogic 9.2 的安装涉及下载安装包,然后按照安装向导进行操作,包括选择安装类型(如...
在本教程中,我们将...总的来说,安装WebLogic Server 9.2 MP2在RedHat Linux上是一个涉及多步骤的过程,需要对Linux系统和Java应用服务器有一定了解。遵循本教程,你将能够成功完成安装并开始使用WebLogic Server。
WebLogic Server 9.2 是一款由甲骨文公司开发的企业级Java应用程序服务器,它提供了用于构建、部署和管理企业级Web应用程序和服务的平台。本配置文档主要涵盖了WebLogic 9.2的安装以及集群配置,旨在帮助用户在Red ...
- **配置**: 在WebLogic Server 9.2中,可以通过管理控制台轻松配置集群,包括添加服务器实例、设置负载均衡策略等。 - **应用场景**: 集群通常用于生产环境中,以支持高流量网站和应用程序。 #### 六、高可用性 - ...
在Red Hat 5操作系统上安装配置WebLogic Server 9.2是一个关键的过程,对于搭建Java EE应用程序服务器环境至关重要。WebLogic Server是Oracle公司提供的一个企业级应用服务器,用于部署和管理基于Java的应用程序。...