Unable To Connect Oracle RAC Database From Java CAPS Repository Based Components

(Doc ID 1307338.1)

Last updated on MAY 01, 2018

Applies to:

Oracle Java CAPS - Version 5.1.1 and later
Information in this document applies to any platform.
***Checked for relevance on 17-Apr-2013***
***Checked for relevance on 24-September-2014***


Unable to connect to Oracle RAC database from Java CAPS Repository based components, using the Oracle adapter. The following is the exception thrown in the server.log file during runtime:

Caused by: com.stc.connector.appconn.common.ApplicationConnectionException: ORACLEADPTR-0051: Unable to get connection from OracleApplicationConnectionFactory
 at com.stc.connector.oracleadapter.appconn.OracleApplicationConnectionFactory.getConnection(OracleApplicationConnectionFactory.java:70)
 at com.stc.oracle.runtime.ejb.OracleEWayRuntimeHandler.initializeService(OracleEWayRuntimeHandler.java:256)
 ... 34 more
Caused by: java.sql.SQLException: ORACLEADPTR-0042: Failed opening a database session: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL


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