Bug 212 - IR crashes when invoking more than one oneway call in a row.
Summary: IR crashes when invoking more than one oneway call in a row.
Status: RESOLVED FIXED
Alias: None
Product: TAO
Classification: Unclassified
Component: Implementation Repository (show other bugs)
Version: 0.4.2
Hardware: x86 Windows NT
: P2 major
Assignee: Nanbor Wang
URL:
Depends on: 256 303
Blocks:
  Show dependency tree
 
Reported: 1999-08-06 13:02 CDT by Nanbor Wang
Modified: 2000-02-28 14:16 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nanbor Wang 1999-08-06 13:02:38 CDT
Karl Proese <Karl.Proese@erl9.siemens.de> submitted a bug report detailing how
the IR crashes when invoking more than one oneway call in a row.
Comment 1 Nanbor Wang 1999-08-06 13:03:59 CDT
I haven't had the time to duplicate it yet, but this isn't covered by my tests
yet.
Comment 2 Nanbor Wang 1999-08-25 10:37:59 CDT
Excerpt from one of coryan@cs.wustl.edu emails:

Well, it is always going to be problematic to use oneways with
the IR because the client will not wait for the LOCATION_FORWARD
reply, hence it will never know where is the server running and where
to issue new requests.

The way around this problem is to issue a _non_existent()
request (or another twoway call) to check if the object is there,
hopefully not on every call, just when the server is down (say because
a oneway returned TRANSIENT).
I don't think this should be done by the ORB but rather by the
application, which knows what is the right thing to do and when does
this policy apply.

Another solution is to implement reliable oneways as specified
in CORBA Messaging. In this case the client do wait for a reply from
the server, so there is opportunity to send back a LOCATION_FORWARD
message.  Notice that you don't wait until the request completes, just
until it starts (or even before that) so the client does get some
level of asynchrony.
Comment 3 Nanbor Wang 1999-08-25 10:48:59 CDT
Waiting for reliable one-ways (bug 256)
Comment 4 Nanbor Wang 1999-09-06 18:13:59 CDT
Bug 303 is another way to get this to work.
Comment 5 Nanbor Wang 2000-02-28 14:16:59 CST
Reliable Oneways fixes this.  But before this bug can be closed, it has to be
tested and verified.