WebSPhere: EJBConfigurationException: Using Commit Option A with a workload managed server

Problem(Abstract)
Installing the EJB 3.0 Feature Pack for WebSphere Application Server V6.1 might 
result in the following exception when running an application that uses entity Container Managed Persistence Commit Option A in a clustered environment:

WSVR0068E: Attempt to start EnterpriseBean
..... failed with exception: com.ibm.ejs.container.EJBConfigurationException: Using
Commit Option A with workload managed server is not supported.
 
Cause
Container Managed Persistence entity beans using "Commit Option A" are not
supported in a clustered environment since it can have very severe consequences to data integrity. For more details, see EJB containers in the information center.However, in WebSphere Application Server Version 6.1 it is possible that no warnings or exceptions will be thrown if this unsupported configuration is attempted. Once the EJB 3.0 Feature Pack is installed, this unsupported behavior will be
identified and an exception thrown.
 
Resolving the problem
It is highly recommended that "Commit Option A" not be used in a clustered
environment. However, the exception that occurs once the EJB 3.0 Feature Pack is installed can be avoided by setting the property com.ibm.websphere.ejbcontainer.wlmAllowOptionAReadOnly to true:

Procedure
1. Open the administrative console.

2. Select Servers.

3. Select Servers > Application servers > server_name.

4. Under Server infrastructure, select Java and Process Management > Process  Definition.

5. Under Additional properties, select Java virtual machine > Custom properties > New.

6. In the Name entry field, type com.ibm.websphere.ejbcontainer.wlmAllowOptionAReadOnly.

7. In the Value entry field, type true.

8. Select OK.

from: https://www-304.ibm.com/support/docview.wss?uid=swg21419810

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值