[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Implementing serial requests in CORBA
From: |
Meskauskas Audrius |
Subject: |
[cp-patches] FYI: Implementing serial requests in CORBA |
Date: |
Mon, 30 May 2005 14:24:01 +0200 |
Testing the Classpath and Sun CORBA interoperability, it was noticed, that
in
the pair Classpath serrver/Sun client the client time to time throws
exceptions,
saying the socket is closed. It was discovered, that when multiple tasks for
the same ORB follow, the Sun client tries to reuse the open socket
for sending the subsequent request and throws an error if
Classpath server closes that socket. The problem is, we must wait for the
possible subsequent task, but if we wait for two long, this reduces the
performance. To work around, we now wait for 7 seconds in a separate
thread.
The attached path fixes this instability.
2005-05-30 Audrius Meskauskas <address@hidden>
* gnu/CORBA/Functional_ORB.java (serve, portServer, serveStep):
Implemented support for the subsequent invocations reusing the same
socket.
* gnu/CORBA/GIOP/MessageHeader.java (read): throw
NO_IMPLEMENT, not MARSHAL if this is not a socket error.
tandem.patch
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Implementing serial requests in CORBA,
Meskauskas Audrius <=