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 103794 - javadb: unable to connect to db
Summary: javadb: unable to connect to db
Status: RESOLVED INVALID
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 6.x
Hardware: PC Windows XP x64
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-11 16:32 UTC by mtoporek
Modified: 2007-05-15 09:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mtoporek 2007-05-11 16:32:30 UTC
Whenever I try to connect to a database I got an error that it is unable to 
connect to jdbc:derby://localhost:1527 using org.apache.derby.jdbc. 
ClientDriver and it is unable find a suitable drive. The java DB is started ok.
Comment 1 Andrei Badea 2007-05-14 11:42:10 UTC
Are the Java DB drivers registered in Runtime tab under Databases - Drivers? If
so, right clik on the Java DB (Network) driver, choose properties and check that
the jar file listed under Driver File(s) exists. Also, please reproduce the
issue with a clean userdir and attach the message log to this issue. Thanks.
Comment 2 Andrei Badea 2007-05-15 09:09:45 UTC
From reporter by private e-mail:

-----%<-----
I think the problem is that each derby driver in the drivers node
appears twice, and is causing a conflict. I have deleted the ones with
their icons crossed with a red mark and worked ok. The problem is why
the drivers appears twice?
-----%<-----

Reporter filed issue 103935 for the drivers being registered twice, so this one
can be closed.