Lotus Domino 9.0.1FP3 と MS JDBC ドライバーを使用した MSSQL データベース間の接続で問題が発生しています。この問題については、この質問で詳しく説明しています。9.0.1 ではすべて問題ありませんでしたが、FP3 の適用によりリンクが切断されました。
The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SSLv3 SSLContext not available". SSLv3 SSLContext not available
私はJDBCドライバーのアップグレードを試みましたが、彼のコメントでTomStaにあるように思われるような違いはありませんでした
encrypt=true & trustServerCertificate=true を設定してみましたが、どちらも違いはないようです。
この問題を解決するために必要な Domino / SQL / Windows サーバーの変更はありますか?
私のコードとエラーの場所を以下に示します。
public static ResultSet executeQuery(String connString, String userName, String pwd, String query) {
//example connString: "jdbc:sqlserver://10.203.32.16;DatabaseName=DBTest";
ResultSet rs = null;
Statement st = null;
Connection conn = null;
try {
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance();
conn = DriverManager.getConnection(connString, userName, pwd); //Error occurs here
st = conn.createStatement();
rs = st.executeQuery(query);
} catch (Exception e) {
if ( query != null ) {
System.out.println("Failed SQL query: " + query);
}
try {
if (rs != null) { rs.close(); }
} catch (SQLException sqlEx) { rs = null; }
try {
if (st != null) { st.close(); }
} catch (SQLException sqlEx) { st = null; }
try {
if (conn != null) { conn.close(); }
} catch (SQLException sqlEx) { conn = null; }
e.printStackTrace();
return null;
}
return rs;
}