[jcifs] JCIFS 1.3.8 java.net.SocketException: Connection timed out:could be due to invalid address

Ivan Petrov lordjohnp at gmail.com
Fri Mar 26 00:57:13 MDT 2010


Hi,

I’m using jCIFS 1.3.8 to access windows share from UNIX/AIX server.
LDAP user is used to access windows share.
I’m constantly receiving following error:

java.net.SocketException: Connection timed out:could be due to invalid address#
	at java.net.PlainSocketImpl.socketConnect(Native Method)#
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:355)#
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:220)#
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:207)#
	at java.net.Socket.connect(Socket.java:479)#
	at java.net.Socket.connect(Socket.java:429)#
	at java.net.Socket.<init>(Socket.java:336)#
	at java.net.Socket.<init>(Socket.java:152)#
	at jcifs.smb.SmbTransport.negotiate(SmbTransport.java:249)#
	at jcifs.smb.SmbTransport.doConnect(SmbTransport.java:306)#
	at jcifs.util.transport.Transport.run(Transport.java:240)#
	at java.lang.Thread.run(Thread.java:770)#

but finally I’m still receiving folder content. The problem is that
just a simple browsing takes  5-7 minutes just to enter a folder with
1 file in it.
If I’m using local windows user for this access everything works ok.
I’ve made a thread dumps and they show that 17 to 19 jcifs.transport2
threads are locked by one jcifs.transport2 thread and beside that
there is another jcifs.trasport1 thread that is working ok.
I’ve also made a network dumps and they are attached to the mail.

With jCIFS 1.2.9 the same scenario worked ok.

Best regards,
Ivan Petrov Petrov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DO1 tcpdump
Type: application/octet-stream
Size: 109750 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20100326/d95ea9c8/attachment-0001.obj>


More information about the jCIFS mailing list