2015-10-06 124 views
1

我的要求很簡單:我有一個應用服務器 - WAS 6.1連接到Microsoft SQL Server 2008 R2。SQL Server異常

我已經使用Linux中的安裝腳本爲SQL服務器配置了數據源。

當我部署EAR並嘗試點擊應用程序url時,連接到SQL Server時出現以下錯誤。

com.ibm.websphere.ce.cm.StaleConnectionException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: SQL Server did not return a response. The connection has been closed..CWWRA0010E: SQL State = 08S01, Error Code = 0 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) 

該設置可用於其他服務器配置。

回答

0

經過漫長的等待,問題得到解決。與EAR無關。在SQL服務器設置中啓用了SSL加密。只需禁用設置,讓我建立從應用程序到SQL服務器的連接。