2003下,java是没问题的,可能是SQLServer或JBoss,没在2003下用过这两个,但是java,我在2003下运行没问题。

解决方案 »

  1.   

    驱动程序都是针对数据库的啊 for sqlserver2000的   有针对操作系统的什么驱动吗?
      

  2.   

    这些在2003的系统下都没有问题。你的 sqlserver2000无论在那个系统下都记得打补丁。
    =================================================================================
     for sqlserver2000的 有针对操作系统的什么驱动吗?
    ============================================================
    没有,都是通用的。
      

  3.   

    //在网上找到一段信息  是针对这个问题的 谁能帮我翻译以下
    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.
      

  4.   

    //问题解决了 把解决方法公布一下 估计大家以后用2003操作系统的时候也可能遇到这个问题1. 单击“开始”,指向“所有程序”,指向“管理工具”,然后单击“组件服务”。 
    2. 在组件服务向导中,展开“组件服务”,然后双击“计算机”。 
    3. 右键单击“我的电脑”,然后单击“属性”。 
    4. 单击“MSDTC”选项卡,然后单击“安全性配置”。 
    5. 在“安全配置”对话框中,单击以选中“网络 DTC 访问”复选框。 
    6. 在“网络 DTC 访问”下,单击“网络事务”。 
    7. 确保“DTC 登录帐户”设置为“NT Authority\NetworkService”。 
    8. 单击“确定”。 
    9. 在消息框中,单击“是”。 
    10. 在“DTC 控制台消息”对话框中,单击“确定”。 
    11. 在“系统属性”对话框中,单击“确定”。 
    12. 重新启动计算机,让这些更改生效。