|
Home > Archive > BizTalk Server Orchestration > June 2004 > Orchestration completed but message discarded
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Orchestration completed but message discarded
|
|
| David White 2004-05-30, 10:47 am |
| I have an orchestration which takes in a message, has a decision shape that writes the file to one directory or another based on which side of the if statement it falls into. The problem is it finished with a Completed with message discarded (in HAT) and
write nothing. How do you track this down? How does it just throw messages away?
| |
| Christof 2004-05-30, 10:47 am |
| Your message is not "thrown away". It resides in the message box.
Debugging orchestrations can be done in HAT. Any errors should show up
there as well...
Kind regards,
Christof
"David White" <ddsoft@hotmail.com> wrote in message
news:2F815A10-61D9-4BFF-B61F-D80AB1DBD8DF@microsoft.com...
> I have an orchestration which takes in a message, has a decision shape
that writes the file to one directory or another based on which side of the
if statement it falls into. The problem is it finished with a Completed with
message discarded (in HAT) and write nothing. How do you track this down?
How does it just throw messages away?
| |
| Todd Sussman 2004-05-30, 10:47 am |
| If the orchestration completed, and you still do not have a file written to
the directory, it sounds like an error in your send port. Check HAT to see
if a send pieline failed, or the event log for a system error(No Permission,
Directory doesn't exist). If you use the Orchestration debugger, it will
show you which send port failed.
--
Todd Sussman
My opinion is neither copyrighted nor trademarked, and it's price
competitive. If you like, I'll trade for one of yours.
Remove The REMOVE! to reply.
"David White" <ddsoft@hotmail.com> wrote in message
news:2F815A10-61D9-4BFF-B61F-D80AB1DBD8DF@microsoft.com...
> I have an orchestration which takes in a message, has a decision shape
that writes the file to one directory or another based on which side of the
if statement it falls into. The problem is it finished with a Completed with
message discarded (in HAT) and write nothing. How do you track this down?
How does it just throw messages away?
| |
| Lee Graber [MSFT] 2004-06-20, 11:09 pm |
| If you have managed to get a "completed with discarded messages"
orchestration, you must necessarily have a second port. That error implies
that the orchestration terminated before it was able to process 1 or more
messages which were routed to it. You will need to give more details about
your schedule before we can tell you why outside of what I described above.
The error is caused by your protocol allowing messages to be delivered at
the same time as the schedule is terminating. This is caused usually by one
of two things ... either it is the design of the protocol to allow this via
either a control terminate message, or the schedule simply uses a delay
shape and says if I haven't gotten a message in the last minute, terminate
(which is an inherent race), or you have a test environment setup which you
are stressing testing using documents with the same correlation set values.
When you do this, you cause broadcasting since the activation messages will
kick off new schedules, but every correlated message will go to every
running orchestration instance since they are all correlating on the same
correlation set values. Most likely you are doing one of the above, but
again, you would need to provide more info.
HTH
Lee
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
--------------------[vbcol=seagreen]
that writes the file to one directory or another based on which side of the
if statement it falls into. The problem is it finished with a Completed
with message discarded (in HAT) and write nothing. How do you track this
down? How does it just throw messages away?[vbcol=seagreen]
|
|
|
|
|