Renjan thomas wrote:
To utilize in-memory replication(process of copying a session state from one server instance to another is called in-memory replication) for HTTP session states, you must access the WebLogic Server cluster using either a collection of Web servers with identically configured WebLogic proxy plug-ins, or load balancing hardware.
In-memory replication for HTTP session states is supported by the following Web server and proxy software:
WebLogic Server with the HttpClusterServlet
Sun One Web Server with the Netscape (proxy) plug-in
Apache with the Apache Server (proxy) plug-in
Microsoft Internet Information Server with the Microsoft-IIS (proxy) plug-in
Renjan thomas wrote:To explain you how the failover mechanism works with weblogic we need to take any one of the above methods which I mentioned.
Here lets take HttpClusterServlet . For this browse to directory location:
BEA_HOME/wlserver_10.0/samples/server/examples/src/examples/cluster/sessionrep/inmemrep/
Where BEA_HOME is the directory containing your WebLogic Server installation.
Once you are in that location you can see an html document called instructions,open it and you will find the detailed example demonstration of HTTP Session state replication.
jonnabhatla venkata wrote:
Renjan thomas wrote:To explain you how the failover mechanism works with weblogic we need to take any one of the above methods which I mentioned.
Here lets take HttpClusterServlet . For this browse to directory location:
BEA_HOME/wlserver_10.0/samples/server/examples/src/examples/cluster/sessionrep/inmemrep/
Where BEA_HOME is the directory containing your WebLogic Server installation.
Once you are in that location you can see an html document called instructions,open it and you will find the detailed example demonstration of HTTP Session state replication.
Hi Renjan thomas,
Thank you for your quick responce....
I deployed my application with weblogic.xml file but I got the following exception while deployment...
weblogic.management.DeploymentException: Deployer:149003Unable to access application source information in 'C:\Weblogic10.3\bea\user_projects\domains\Cluster_domain\servers\MHS_1\stage\HelloWorld\HelloWorld.war' for application 'HelloWorld'. The specific error is: Deployer:149158No application files exist at 'C:\Weblogic10.3\bea\user_projects\domains\Cluster_domain\servers\MHS_1\stage\HelloWorld\HelloWorld.war'..
My sample application is the following directory structure.
web.xml
------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "web-app_2_3.dtd" >
<web-app>
<distributable/>
<servlet>
<servlet-name>HelloWorld</servlet-name>
<servlet-class>ClusterDemo</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld</servlet-name>
<url-pattern>/clusterDemo.jsp</url-pattern>
</servlet-mapping>
</web-app>
weblogic.xml
------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "wls810_weblogic810-web-jar.dtd" >
<weblogic-web-app>
<session-descriptor>
<session-param>
<param-name> PersistentStoreType </param-name>
<param-value> replicated </param-value>
</session-param>
</session-descriptor>
</weblogic-web-app>
I am using weblogic 10.3 server. If I am deploying without weblogic.xml the application deploying and running
fine but when I included weblogic.xml the application not deploying.
Please reply me ASAP.....
Thanks in advance,
Krishna
Consider Paul's rocket mass heater. |