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 # : beta2 ] [ JDK VERSION : 1.6.0_03 ] I have a visual web project that's needing to connect with a PostgreSQL database. When I try to deploy, the IDE hangs. The output log gets to "Checking for missing JDBC drivers ..." and the Glassfish log stops at "Application server startup complete.". If I remove the datasource definition in the IDE, the project name stays red showing there are issues, but the project is then able to be built and deployed successfully. Of course, at that point, the ide can not be used to do any development work since the db connection has been removed. This is a major hassle.
There was a bug in serverplugins that unfortunately was fixed after beta2. http://www.netbeans.org/issues/show_bug.cgi?id=119278 To restore the database connection, right-click on the project and choose Resolve Database Problem. The dialog will help restore the database connection. To workaround the "Checking for missing JDBC drivers..." you could try copying the Postgres driver to the Glassfish installation lib directory. To see the installation directory of Glassfish from the Services window, select the node representing Glassfish and view the Properties
This was fixed in trunk (119278) and is fixed in the daily builds. But did not make it into beta2. To workaround, you can disable JDBC Driver deployment at Services->GlassFish V2->Properties->Options->JDBC Driver(s) Deployment Enabled. You will be able to have the database connections in the IDE. But the plugin will not try to copy the driver jars. You will manually need to place it in the server's classpath. *** This issue has been marked as a duplicate of 119278 ***
thank you for all the help in making the connection with the other issue that's already been resolved, and, how to work around the issue in the beta2 release. keep up the good work people!
The workaround that nityad suggests in this issue did not work for me (NB6b2)
deployment still hangs and the message still appears "Checking for missing JDBC drivers ..." ? Maybe restarting NetBeans
Restarting NB6b2 did not help matters. I tried reporting the exception that netbeans caught, but the website recognized it as belonging to this closed issue and ignored it. :-/
Confirmed that suggested workaround disabling "JDBC Driver(s)Deployment Enabled" is still causing the driver jar copy to be aatempted. Filed issue http://www.netbeans.org/issues/show_bug.cgi?id=120731