WebLogic11g-半小时让你的domain集群化
WebLogic11g-负载分发
weblogic proxy。war配置
web.xml
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>HttpClusterServlet</servlet-name>
<servlet-class>weblogic.servlet.proxy.HttpClusterServlet</servlet-class>
<init-param>
<param-name>WebLogicCluster</param-name>
<param-value>127.0.0.1:7101</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>HttpClusterServlet</servlet-name>
<url-pattern>/dci_lt/*</url-pattern>
</servlet-mapping> <servlet>
<servlet-name>yyaq</servlet-name>
<servlet-class>weblogic.servlet.proxy.HttpClusterServlet</servlet-class>
<init-param>
<param-name>WebLogicCluster</param-name>
<param-value>127.0.0.1:7101|127.0.0.1:7102</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>yyaq</servlet-name>
<url-pattern>/yyaq/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>yyaq</servlet-name>
<url-pattern>/yyaq/*</url-pattern>
</servlet-mapping>
</web-app>
weblogic.xml
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic
810-web-jar.dtd">
<weblogic-web-app>
<context-root>/</context-root>
</weblogic-web-app>