I am sorry that I couldn't give you much help.  But I am so glad that you
found the solution.  I am gathering this kind of cases to upgrade our FAQ
page.  In the long run, we will be able to summarize all possible weirdness
we might experience.

Thank you,
Trustin

On 8/11/06, Frederic Soulier <[EMAIL PROTECTED]> wrote:

On Thu, 2006-08-10 at 18:49 +0100, Frederic Soulier wrote:
> Here's the twist:
>    I experience this issue on 3 linux boxes
>       FC5 + Sun JDK 1.5.0_07 (also with _08 and JDK 6 b2)
>       CentOS 3.7 + Sun JDK 1.5.0_07
>       SUSE 9.1  + Sun JDK 1.5.0_07
>
>    but it works fine on a Windows box...
>       Win XP Pro SP2 with Sun JDK 1.5.0_07

Ok the culprit is the SO_LINGER thing

SocketSessionConfig ssc = (SocketSessionConfig)ioSession.getConfig();
ssc.setSoLinger(2000);

As soon as comment out
   ssc.setSoLinger(2000);
it all works.

Considering the lingering value is in seconds according to the
java.net.Socket doc I'm not surprised it stays blocked for a while :)
Although the behaviour is different on a Windows platform.

Note: we recreated the problem on a wired network by unplugging the
client while running some tests so nothing particular to running the
apps over a GPRS network.

--
Frederic Soulier <[EMAIL PROTECTED]>
OpenPGP key available on http://www.keyserver.net
1024D/BA6700ED   49A6 8E8E 4230 8D41 1ADE  B649 3203 1DD2 BA67 00ED




--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

Reply via email to