title: websphere + SSLv3 SSLContext not available
body: <p>I have a java application that is using hibernate to do a JNDI lookup for the datasource in Websphere Application Server which then talks to a MSSQL database. </p>
  
  <p>The security team has recently patched the Websphere server 8.5.5.4 to disable SSLv3. </p>
  
  <p>As such I'm getting a com.ibm.websphere.ce.cm.StaleConnectionException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encyption. Error: "SSLv3 SSLContext not available". </p>
  
  <p>Before this, I could access the data without any issues. </p>
  
  <p>What can I do to overcome this issue? Do I need to configure the application to use TLS?</p>
  
  <p>I'm using Hibernate 4.3.7. </p>
  
  <p>The hibernate config looks like this. </p>
  
  <pre><code>&lt;hibernate-configuration&gt;
      &lt;session-factory&gt;
      &lt;property name="hibernate.connection.driver_class"&gt;net.sourceforge.jtds.jdbc.Driver&lt;/property&gt;
      &lt;property name="connection.datasource"&gt;jdbc/testing&lt;/property&gt;
      &lt;property name="hibernate.dialect"&gt;org.hibernate.dialect.SQLServerDialect&lt;/property&gt;
      &lt;mapping resource="myApplication.hbm.xml" /&gt;
      &lt;/session-factory&gt;
  &lt;/hibernate-configuration&gt;
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>