[
https://issues.apache.org/jira/browse/DIRSTUDIO-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682831#action_12682831
]
Stefan Seelmann commented on DIRSTUDIO-475:
-------------------------------------------
You need to use square brackets around the IPv6 address.
I was able to connect at least to localhost using [::1] and
[fe80::21e:37ff:fe22:f1af]. I tested with Sun 1.5.0, Sun 1.6.0 and OpenJDK
6b12-0ubuntu6.1.
Unfortunately in 1.3.0 the error handling is bad and you only get this
"InvocationTargetException" but not the real error, in 1.4.0 the error handling
is changed.
> Error java.lang.reflect.InvocationTargetException with IPv6 Addresses
> ---------------------------------------------------------------------
>
> Key: DIRSTUDIO-475
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-475
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-connection
> Affects Versions: 1.3.0
> Environment: Debian Lenny with OpenJDK
> java -version gives:
> java version "1.6.0_0"
> OpenJDK Runtime Environment (IcedTea6 1.5pre) (6b14-1.5~pre1-3)
> OpenJDK Server VM (build 14.0-b10, mixed mode)
> Apache Directory Studio 1.3.0
> Reporter: Mathias Kaufmann
>
> When creating a Connection to a LDAP-Server with an IPv6-Address gives a
> "java.lang.reflect.InvocationTargetException"-Error-Message when doing "Check
> Network Parameters". Using a DNS-FQDN which resolves to the same IPv6-Address
> anything is ok.
> When trying to connect to the server with an IPv6-Address entered in the
> Connection-Setup the first Address-Block is ignored and the connection fails
> to establish.
> Trying with the IPv6-Address in square brackets doesn't work either.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.