[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: JDBC-LDAP Bridge
This looks like a client issue, and I'm not really sure
username/passwords are supported in the ldap uri specification.
Error: DatabaseMetaData is null even though we're supposed to be connected...
^^^^
I would check the traceback for this, I'll bet you didn't actually connect.
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
String index out of range: -1
^^^^
This looks like your connection class returned -1 (instead of a valid
ldap connection resource), which is confusing the rest of the client.
On 5/13/05, Rik Serpentier <Rik.Serpentier@vmw.be> wrote:
> Hi,
>
> I try to use the JDBC-LDAP-bridge from OctetString with DBVisualiser 4.2.2
> Every time I try to connect I get the following error :
>
> >Product: DbVisualizer Free 4.2.2
> >Build: #1038 (2005/02/19 15:49)
> >Java VM: Java HotSpot(TM) Client VM
> >Java Version: 1.4.2-38
> >Java Vendor: "Apple Computer, Inc."
> >OS Name: Mac OS X
> >OS Arch: ppc
> >OS Version: 10.3.9
> >
> >Error: DatabaseMetaData is null even though we're supposed to be
> >connected...
>
> The LDAP URL I provide is : jdbc:ldap://172.18.21.11:389/dc=vmw,dc=be
>
> If I provide this URL (jdbc:ldap://172.18.21.11:389/dc=vmw,dc=be??sub?) I
> get :
>
> >Product: DbVisualizer Free 4.2.2
> >Build: #1038 (2005/02/19 15:49)
> >Java VM: Java HotSpot(TM) Client VM
> >Java Version: 1.4.2-38
> >Java Vendor: "Apple Computer, Inc."
> >OS Name: Mac OS X
> >OS Arch: ppc
> >OS Version: 10.3.9
> >
> >java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> >String index out of range: -1
>
> Whether I provide these URL's with or without a userid, the result remains
> the same. What can be wrong ?
>
> Kind regards,
>
> Rik Serpentier
> adjunct-afdelingschef Informatica
> Gewestelijke Directie West-Vlaanderen
> Roggelaan 2
> 8500 Kortrijk
> +32 (0)56 23 17 43 (rechtstreeks nummer)
> Bezoek onze website : www.vmw.be
>
--
_Matt