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

Summary: JDBC connection couldn't reconnect to db
Product: db Reporter: SeanJ <seanj>
Component: CodeAssignee: Radko Najman <rnajman>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

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 ***