[ 
https://issues.apache.org/jira/browse/TUSCANY-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Combellack resolved TUSCANY-2225.
--------------------------------------

    Resolution: Fixed

The exception is now being logged to the JDK Logger.

The fix was committed in SVN revision 649060

A unit test was committed in SVN revision 649064



> RuntimeExceptions thrown by @OneWay methods are not logged anywhere
> -------------------------------------------------------------------
>
>                 Key: TUSCANY-2225
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2225
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-Next
>         Environment: trunk svn revision 647147
> Linux
>            Reporter: Mark Combellack
>            Assignee: Mark Combellack
>             Fix For: Java-SCA-Next
>
>
> If a @OneWay method throws a RuntimeException, the exception is lost. It is 
> not logged anywhere and there is no way to tell it has happened. This makes 
> it extremely hard for a developer to debug problems with @OneWay methods in 
> their applications.
> The client code that invokes the @OneWay method will not be told of the 
> failure as per the contract of the @OneWay scemantics.
> However, the fact that the exception occurred should be recorded somwhere so 
> the developer can attempt to diagnose the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to