2 Replies Latest reply on Aug 23, 2010 9:06 PM by heidi m

    NoSuchAlgorithmException using MS SQL JDBC driver

    heidi m Newbie

      I'm using version 4.2.0-fuse-002-00 of the FUSE ESB, version 3.0.1301.101 of the MS SQL JDBC 4 jdbc driver, version 1.4 of commons dbcp and version 1.5.4 of commons pool.

      I have created an OSGi bundle, which executes code that tries to get a connection with the server. An exception is thrown during the SSL exchange.

      When I execute the same code outside of the FUSE ESB, the connection is established successfully.


      The root of the exception is:

      Caused by: java.security.NoSuchAlgorithmException: SunTlsRsaPremasterSecretKeyGenerator not available

              at javax.crypto.KeyGenerator.(RSAClientKeyExchange.java:89)


      The code I'm using is:

      BasicDataSource ds = new BasicDataSource();





      Connection conn = ds.getConnection();


      Any suggestions on how to resolve this would be appreciated.