2016-04-29 48 views
0

擊中時應用程序URL我收到錯誤:DSRA0304E:發生XAException。無法加載DLL sqljdbc.dll,或dll的一個它引用

錯誤代碼:

DSRA0304E: XAException occurred. XAException contents and details are: The cause is    : null. 

DSRA0302E: XAException occurred. Error code is: XAER_RMERR (-3). Exception is: com.microsoft.sqlserver.jdbc.SQLServerException: Could not load the DLL sqljdbc.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.) 

以前我是能夠訪問應用程序,但在重新啓動服務後,我無法訪問。 我使用IBM是8.5.5.8 的Linux RHEL 6.7

+0

你能解釋一下「恢復服務」是什麼意思?你重新啓動了應用程序服務器? SQLServer的?其他Unix服務? –

+0

AppServer,dmgr和nodeagent – prank

回答

2

爲了使用XA支持的Microsoft SQL Server的JDBC驅動程序,您需要先通過涉及添加一個DLL文件(sqljdbc一些安裝步驟。 dll)從Microsoft SQL Server JDBC驅動程序安裝到Microsoft SQL Server安裝,創建存儲過程(xa_install.sql)以及通過SqlJDBCXAUser角色授予訪問權限。

下面是從微軟的說明的鏈接,

https://msdn.microsoft.com/en-us/library/aa342335%28v=sql.110%29.aspx

而且也是xa_install.sql文件中的註釋中一些有用的信息。

0

其實sqljdbc.dll文件丟失了。所以我將該文件放在安裝SqlServer的bin目錄中。