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.
My private latest build: I can connect to the sample db from runtime and view the data of the customer table, so the driver is registered (I can see the 2 for derby). Then, using the Entity from DB wizard, when I select the jdbc/sample in the datasource, I get an error dialog with "Unable to find the driver." message. So I am stuck... Nothing logged on the console.
sync up with Nitya on this. I had 2 datasources registered on the server. I created a new empty db for jbosssword via the IDE, and it was also registered. I've seen this error with PetStore registered as well at JBossWorld both machine. When I resinstall everything, I do not see it, sit it might be linked to multiple resources on the server.
*** Issue 78178 has been marked as a duplicate of this issue. ***
I debugged this once and JDBC driver class returned by the data source was not the driver class, but the data source class. So it could be a problem in the appserver plugin where mapping between data source and driver classes is not done correctly in some cases. Reassigning to Nitya for evaluation.
Another user report, this time with the Oracle driver: http://www.netbeans.org/servlets/ReadMsg?list=nbj2ee&msgNo=3201
The plugin was using DatabaseConenction to obtain deriver information. In some cases, when the connection is mising or disconnected, this is null. Instead now there is a mapping in the plugin to handle conversions from datasourceclassname to driver name.
Driver information (the return value of DatabaseConnection.getDriverClass()) should never be null and should not depend on the connection state. If you have steps leading to a null value from this method please file an issue against db/code.