I am trying to make JDBC adapter connection to connect with Oracle DB hosted in AWS RDS instance.
Have provided with below Details…
Transaction Type–>LOCAL_TRANSACTION
DataSource Class–>oracle.jdbc.pool.OracleDataSource
Server Name → RDS url
User–> name
Password–>password
Database Name–>database name
Port Number–>1521
Network Protocol–>tcp
Other Properties–>sid=ORCL
But when I am trying to enable the connection getting error as
Error encountered
[ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource connection:masterdbLOT.
[ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager.
[ADA.1.204] Cannot connect to the database with DataSource class “oracle.jdbc.pool.OracleDataSource”.
Invalid Oracle URL specified: OracleDataSource.makeURL
AWS RDS is working fine as I am able to connect with SQLDeveloper tool .
Can anyone please suggest me about possible reason.
But I have tried passing driverType as well earlier but getting error as
[ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource connection:masterdbLOT.
[ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager.
[ADA.1.204] Cannot connect to the database with DataSource class “oracle.jdbc.pool.OracleDataSource”.
Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
Is the dataSource class will be “oracle.jdbc.pool.OracleDataSource” or something else when connecting with aws RDS Oracle instance…
I have tried with service name (ServiceName=ORCL_A;driverType=oci ) but still getting error out…
[ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource connection:masterdbLOT.
[ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager.
[ADA.1.204] Cannot connect to the database with DataSource class “oracle.jdbc.pool.OracleDataSource”.
Invalid Oracle URL specified: OracleDataSource.makeURL
Hi Mahesh,
I am using Oracle as RDS with (Engine version–>12.1.0.2.v14). Also I have tried with sql developer with SID as well service name and its working fine.Jar file as ojdbc7.jar is placed on WmJDBCAdapter\code\jars .