I am getting this error:
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
java.sql.SQLException: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154:at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
The connection is disconnected in one hour's time. It connects the first time, but after one hour it automatically disconnects. What is the problem that causes this error?
I'm going to guess that you may be connecting your application to the database through a firewall and the firewall is timing out your network connection. You should try to run SQL*Plus on the Windows application server host and see if it is able to remain connected for more than one hour. That test will eliminate the ODBC and ODBC-to-JDBC bridge from the list of possible suspects. If your SQL*Plus session is terminated (and you get a ORA-12154 or similar), then it is likely a network configuration problem on one of the hosts or a firewall in between them.
Dig Deeper on Oracle database installation, upgrades and patches
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.