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 41937 - Database Explorer driver connect exception
Summary: Database Explorer driver connect exception
Status: RESOLVED DUPLICATE of bug 43073
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@db
URL:
Keywords:
: 46581 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-14 00:04 UTC by jaschenk
Modified: 2004-09-30 08:28 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 jaschenk 2004-04-14 00:04:20 UTC
Trying to perform a connect for a JDBC Driver 
that was added, in this case an Empress JDBC 
Type 2 driver.

I have removed the default JDBC-ODBC Driver that 
comes out of the box.

I receive the following in a Exception posted in 
a "Details" dialog:

Annotation: Exception occurred in Request 
Processor
java.lang.UnsatisfiedLinkError: Native Library 
C:\icos\Empress\v8.62-C.Latin1\bin\odbcjni.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 empress.jdbc.EmpPrivilegedAction.run
(EmpPrivilegedAction.java:8)
	at 
java.security.AccessController.doPrivileged
(Native Method)
	at 
empress.jdbc.EmpLoadLibrary.checkLoadlib
(EmpLoadLibrary.java:92)
	at 
empress.jdbc.EmpLoadLibrary.empLoadLibrary
(EmpLoadLibrary.java:29)
	at empress.jdbc.empressDriver.connect
(empressDriver.java:75)
	at 
org.netbeans.modules.db.explorer.DatabaseConnecti
on$1.run(DatabaseConnection.java:340)
	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 Jiri Skrivanek 2004-04-14 13:25:35 UTC
I am lowering the priority because it is not officially supported
driver. Anyway to be able to reproduce described behaviour we need to
know more details: link where to get the driver, step by step
description how you added the driver, to what DB you were connecting.
Thanks.
Comment 2 Radko Najman 2004-08-13 09:51:49 UTC
*** Issue 46581 has been marked as a duplicate of this issue. ***
Comment 3 Radko Najman 2004-09-30 08:28:35 UTC

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