"ORA-12520, TNS:listener could not find available handler for requested type of server" in JBoss EAP

Solution Verified - Updated -

Issue

The following error appears many times in the server.log and the database (with a 2000 connection limit) is running out of connections:

... IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException: Could not create connection
...
Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error:
ORA-12520, TNS:listener could not find available handler for requested type of server
        at oracle.net.ns.NSProtocol.connect(NSProtocol.java:395) [ojdbc6-11.2.0.3.jar:11.2.0.3.0]
        at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1102) [ojdbc6-11.2.0.3.jar:11.2.0.3.0]
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:320) [ojdbc6-11.2.0.3.jar:11.2.0.3.0]
        ...

Environment

  • JBoss Enterprise Application Platform (EAP)
  • Oracle

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.