Session Weblogic会话复制
我似乎无法让Weblogic的会话复制正常工作。 我在我的web.xml中设置了所有请求都需要管理员凭据:Session Weblogic会话复制,session,weblogic,replication,Session,Weblogic,Replication,我似乎无法让Weblogic的会话复制正常工作。 我在我的web.xml中设置了所有请求都需要管理员凭据: <security-constraint> <web-resource-collection> <web-resource-name>redirect</web-resource-name> <url-pattern>/*</url-pattern> </web-r
<security-constraint>
<web-resource-collection>
<web-resource-name>redirect</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>Admin</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<realm-name>myrealm</realm-name>
<form-login-config>
<form-login-page>
/login.jsp
</form-login-page>
<form-error-page>
/login.jsp
</form-error-page>
</form-login-config>
</login-config>
重定向
/*
行政
机密的
形式
我的王国
/login.jsp
/login.jsp
在我的weblogic.xml中,我有以下设置:
<session-descriptor>
<persistent-store-type>replicated_if_clustered</persistent-store-type>
</session-descriptor>
已复制\u如果\u群集
我的测试用例使用两个托管服务器
我希望故障切换能够顺利进行,而无需我重新登录。尝试在Weblogic管理控制台中启用会话复制选项 登录到管理员
console -> goto cluster -> goto advanced -> tick Session replication.
注意:触摸.xml文件来更改任何属性不是一个好的做法