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.
A security exceptions are thrown when you try to connect to a database. It is probably because of the system of registration of JDBC drivers. I can see it for DB2 and MSSQL with Weblogic driver. Tested in build 20040127-0723, JDK1.4.2_03, WindowsXP.
Created attachment 13108 [details] stack trace for DB2
I am lowering priority because Connection to DB2 works. It was my fault that it didn't work for me. I used a local connection profile which doesn't work over net. So, this issue is still valid for weblogic driver which is not supported.
Till it is fixed you can do the following: edit netbeans/bin/ide.policy file and add this code grant codeBase "file:/<directory containing your driver>/-" { permission java.security.AllPermission; };
Yes, it works for weblogic driver.
Fixed. Drivers are loaded by module own class loader.
Verified in build 200402011900.