Class.forName hang initializing oracle.jdbc.OracleDriver

From: Brett Hunsaker (brett*dash*hunsaker*at*automation*dash*software*dot*com)
Date: 02/08/05


Date: Mon, 7 Feb 2005 17:48:04 -0800

I have a multi-threaded application that uses both MSDE and Oracle. If I
begin processing MSDE transactions and then later call Class.forname(
"oracle.jdbc.OracleDriver" ), this call will hang. Why?

According to the docs, Class.forName initializes the class, so I'm guessing
that the jdbc registration process has a lock of some sort. Do I need to
initialize all drivers before using any of them?

Oracle 9i thin client (ojdbc14.jar)
JVM 1.4.2_03
Windows 2000 SP4

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----