Stuck Thread at java.util.WeakHashMap.transfer and javax.crypto.JceSecurity.getCodeBase During JDBC connection

(Doc ID 2117469.1)

Last updated on MARCH 17, 2016

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


On : version, Thin JDBC driver

Stuck thread prevents connection to be established when database is up and running and accepting other connections.

Stuck Thread :

"Thread-29" prio=10 tid=0x00007f648d3c2d70 nid=0x131b1 runnable [0x00007f62903c0000]
  java.lang.Thread.State: RUNNABLE
  at java.util.WeakHashMap.transfer(
  at java.util.WeakHashMap.resize(
  at java.util.WeakHashMap.put(
  at javax.crypto.JceSecurity.getCodeBase(
  at javax.crypto.JceSecurityManager.getCryptoPermission(
  at javax.crypto.Cipher.getConfiguredPermission(
  at javax.crypto.Cipher.initCryptoPermission(
  at javax.crypto.Cipher.chooseProvider(
  - locked (a java.lang.Object)
  at javax.crypto.Cipher.init(
  at javax.crypto.Cipher.init(
  at Source)
  at Source)
  at Source)
  at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(
  at oracle.jdbc.driver.T4CConnection.logon(
  at oracle.jdbc.driver.PhysicalConnection.(
  at oracle.jdbc.driver.T4CConnection.(
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(
  at com.objectwave.persist.OracleRedundentConnection.connect(


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms