environment issue; pls confirm

Alan Bateman Alan.Bateman at Sun.COM
Mon Jul 28 00:03:34 PDT 2008


Umashankar wrote:
> Hi Alan,
> I just observed the following IOexception while running my test on 
> Windows Vista 64 bit platform.
> java.util.concurrent.ExecutionException: java.io.IOException: You were 
> not connected because a duplicate name exists on the network. If 
> joining a domain, go to System in Control Panel to change the computer 
> name and try again.  If joining a workgroup, choose another workgroup 
> name.
>     at sun.nio.ch.PendingFuture.get(PendingFuture.java:137)
>     at NIOTestClient$ReadWriteClient.run(NIOTestClient.java:71)
>    
I haven't seen this error before. It hints of a duplicate name on the 
network in which case nbtstat might help you track it down. However, I 
assume this is a connect operation in which case you are connecting by 
IP address so there is no name resolution or NetBIOS lookup going on. 
Can you connect to the target machine by other means? (telnet <address> 
<port> at the DOS prompt for example). Can you do a quick test to see if 
you can connect via a SocketChannel?

-Alan.



More information about the nio-dev mailing list