| Summary: | HttpRouter action does not propagate exceptions | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 4 | Reporter: | Rick Wagner <rwagner> | ||||
| Component: | JBossESB | Assignee: | tcunning | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 4.3 CP04 GA | CC: | rwagner | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.3 CP05, 4.3 CP05 ER2 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/SOA-3013 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: |
All JBoss ESB 4.3.x
|
|||||
| Last Closed: | 2011-05-04 23:11:54 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Rick Wagner
2011-04-07 13:13:14 UTC
Please vote for inclusion of this JIRA. Thanks, Rick Approved for SOA 4.3 CP05 Link: Added: This issue Cloned from JBESB-3599 Release Notes Text: Added: Changed printStackTraces to throw new exceptions so that exceptions are propagated up. Changed printStackTraces to throw new exceptions so that exceptions are propagated up. Release Notes Text: Removed: Changed printStackTraces to throw new exceptions so that exceptions are propagated up. The issue is still present in SOA-P 4.3 CP05 ER2 Attached a reproducer. Run ant deploy, ant runtest. There is an invalid URL in HttpRouter. After HttpRouter there is an echo action that should not be executed according to information in project JIRA. The test case below does not hit either of the catch cases that were switched from e.printStackTrace -> throw new ActionProcessingException. It doesn't really apply to this bug or the client case attached. Changing the behavior of HttpRouter to throw an Exception on a non-successful http code is outside the scope of this bug and the client case attached to it. You could file a separate issue against that, but I believe the warning message in that case is intended behavior. As we discussed the issue with Tom, this is really resolved in 4.3 CP05 ER2. Link: Added: This issue relates to SOA-3039 Temporarily reopening to update release note info. Release Notes Docs Status: Added: Not Yet Documented Writer: Added: dlesage Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue Release Notes Text: Added: https://issues.jboss.org/browse/SOA-3013 The org/jboss/soa/esb/actions/routing/http/HttpRouter.java process() method was logging exceptions in stderr but not propagating them back to the action chain. As a result of this, there is no indication that an invalid URL was used. To fix this problem, printStackTraces has been modified so that it now throws new exceptions back to the action chain. Therefore, users will now see that an invalid URL was used as they will encounter an error. |