[jcifs] vmWare problem

Michael B Allen mba2000 at ioplex.com
Thu Apr 28 22:48:39 GMT 2005


Try the diagnostics in the FAQ. Maybe you need to set laddr, baddr, etc.

Mike

Volodymyr Bychkoviak said:
> I used jcifs to crawl my network  (for music files :) ).
>
> code I used looks like:
> NtlmPasswordAuthentication authentication = new
> NtlmPasswordAuthentication(domain,login,password);
>
> SmbFile smbFile = new SmbFile("smb://" + serverName + "/",
> authentication);
>
> If target machine has vmWare Installed then trying to call
> smbFile.listFiles(); throws
>
> following exception
>
> jcifs.smb.SmbException: Timeout trying to open socket
> java.net.ConnectException: Connection timed out: connect
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.PlainSocketImpl.doConnect(Unknown Source)
> 	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
> 	at java.net.PlainSocketImpl.connect(Unknown Source)
> 	at java.net.Socket.connect(Unknown Source)
> 	at java.net.Socket.connect(Unknown Source)
> 	at java.net.Socket.<init>(Unknown Source)
> 	at java.net.Socket.<init>(Unknown Source)
> 	at jcifs.netbios.NbtSocket.<init>(NbtSocket.java:59)
> 	at jcifs.smb.SmbTransport.run(SmbTransport.java:342)
> 	at java.lang.Thread.run(Unknown Source)
>
> any ideas?
>
> regards,
> Volodymyr Bychkoviak
>
>



More information about the jcifs mailing list