Re: Issue : jcifs.smb.SmbException: Transport1 timedout waiting for response to SmbComWriteAndX
Michael B Allen <[email protected]> Wed, 10 Dec 2014 01:24:48 -0500
| Newsgroups | gmane.network.samba.java |
|---|---|
| Message-ID | <CAGMFw4jV7ro6Kq=mzO5D3aLs1PjH2Nkx7UyVz5s12d07aFD-cQ@mail.gmail.com> |
On Mon, Dec 1, 2014 at 7:43 AM, Rina Patel <[email protected]> wrote: > Hi Mike , > I am getting "transport timeout" exception while "writing" files on remote > repository using concurrent thread.My application creates one thread per > file of folder.So file writing process running concurrently for all files. Hi Rina, My guess would be that you're just overwhelming the server trying to write many files concurrently. If you're trying to write some kind of torture test, I don't think bombarding the server with dozens or possible hundreds of concurrent file / dir writes is realistic. No real application would actually do that. I would not be surprised if Windows had some logic to actually block a client trying to do such things. Otherwise, there's nothing obviously wrong with your code that I can see. Mike