Configure In-Memory HTTP Replication

db_wjw發表於2012-11-28

weblogic會話複製配置(In-Memory方式):

To support automatic failover for servlets and JSPs, WebLogic Server replicates HTTP session states in memory.

Note:

WebLogic Server can also maintain the HTTP session state of a servlet or JSP using file-based or JDBC-based persistence. For more information on these persistence mechanisms, see in Developing Web Applications, Servlets, and JSPs for Oracle WebLogic Server.

In-memory HTTP session state replication is controlled separately for each application you deploy. The parameter that controls it—PersistentStoreType—appears within the session-descriptor element, in the WebLogic deployment descriptor file, weblogic.xml, for the application.

domain_directory/applications/application_directory/WEB-INF/weblogic.xml

To use in-memory HTTP session state replication across server instances in a cluster, set the PersistentStoreType to replicated. The fragment below shows the appropriate XML from weblogic.xml.


replicated 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26194851/viewspace-750171/,如需轉載,請註明出處,否則將追究法律責任。

相關文章