[overlord-issues] [JBoss JIRA] (RTGOV-650) A Situation is always resubmitted to localhost:8080
Werner Müller (JIRA)
issues at jboss.org
Thu Apr 16 07:56:21 EDT 2015
[ https://issues.jboss.org/browse/RTGOV-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059575#comment-13059575 ]
Werner Müller edited comment on RTGOV-650 at 4/16/15 7:56 AM:
--------------------------------------------------------------
Original comment deleted. This was a relict from an incorrect setup. Sorry for that.
was (Author: woern):
Trying to resubmit a situation. In the URL list is an URL that points to a running SY app. This app however is not an intended resubmit target. It has an SCA Binding, but not for the resubmit target service. (In fact, it has a service with the same local name but in a different namespace.)
When HttpInvoker#invoke(...) tries that URL from the list, it gets a response code 404, not an IOException. There is no logic that handles code 404, so the variable 'reply' is returned as null. In SwitchYardResubmitActionProvider#resubmit(...), the first statement after invoker.invoke(rm) is reply.isFault(). This now throws a NPE which is not handled as an invocation error, continuing to work on the list of URLs. Instead, the NPE is wrongly treated as an Exception response.
> A Situation is always resubmitted to localhost:8080
> ---------------------------------------------------
>
> Key: RTGOV-650
> URL: https://issues.jboss.org/browse/RTGOV-650
> Project: RTGov (Run Time Governance)
> Issue Type: Bug
> Components: Documentation
> Reporter: Werner Müller
> Assignee: Gary Brown
> Fix For: 2.1.0.Beta2
>
>
> A Situation is always resubmitted to localhost:8080. Instead, it should be resubmitted to the original target address of the request.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the overlord-issues
mailing list