db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjula Kutty (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-526) Network Client URL cannot take the IP Address as host name for IPV6 machines
Date Wed, 28 Jun 2006 23:23:30 GMT
    [ http://issues.apache.org/jira/browse/DERBY-526?page=comments#action_12418338 ] 

Manjula Kutty commented on DERBY-526:

Please add this to the Release Notes:

NumberFormatException while trying to get connection to a Ipv6 server using the ip address
as the host name in the database URL

The symptom is you will get a java error like this:
ij> CONNECT 'jdbc:derby://2002:92a:8f7a:13:9:42:73:115:1527/sample;create=true'
USER 'mkutty' PASSWORD 'admin';
JAVA ERROR: java.lang.NumberFormatException: For input string: "92a:8f7a:13:9:42

Derby URL format cannot support an IP address with ":"

There is no Derby fix available for this issue

Use host name in the URL  instead of the IP address or connect with a datasource instead of

> Network Client URL cannot take the IP Address as host name for IPV6 machines
> ----------------------------------------------------------------------------
>          Key: DERBY-526
>          URL: http://issues.apache.org/jira/browse/DERBY-526
>      Project: Derby
>         Type: Improvement

>   Components: Network Client
>     Versions:
>     Reporter: Kathey Marsden

> Network Client  can not take the ip adrress as host name for 
> IPV6 machines, sicne the ip address for those machines is of the format
> xx:xx:xx:xx:xx:xx:xx:xx:. 
> The colons create a problem with our  hostname:1527 format. 
> The workaround is to use the  host name for the server machine instead of the ip address

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message