This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 52568 - JDBC connection couldn't reconnect to db
Summary: JDBC connection couldn't reconnect to db
Status: CLOSED DUPLICATE of bug 43073
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-16 17:28 UTC by SeanJ
Modified: 2005-07-12 12:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SeanJ 2004-12-16 17:28:07 UTC
When the jdbc driver uses native libraries, 
There is an exception thrown when trying to 
reconnect to a database. The exception stack 
trace is as the following:

*********** Exception occurred ************ at 
10:31 AM on Dec 16, 2004
Annotation: Exception occurred in Request 
Processor
java.lang.UnsatisfiedLinkError: Native Library 
D:\oracle\ora9201\bin\ocijdbc9.dll already 
loaded in another classloader
	at java.lang.ClassLoader.loadLibrary0
(ClassLoader.java:1525)
	at java.lang.ClassLoader.loadLibrary
(ClassLoader.java:1485)
	at java.lang.Runtime.loadLibrary0
(Runtime.java:788)
	at java.lang.System.loadLibrary
(System.java:834)
	at oracle.jdbc.oci8.OCIDBAccess.logon
(OCIDBAccess.java:262)
	at 
oracle.jdbc.driver.OracleConnection.<init>
(OracleConnection.java:346)
	at 
oracle.jdbc.driver.OracleDriver.getConnectionInst
ance(OracleDriver.java:468)
	at 
oracle.jdbc.driver.OracleDriver.connect
(OracleDriver.java:314)
	at 
org.netbeans.modules.db.explorer.DatabaseConnecti
on$1.run(DatabaseConnection.java:352)
	at org.openide.util.Task.run
(Task.java:136)
	at 
org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:330)
[catch] at 
org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:686)
Comment 1 Radko Najman 2005-01-04 17:06:54 UTC

*** This issue has been marked as a duplicate of 43073 ***