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 81851

Summary: Unable to find driver for datasource on the server
Product: javaee Reporter: Petr Blaha <blaha>
Component: EJBAssignee: Libor Kotouc <lkotouc>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Blaha 2006-08-03 19:21:03 UTC
[build 200608010000]
I created a new datasource on the server for MySQL database. Then, I would like
to use this datasource for generation of entity classes in NetBeans. However,
when you choose this new datasource in new entity classes wizard I got 'Unable
to find driver'. 
I added the correct driver in Runtime tab -> databases -> Drivers and try again.
However, this doesn't help and connection to MySQL with the driver in NB had to
be created. After this, I was able to use datasource in wizard for generation of
entities.

User should be informed about required steps in the dialog when the connection
can't be established.
Comment 1 Libor Kotouc 2006-08-04 10:45:21 UTC
Petre, I see that this issue is really annoying you :)) see the duplicate...

btw, I am currently working on it with db module owner because new API is needed
here.

*** This issue has been marked as a duplicate of 75841 ***
Comment 2 Petr Blaha 2006-08-04 10:54:19 UTC
I'm sorry, I forgot for the previous issue. It interesting that only me and one
user encountered this bug. It seems, users don't use datasources from servers
that aren't already registered in NB.
Comment 3 aleoo 2007-01-03 01:55:37 UTC
I also experience this error. In my case this is the JayBird (FireBird) driver.
The interesting part is that this JDBC driver is included in the system 
CLASSPATH.

Is there a work around for this?