IBM Support

Getting "Oracle ORA-00018: maximum number of sessions exceeded"

Troubleshooting


Problem

Using an Oracle database you see database exceptions in SystemOut.log, which look similar to: [12/20/05 15:40:12:708 EST] 33404031 FreePool E J2CA0046E: Method createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource jdbc/DMDDS, throwing ResourceAllocationException. Original exception: com.ibm.ws.exception.WsException: DSRA8100E: Unable to get a PooledConnection from the DataSource. with SQL State : 60000 SQL Code : 604 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java(Compiled Code)) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) ... Caused by: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-00018: maximum number of sessions exceeded DSRA0010E: SQL State = 60000, Error Code = 604DSRA0010E: SQL State = 60000, Error Code = 604 ... 55 more ---- Begin backtrace for nested exception java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-00018: maximum number of sessions exceeded DSRA0010E: SQL State = 60000, Error Code = 604DSRA0010E: SQL State = 60000, Error Code = 604 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java(Compiled Code)) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java:496) at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:278) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:346)

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"}],"Version":"9.0;8.5.5;8.0;7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

01408;278;000

Document Information

Modified date:
03 March 2025

UID

swg21229693