Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19672 > unrolled thread
| Started by | ruthabraham7@gmail.com |
|---|---|
| First post | 2012-11-08 19:44 -0800 |
| Last post | 2012-11-09 18:35 +0000 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.lang.java.programmer
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: ServerSocket Timeout Not Working ruthabraham7@gmail.com - 2012-11-08 19:44 -0800
Re: ServerSocket Timeout Not Working ruthabraham7@gmail.com - 2012-11-08 19:52 -0800
Re: ServerSocket Timeout Not Working Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-11-09 18:22 +0000
Re: ServerSocket Timeout Not Working Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-11-09 18:35 +0000
| From | ruthabraham7@gmail.com |
|---|---|
| Date | 2012-11-08 19:44 -0800 |
| Subject | Re: ServerSocket Timeout Not Working |
| Message-ID | <807bfa80-0cc4-4862-b312-7904c4d6a133@googlegroups.com> |
Hi Everyone... I am facing ..well...not exactly similar ..but a related problem.... I am setting my ServerSocket timeout to 5 minutes... after the accept call... and I can see from my snoop output that we send an RETR for a certain file at say 11:10:00 and get the '150' response from the server the very same minute/second... The 226 response comes only around 11:10:50 but before this, I get a socket timeout exception....Any chance that this timeout I am setting isnt getting set? If so, what can I do to fix this?
[toc] | [next] | [standalone]
| From | ruthabraham7@gmail.com |
|---|---|
| Date | 2012-11-08 19:52 -0800 |
| Message-ID | <72ca8c0e-cc60-47c5-b166-fa8f6d56563b@googlegroups.com> |
| In reply to | #19672 |
On Friday, 9 November 2012 09:14:54 UTC+5:30, ruthab...@gmail.com wrote: > Hi Everyone... > > I am facing ..well...not exactly similar ..but a related problem.... > > I am setting my ServerSocket timeout to 5 minutes... > > after the accept call... > > and I can see from my snoop output that we send an RETR for a certain file at say 11:10:00 and get the '150' response from the server the very same minute/second... > > The 226 response comes only around 11:10:50 but before this, I get a socket timeout exception....Any chance that this timeout I am setting isnt getting set? > > If so, what can I do to fix this? Forgot to mention, this is on a Solaris 5.10 machine...
[toc] | [prev] | [next] | [standalone]
| From | Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> |
|---|---|
| Date | 2012-11-09 18:22 +0000 |
| Message-ID | <slrnk9qief.u9l.avl@gamma.logic.tuwien.ac.at> |
| In reply to | #19673 |
ruthabraham7@gmail.com <ruthabraham7@gmail.com> wrote: > On Friday, 9 November 2012 09:14:54 UTC+5:30, ruthab...@gmail.com wrote: >> Hi Everyone... >> I am facing ..well...not exactly similar ..but a related problem.... >> I am setting my ServerSocket timeout to 5 minutes... >> after the accept call... >> and I can see from my snoop output that we send an RETR for a >> certain file at say 11:10:00 and get the '150' response from >> the server the very same minute/second... >> The 226 response comes only around 11:10:50 but before this, I >> get a socket timeout exception....Any chance that this timeout >> I am setting isnt getting set? >> If so, what can I do to fix this? > Forgot to mention, this is on a Solaris 5.10 machine... I guess a so called "sscce"(*) would boost the chances of someone being able to help. *: http://sscce.org/
[toc] | [prev] | [next] | [standalone]
| From | Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> |
|---|---|
| Date | 2012-11-09 18:35 +0000 |
| Message-ID | <slrnk9qj87.u9l.avl@gamma.logic.tuwien.ac.at> |
| In reply to | #19676 |
Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> wrote: > ruthabraham7@gmail.com <ruthabraham7@gmail.com> wrote: >> On Friday, 9 November 2012 09:14:54 UTC+5:30, ruthab...@gmail.com wrote: >>> Hi Everyone... >>> I am facing ..well...not exactly similar ..but a related problem.... >>> I am setting my ServerSocket timeout to 5 minutes... >>> after the accept call... >>> and I can see from my snoop output that we send an RETR for a >>> certain file at say 11:10:00 and get the '150' response from >>> the server the very same minute/second... >>> The 226 response comes only around 11:10:50 but before this, I >>> get a socket timeout exception....Any chance that this timeout >>> I am setting isnt getting set? >>> If so, what can I do to fix this? >> Forgot to mention, this is on a Solaris 5.10 machine... > I guess a so called "sscce"(*) would boost the chances of > someone being able to help. > *: http://sscce.org/ afternote: I'm a bit surprised that the ftp-server would send 226, if it didn't successfully transfer that file *somewhere*. Now, if your client side throws a timeout-exception, then maybe it's just misinterpreting some other condition like EOF, or some command sent to the server may be wrong, causing the ftp-server to connect to somewhere else... That's where the sscce would come in handy.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web