Home > database >  Oracle10g connection to 12505
Oracle10g connection to 12505

Time:09-23

# # # Error querying the database. Cause: org. Springframework. JDBC. CannotGetJdbcConnectionException: Could not get JDBC Connection; Nested exception is org.apache.com mons. DBCP. SQLNestedException: always create a PoolableConnectionFactory (Listener refused the connection with the following error:
ORA - 12505 TNS: listener does not currently know of SID given in the connect descriptor
The Connection descriptor 2 by The client was:
Localhost: 1521: former
)

Is to monitor configuration problem, ask you to play what teach

CodePudding user response:

You give the service name or instance name wrong

CodePudding user response:

1, check the TNSNAME configuration file
2, check to see if the monitor and data services has been start
3, TNSPING

CodePudding user response:

The host port sid check all three are correct

CodePudding user response:

Server-side LSNRCTL status output and client using the connection string

CodePudding user response:

Localhost is only the machine, your server and the client is not a computer is not,
  • Related