SRVE8111E:The application,{0},is trying to modify a cookie which matches a pattern in the 错误之解

在IBM WebSphere Application Server (WAS) 上部署应用时遇到SRVE8111E错误。该错误表明尝试修改被管理员禁止的Cookie配置。为确保安全,Cookie只能按应用域、名称和上下文路径设置。解决方案包括:1) 删除web.xml中的session-config并使用WAS控制台配置会话管理;2) 修改Cookie名称、域、上下文路径及安全性设置。建议首选方案是通过WAS控制台进行配置,以避免影响所有应用。
摘要由CSDN通过智能技术生成

当在应用程序web.xml中自定义session-config配置时,在WAS上部署后启动报 SRVE8111E 错

<!-- Session Config -->
<session-config>
	<session-timeout>15</session-timeout>
	<cookie-config>
		<http-only>true</http-only>
		<secure>false</secure>
	</cookie-config>
</session-config>

信息中心说明如下

https://www.ibm.com/support/knowledgecenter/en/SSEQTP_8.5.5/com.ibm.websphere.messages.doc/com.ibm.ws.webcontainer.resources.Messages.html

 

SRVE8111E: The application, {0}, is trying to modify a cookie which matches a pattern in the restricted programmatic session cookies list [domain={1}, name={2}, path={3}].
    Explanation     The administrator has disabled changing the cookie configuration f
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值