[ 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: PROBLEM NumberFormatException while trying to get connection to a Ipv6 server using the ip address as the host name in the database URL SYMPTOM 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 :73:115:1527" CAUSE: Derby URL format cannot support an IP address with ":" SOLUTION: There is no Derby fix available for this issue WORKAROUND: Use host name in the URL instead of the IP address or connect with a datasource instead of URL > 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: 10.1.1.0 > 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira