"java.sql.SQLRecoverableException: IO Error: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)" raised by Oracle Driver in JBoss Web Server 3.1 - Tomcat 7/8

Solution Unverified - Updated -

Issue

After upgrading to container images "webserver31-tomcat7-openshift :1.2-6" and "webserver31-tomcat8-openshift :1.2-6" , java applications could no longer connect to an oracle database with error:

...
java.sql.SQLRecoverableException: IO Error: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:752)
        at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:666)
        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:566)
        at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:317)
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:241)
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:184)
...

Environment

  • Openshift 3.x
  • JBoss Web Server 3.1 - Tomcat 7
  • JBoss Web Server 3.1 - Tomcat 8
  • java-1.8.0-openjdk-1.8.0.171-7.b10.el7.x86_64
  • Oracle JDBC driver

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.