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.
Build: NetBeans IDE Dev (Build 200710150000) VM: Java HotSpot(TM) Client VM, 1.5.0_12-b04 OS: Linux, 2.6.18.2-34-default, i386 User Comments:
Created attachment 51162 [details] stacktrace
Build: NetBeans IDE Dev (Build 200710170000) VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06 OS: Windows XP, 5.1, x86 User Comments: Deploy on GlassFish
Created attachment 51177 [details] stacktrace
Build: NetBeans IDE Dev (Build 200710170000) VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06 OS: Windows XP, 5.1, x86 User Comments: Does not register an DataSource
Created attachment 51178 [details] stacktrace
Only happening with MySql driver. Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710172300) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Steps to reproduce: 1. Using the bundled MySql driver add a connection : jdbc:mysql://jbrave-pc1.sfbay.sun.com:3306/travel (travel/travel) 2. Create new VW application. 3. Add a drop down list component to the page. 4. Drag n drop a Database table from Mysql connection onto the component. 5. Run application. Deployment process will start and will be stuck at JDBC driver deployment. As a result VW application that use MySql cannot be deployed. Workaround is to copy dirver jar manually to server/lib.
Created attachment 51233 [details] Server Log
Fixed http://deadlock.netbeans.org/fisheye/changelog/netbeans/serverplugins/sun?cs=MAIN:nityad:20071018212807
Has the fix been integrated in the beta1 branch as well ?
No. Fix is only in trunk. Not sure that it qualifies for beta2 branch as there is a pretty simple workaround and it involves drivers which are in NB as libraries.
Build: NetBeans IDE 6.0 Beta 2 (Build 200710212201) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Windows XP, 5.1, x86 User Comments: I worked through the following tutorial without problem: http://www.netbeans.org/kb/60/web/databoundcomponents.html I then tried exactly the same but using mySQL as the database. When I get to "Connecting the Component to a Database" step 8, testing the drop down list I press "Run" and the progress bar says "Deploying <project-name>" and just sits there for ever. The output window says "Checking for missing JDBC drivers ...". I have the mySQL database connected and viewable in the "Services -> Databases" tab. Regards, David
Created attachment 51582 [details] stacktrace
To clarify the workaround I had to copy the file: <nb-install-dir>\ide8\modules\ext\mysql-connector-java-<version-number>-bin.jar to the directory: <appserver-install-dir>\domains\<domain-name>\lib\ Where <nb-install-dir>, <appserver-install-dir>, <version-number> and <domain-name> should be replaced with the appropriate values for your system. Then everything worked fine for me. Regards, David
smithd1, I think the issue is resolved in trunk - no plans to integrate it into beta2, afaik.
*** Issue 120208 has been marked as a duplicate of this issue. ***
THIS ISSUE HAS 5 MORE DUPLICATES
More Info : IZ 119423
Unfortunately, this issue didn't get fixed until just after beta2. You can try a nightly 6.0 build