[ 
http://issues.apache.org/jira/browse/DERBY-283?page=comments#action_12418340 ] 

Manjula Kutty commented on DERBY-283:
-------------------------------------

Please add thi to the Release Notes:

PROBLEM 

UnknownHost Exception while trying to connect with NetworkClient on a Windows 
dual boot IPv4/IPv6 machine 
SYMPTOM 
The following exception will occur
ij> CONNECT 'jdbc:derby://hostname:1527/sample;create=true ' USER 'mkutty' 
PASSWORD 'admin';
ERROR (no SQLState): java.net.UnknownHostException : Error opening socket to ser
ver cranium-v6.rtp.raleigh.ibm.com on port 1527 with message : <hostname>

CAUSE:
There may be an underlying windows bug causing this issue

SOLUTION: 
There is no Derby fix available for this issue

WORKAROUND: 
Start the client and server running on the IPv6 machine with the following jvm 
properties. 
-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true


> On IPv6/Ipv4 dual stack windows machines, the network server needs the 
> following jvm properties to be prefixed while starting the server .
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-283
>          URL: http://issues.apache.org/jira/browse/DERBY-283
>      Project: Derby
>         Type: Bug

>   Components: Network Server
>     Versions: 10.0.2.1
>     Reporter: Manjula Kutty
>     Priority: Minor
>  Attachments: derby283.diff, tadminconfigipx.html
>
> On IPv6/Ipv4 dual stack windows machines, the network server needs the 
> following jvm properties to be prefixed while starting the server . 
> -Djava.net.preferIPv4Stack=false 
> -Djava.net.preferIPv6Addresses=true 
> This is a Windows OS problem and have to track to to see when MS is going to 
> fix and then make the appropriate changes in our docs

-- 
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

Reply via email to