ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Configure In-Memory HTTP Replication

Configure In-Memory HTTP Replication

原创 Linux操作系统 作者:db_wjw 时间:2012-11-28 19:46:38 0 删除 编辑

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 Using Sessions and Session Persistence 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博客 ” ,链接:https://blog.itpub.net/26194851/viewspace-750171/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-08-21

  • 博文量
    96
  • 访问量
    506462