//在网上找到一段信息 是针对这个问题的 谁能帮我翻译以下
3. Resolve the java.sql.SQLException: [DataDirect][SQLServer JDBC Driver][SQLServer]xa_open (0) returns -3
When you upgrade to Windows Server 2003, all XA transactions are turned off to protect MS DTC against denial-of-service attacks.
To turn on support for XA transactions:
3.1. Start Component Services.
3.2. Expand the tree view to locate the computer that will have support for XA transactions (My Computer).
3.3. Right-click the computer and press Properties.
3.4. Select the MSDTC tab.
3.5. Select Security Configuration.
3.6. Under Security Settings, check the box for XA transactions to turn on support.
3.7. Press OK and OK.
You must create a registry Value Name for each XA Dll that you intend to use, and you must check that any 3rd-party installer created the necessary Value Name(s).
To create a Value Name:
3.7.1. Use the Registry Editor to navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\XADLL
3.7.2. For each XA DLL, add a Value Name which is the <DllName.Dll>, as a String (REG_SZ) data type, and set the data value to the fully qualified path to the file, as in <Drive:>\Folder\DllName.Dll.The <DllName.Dll> should be <sqljdbc.dll> in our case.
NOTE: If you are using MS DTC on a cluster, you must create these Value Names on each cluster node.
3. Resolve the java.sql.SQLException: [DataDirect][SQLServer JDBC Driver][SQLServer]xa_open (0) returns -3
When you upgrade to Windows Server 2003, all XA transactions are turned off to protect MS DTC against denial-of-service attacks.
To turn on support for XA transactions:
3.1. Start Component Services.
3.2. Expand the tree view to locate the computer that will have support for XA transactions (My Computer).
3.3. Right-click the computer and press Properties.
3.4. Select the MSDTC tab.
3.5. Select Security Configuration.
3.6. Under Security Settings, check the box for XA transactions to turn on support.
3.7. Press OK and OK.
You must create a registry Value Name for each XA Dll that you intend to use, and you must check that any 3rd-party installer created the necessary Value Name(s).
To create a Value Name:
3.7.1. Use the Registry Editor to navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\XADLL
3.7.2. For each XA DLL, add a Value Name which is the <DllName.Dll>, as a String (REG_SZ) data type, and set the data value to the fully qualified path to the file, as in <Drive:>\Folder\DllName.Dll.The <DllName.Dll> should be <sqljdbc.dll> in our case.
NOTE: If you are using MS DTC on a cluster, you must create these Value Names on each cluster node.
解决方案 »
- ibatis连接数据库找不到数据库驱动程序
- spring mvc session值丢失
- 文本编辑器上传功能如何开启?fckeditor或ckeditor
- jQuery UI里的dailog
- org.apache.commons.dbcp.BasicDataSource是什么?
- jdbcTemplate问题
- Tomcat 和Websphere ,webLogic有什么区别和联系
- j2ee是否包括j2se
- 请帮帮我!一个简单的问题!
- 向ejb高手求教--关于jdbc Api在ejb中连接sql server 7.0的问题
- 哪位朋友看过“利用MyEclipse开发Struts+Hibernate应用”,出现错误:com.xiebing.hibernate.SessionFactory.currentSession(SessionFact
- 用org.apache.struts.actions.ForwardAction转发的表单在页面上显示乱码怎么办?
2. 在组件服务向导中,展开“组件服务”,然后双击“计算机”。
3. 右键单击“我的电脑”,然后单击“属性”。
4. 单击“MSDTC”选项卡,然后单击“安全性配置”。
5. 在“安全配置”对话框中,单击以选中“网络 DTC 访问”复选框。
6. 在“网络 DTC 访问”下,单击“网络事务”。
7. 确保“DTC 登录帐户”设置为“NT Authority\NetworkService”。
8. 单击“确定”。
9. 在消息框中,单击“是”。
10. 在“DTC 控制台消息”对话框中,单击“确定”。
11. 在“系统属性”对话框中,单击“确定”。
12. 重新启动计算机,让这些更改生效。