WebSPhere: EJBConfigurationException: Using Commit Option A with a workload managed server
来源:互联网 发布:二手车网络推广方案 编辑:程序博客网 时间:2024/05/15 15:47
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
- WebSPhere: EJBConfigurationException: Using Commit Option A with a workload managed server
- Using the latest Jython with a WebSphere Application Server wsadmin thin client
- Rendering Textures with Alpha Channels and Color Key Transparency using a MatrixStack in Managed Direct3D
- Manual commit is not allowed over a Spring managed
- Manual commit is not allowed over a Spring managed SqlSession
- fatal error C1190: managed targeted code requires a '/clr' option
- Using ArcGIS Server with a 64-bit processor
- Using Strings with a Switch
- Dancing Rectangles: Using GAPI to Create a Managed Graphics Library
- Using Emacs as a server
- start managed server using wlst
- stopManagedWebLogic.sh - Stopping a managed server from the command line
- How to invoke a JSF managed bean on a HTML DOM event using native JavaScript?
- fatal error C1190: managed targeted code requires a '/clr' option 的处理
- fatal error C1190: managed targeted code requires a '/clr' option VS2010
- Using Lua with C++: A short tutorial
- Using a MySQL Database with C++
- Using a Range for with Multdimensional Arrays.
- 北京nec药局管理系统
- 基于Annotation的Struts2.0+Hibernate3.3+Spring2.5整合开发 (2)
- java读取Excel
- Linux中的逻辑地址,线性地址和物理地址转换关系
- SQL SERVER 2005 备份与恢复简介
- WebSPhere: EJBConfigurationException: Using Commit Option A with a workload managed server
- 两件事,最重要的是终于找到免费的国外的免费主机空间
- java 读取word
- 《优 秀 团 员 申 报 材 料 》
- java异步socket调用收藏
- 自动更新组件分享
- 《普通话测试话题精选》
- spring bean
- Dev C++中操作文件夹的头文件及其用法