You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2008/04/07 16:43:27 UTC
[jira] Created: (AXIS2-3712) Handling of exceptions raised by
handlers in one-way invocations
Handling of exceptions raised by handlers in one-way invocations
----------------------------------------------------------------
Key: AXIS2-3712
URL: https://issues.apache.org/jira/browse/AXIS2-3712
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.4, nightly
Reporter: Jarek Gawor
As according to some Sun "experts" exceptions raised by handlers in one-way invocations should be discarded.
Here's some background as the same problem was discovered by CXF folks:
http://www.nabble.com/JAX-WS-spec-interpretation-issue....-to15178658.html
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-3712) Handling of exceptions raised by
handlers in one-way invocations
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved AXIS2-3712.
--------------------------------
Resolution: Fixed
Fix Version/s: nightly
1.4
Assignee: Jarek Gawor
Committed the patch to trunk (revision 647525) and 1_4 branch (revision 647526).
> Handling of exceptions raised by handlers in one-way invocations
> ----------------------------------------------------------------
>
> Key: AXIS2-3712
> URL: https://issues.apache.org/jira/browse/AXIS2-3712
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: 1.4, nightly
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
> Fix For: 1.4, nightly
>
> Attachments: AXIS2-3712.patch
>
>
> As according to some Sun "experts" exceptions raised by handlers in one-way invocations should be discarded.
> Here's some background as the same problem was discovered by CXF folks:
> http://www.nabble.com/JAX-WS-spec-interpretation-issue....-to15178658.html
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3712) Handling of exceptions raised by
handlers in one-way invocations
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor updated AXIS2-3712:
-------------------------------
Attachment: AXIS2-3712.patch
Proposed patch.
> Handling of exceptions raised by handlers in one-way invocations
> ----------------------------------------------------------------
>
> Key: AXIS2-3712
> URL: https://issues.apache.org/jira/browse/AXIS2-3712
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: 1.4, nightly
> Reporter: Jarek Gawor
> Attachments: AXIS2-3712.patch
>
>
> As according to some Sun "experts" exceptions raised by handlers in one-way invocations should be discarded.
> Here's some background as the same problem was discovered by CXF folks:
> http://www.nabble.com/JAX-WS-spec-interpretation-issue....-to15178658.html
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3712) Handling of exceptions raised by
handlers in one-way invocations
Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588142#action_12588142 ]
Rich Scheuerle commented on AXIS2-3712:
---------------------------------------
+1 if this does not break any other tests.
However since this a gray area of the specification and some customers may want a thrown exception, can we make the behavior dependent on a toggle.
Perhaps a new property on the RequestContext ?
If you agree, please open a follow-up JIRA to add the property or toggle.
(+1 for the default to be suppression)
> Handling of exceptions raised by handlers in one-way invocations
> ----------------------------------------------------------------
>
> Key: AXIS2-3712
> URL: https://issues.apache.org/jira/browse/AXIS2-3712
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: 1.4, nightly
> Reporter: Jarek Gawor
> Attachments: AXIS2-3712.patch
>
>
> As according to some Sun "experts" exceptions raised by handlers in one-way invocations should be discarded.
> Here's some background as the same problem was discovered by CXF folks:
> http://www.nabble.com/JAX-WS-spec-interpretation-issue....-to15178658.html
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3712) Handling of exceptions raised by
handlers in one-way invocations
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588151#action_12588151 ]
Davanum Srinivas commented on AXIS2-3712:
-----------------------------------------
toggle from axis2.xml, sounds like a good idea.
> Handling of exceptions raised by handlers in one-way invocations
> ----------------------------------------------------------------
>
> Key: AXIS2-3712
> URL: https://issues.apache.org/jira/browse/AXIS2-3712
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: 1.4, nightly
> Reporter: Jarek Gawor
> Attachments: AXIS2-3712.patch
>
>
> As according to some Sun "experts" exceptions raised by handlers in one-way invocations should be discarded.
> Here's some background as the same problem was discovered by CXF folks:
> http://www.nabble.com/JAX-WS-spec-interpretation-issue....-to15178658.html
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3712) Handling of exceptions raised by
handlers in one-way invocations
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587845#action_12587845 ]
Jarek Gawor commented on AXIS2-3712:
------------------------------------
To clarify, the patch suppresses (only logs) the exceptions raised by outbound handlers on the client on one way invocations. As far as I know InvocationListener is used on server side only, so no, notifyOnException method is not called.
> Handling of exceptions raised by handlers in one-way invocations
> ----------------------------------------------------------------
>
> Key: AXIS2-3712
> URL: https://issues.apache.org/jira/browse/AXIS2-3712
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: 1.4, nightly
> Reporter: Jarek Gawor
> Attachments: AXIS2-3712.patch
>
>
> As according to some Sun "experts" exceptions raised by handlers in one-way invocations should be discarded.
> Here's some background as the same problem was discovered by CXF folks:
> http://www.nabble.com/JAX-WS-spec-interpretation-issue....-to15178658.html
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3712) Handling of exceptions raised by
handlers in one-way invocations
Posted by "Dustin Amrhein (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587773#action_12587773 ]
Dustin Amrhein commented on AXIS2-3712:
---------------------------------------
Jarek,
Does this mean registered InvocationListener instances will NOT have the 'notifyOnException' method called with the exception that occurred? If not, can we update the fix to make sure the InvocationListener's notifyOnException method is called with the exception? If this method is already being called in this case, please ignore my comments :)
> Handling of exceptions raised by handlers in one-way invocations
> ----------------------------------------------------------------
>
> Key: AXIS2-3712
> URL: https://issues.apache.org/jira/browse/AXIS2-3712
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: 1.4, nightly
> Reporter: Jarek Gawor
> Attachments: AXIS2-3712.patch
>
>
> As according to some Sun "experts" exceptions raised by handlers in one-way invocations should be discarded.
> Here's some background as the same problem was discovered by CXF folks:
> http://www.nabble.com/JAX-WS-spec-interpretation-issue....-to15178658.html
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3712) Handling of exceptions raised by
handlers in one-way invocations
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor updated AXIS2-3712:
-------------------------------
Component/s: jaxws
> Handling of exceptions raised by handlers in one-way invocations
> ----------------------------------------------------------------
>
> Key: AXIS2-3712
> URL: https://issues.apache.org/jira/browse/AXIS2-3712
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: 1.4, nightly
> Reporter: Jarek Gawor
>
> As according to some Sun "experts" exceptions raised by handlers in one-way invocations should be discarded.
> Here's some background as the same problem was discovered by CXF folks:
> http://www.nabble.com/JAX-WS-spec-interpretation-issue....-to15178658.html
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3712) Handling of exceptions raised by
handlers in one-way invocations
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588485#action_12588485 ]
Jarek Gawor commented on AXIS2-3712:
------------------------------------
Created https://issues.apache.org/jira/browse/AXIS2-3738 for the toggle.
> Handling of exceptions raised by handlers in one-way invocations
> ----------------------------------------------------------------
>
> Key: AXIS2-3712
> URL: https://issues.apache.org/jira/browse/AXIS2-3712
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: 1.4, nightly
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
> Fix For: 1.4, nightly
>
> Attachments: AXIS2-3712.patch
>
>
> As according to some Sun "experts" exceptions raised by handlers in one-way invocations should be discarded.
> Here's some background as the same problem was discovered by CXF folks:
> http://www.nabble.com/JAX-WS-spec-interpretation-issue....-to15178658.html
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3712) Handling of exceptions raised by
handlers in one-way invocations
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587764#action_12587764 ]
Davanum Srinivas commented on AXIS2-3712:
-----------------------------------------
Jarek,
+1 from me.
-- dims
> Handling of exceptions raised by handlers in one-way invocations
> ----------------------------------------------------------------
>
> Key: AXIS2-3712
> URL: https://issues.apache.org/jira/browse/AXIS2-3712
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: 1.4, nightly
> Reporter: Jarek Gawor
> Attachments: AXIS2-3712.patch
>
>
> As according to some Sun "experts" exceptions raised by handlers in one-way invocations should be discarded.
> Here's some background as the same problem was discovered by CXF folks:
> http://www.nabble.com/JAX-WS-spec-interpretation-issue....-to15178658.html
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3712) Handling of exceptions raised by
handlers in one-way invocations
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588154#action_12588154 ]
Jarek Gawor commented on AXIS2-3712:
------------------------------------
Yes, I definitely agree. Will open a new bug to add a toggle.
> Handling of exceptions raised by handlers in one-way invocations
> ----------------------------------------------------------------
>
> Key: AXIS2-3712
> URL: https://issues.apache.org/jira/browse/AXIS2-3712
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: 1.4, nightly
> Reporter: Jarek Gawor
> Attachments: AXIS2-3712.patch
>
>
> As according to some Sun "experts" exceptions raised by handlers in one-way invocations should be discarded.
> Here's some background as the same problem was discovered by CXF folks:
> http://www.nabble.com/JAX-WS-spec-interpretation-issue....-to15178658.html
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org