MSさんが出しているSQLServer2005用のJDBCドライバ、バージョン1.1、1.2ではSSLでの通信をサポートしたらしい。おかげで、
17:23:57,690 WARN BasicResourcePool:1841 - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1cdfd19 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (1). Last acquisition attempt exception:
com.microsoft.sqlserver.jdbc.SQLServerException: ドライバが SSL (Secure Sockets Layer) 暗号化による SQL Server への安全な接続を確立できませんでした。エラー: RSA premaster secret error。
なメッセージがでちゃって、シオシオのパーだよ。
色々調べたけど、コネクション文字列に色々指定すれば解決も出来るらしいが、なんだかうまく行かない。
で、どうするか悩んだあげく、バージョン1.0にダウングレードで対応した。
セキュリティ的には問題あるのかも知れないけど、データセンターの内部でしか通信しないしね。