[jcifs] JCIFS 1.3.8 java.net.SocketException: Connection timed out:could be due to invalid address
Michael B Allen
ioplex at gmail.com
Thu Apr 1 08:40:21 MDT 2010
Hi Ivan,
I have a feeling this has little or nothing to do with JCIFS if it
works with a local user. You're just getting an uncommon response
because the server is AIX.
Also, your capture was not valid.
Mike
On Fri, Mar 26, 2010 at 2:57 AM, Ivan Petrov <lordjohnp at gmail.com> wrote:
> 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
>
--
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/
More information about the jCIFS
mailing list