Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDBC connection hangs periodically

409875Jan 19 2004 — edited Sep 20 2004
Every now and then, SQL queries and inserts from my servlet (on Apache) to an Oracle 9i database hang. Other connected tools, such as SQL*PLus, continue to run queries just fine. Re-starting Apache makes no difference. The only way to correct the problem seems to be to shutdown the database (with abort) and restart everything. Note that a regular shutdown from SQL*Plus also hangs.

My Apache web server (a development system) is shutdown & restarted periodically and my servlet does not explicitly close its JDBC connections at this time. I'm not sure if this is the cause of the problem or not.

Where should I be looking to diagnose these hangs?

Thanks very much.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 18 2004
Added on Jan 19 2004
11 comments
2,721 views