Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324333 - remote service exception results in client timeout
Summary: remote service exception results in client timeout
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.remoteservices (show other bugs)
Version: 3.3.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Scott Lewis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 325254 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-02 13:54 EDT by Bryan Hunt CLA
Modified: 2010-09-14 10:10 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Hunt CLA 2010-09-02 13:54:57 EDT
If a remote service throws an exception, the client will timeout instead of receive the exception.  To reproduce, modify the org.eclipse.ecf.examples.remoteservices.hello example such that the hello() in IHello throws an exception, then change the host bundle implementation to actually throw the declared exception.  Run the host and client.  The client will timeout.
Comment 1 Scott Lewis CLA 2010-09-02 16:11:32 EDT
Which provider is showing this behavior?
Comment 2 Bryan Hunt CLA 2010-09-02 16:31:17 EDT
I think you call it the ECF generic server.  You can reproduce on the examples in CVS by only changing the code to throw an exception.
Comment 3 Scott Lewis CLA 2010-09-02 17:25:00 EDT
(In reply to comment #2)
> I think you call it the ECF generic server.  You can reproduce on the examples
> in CVS by only changing the code to throw an exception.

Yes it's the ECF generic provider.  I've reproduced and isolated, and am testing a fix now.  I expect the fix to be completed very shortly.  Short story...the exception handling code on the host distribution impl had a bug in it.
Comment 4 Scott Lewis CLA 2010-09-02 18:25:42 EDT
Fix released to HEAD and Release_3_3 stream.  Resolving as fixed.
Comment 5 Scott Lewis CLA 2010-09-14 10:10:17 EDT
*** Bug 325254 has been marked as a duplicate of this bug. ***