在websphere7中打开Session Affinity

在was 7 ND版 + Ibm Http Server 中 Session affinity(即Session sticky)默认是支持的,如果是Base版WAS,则需要配置一下HttpSessionCloneID 参数,以支持Session Affinity 正常工作:
具体如下:
Configure a unique HTTP session clone ID for each application server. You must complete this step if you require session affinity.
You can configure a unique HTTP session clone ID using wsadmin scripting or the administrative console. To use wsadmin commands for the Jython or Jacl programming language, see the documentation on configuring a unique HTTP session clone ID for each application server using scripting. To configure a unique HTTP session clone ID using the administrative console, complete the following steps:
  • Expand Servers > Server Types and click WebSphere application servers > server_name.
  • Under Container Settings, expand Web Container Settings, and click Web container.
  • Under Additional Properties, click Custom properties > New .
  • In the Name field, enter HttpSessionCloneId.
  • In the Value field, enter a unique value for the server. The unique value must be 8 - 9 alphanumeric characters; for example, test1234
  • Click Apply or OK.
  • Click Save to save the configuration changes to the master configuration.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值