BizTalk Server General - Problem with Listen shape

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > November 2005 > Problem with Listen shape





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 Problem with Listen shape
Samuel L

2005-11-25, 7:48 am

Hi!

I'm having serious trouble using a listen shape...

And everything works fine, until one of the branches in the listen shape is
supposed to execute, ie either when a message arrives or the delay shape is
timeout'ed. Then I receive a very weird error in the eventlog telling me that
the BizTalk Servicer must be shut down!?! (The error msg is referenced below)


I have an orch (just to test the listen shape) which does the following:

1) First it receives an activating message
2) Then it sends message which inits a correlation set
3) Now it has a listen shape which has got two branches, starting with a
receive shape respectively a delay shape.

That's all...

Why is this? Any ideas or comments? Thanks in advance!


Error msg in eventlog:

An error has occurred that requires the BizTalk service to terminate. The
most common causes are an unexpected out of memory error and an inability to
connect or a loss of connectivity to one of the BizTalk databases. The
service will shutdown and auto-restart in 1 minute. If the problematic
database remains unavailable, this cycle will repeat.

Error message: Object synchronization method was called from an
unsynchronized block of code.
Error source: Microsoft.XLANGs.Engine

BizTalk host name: BizTalkServerApplication
Windows service name: BTSSvc{BE824201-03A7-4D1B-9EA8-FF99BA65CE50}


Samuel L

2005-11-25, 7:48 am

Just some additional clarifications:

- The receive shape in on of the listen shape branches follows the
previously initialized correlation set.

- The delay shape has its timeout set to 1 minute (new TimeSpan(0,0,1,0))


Samuel L

2005-11-25, 7:48 am

I even tried the sample solutions coming with ConvoyDeepDive (Steven W.
Thomas), in which one orchestration uses a listen shape... But it did not
work either, resulting in the same error message!

What is wrong here!

Please, please, please help me someone!! =)


Convoy Deep Dive:
http://msdn.microsoft.com/library/d...6137a5a2914.asp

Samuel L

2005-11-28, 6:02 pm

I even tried with a very simple orchestration using just a listen shape with
two activating receive shapes in each branch. And when a message arrives to
either of the receive shapes, the same error message as before occurs...

Anyone who has got any idea of what I shall do??
I really need this...

Thanks in advance!

Younes Amar

2005-11-28, 8:48 pm

Hi Samuel,
can you attach your sample, than i can look at it,
Thx
Younes
"Samuel L" <SamuelL@discussions.microsoft.com> wrote in message
news:A1E8AFCF-41D6-4188-8631-DA5E60C2EAC8@microsoft.com...
>I even tried with a very simple orchestration using just a listen shape
>with
> two activating receive shapes in each branch. And when a message arrives
> to
> either of the receive shapes, the same error message as before occurs...
>
> Anyone who has got any idea of what I shall do??
> I really need this...
>
> Thanks in advance!
>



Samuel L

2005-11-29, 2:49 am

Thanks for your reply Younes!

The thing is that I don't think that it is the samples that are wrong...
I have tried so many different ones... 3 of my own plus the Convoy Deep Dive
that Steven W Thomas has made.

It really doesn't matter which implementation I try, I still get the same
error message (see previous postings).

By the way I don't know how to attach files to these postings. If I did, I
could post my samples. But if you would like to see something, you can check
out the Convoy Deep Dive and the sample code provided: (I'm having a trouble
with scenario nr 2)
http://msdn.microsoft.com/library/d...6137a5a2914.asp

Thanks for your help and comments!


"Younes Amar" wrote:

> Hi Samuel,
> can you attach your sample, than i can look at it,
> Thx
> Younes


Scott Colestock

2005-11-29, 5:55 pm

I see that someone was having a similar problem here (see the comments):
http://geekswithblogs.net/asmith/ar...08/16/9782.aspx

This article describes one instance where this can happen:
http://msdn.microsoft.com/library/d...pconMonitor.asp

Two possible explanations....

1) is there perhaps some scenario (perhaps involving synchronized scopes?)
where the use of value types in an orchestration (including timespans) can
cause this to happen? Not sure...

2) is there perhaps a .net service pack or .net hotfix that is at work here?
Can you reproduce this problem on a different machine ?

Scott Colestock
www.traceofthought.net



"Samuel L" <SamuelL@discussions.microsoft.com> wrote in message
news:EDCB472A-2D12-484C-83DA-D3AD7E74ABE9@microsoft.com...
> Thanks for your reply Younes!
>
> The thing is that I don't think that it is the samples that are wrong...
> I have tried so many different ones... 3 of my own plus the Convoy Deep
> Dive
> that Steven W Thomas has made.
>
> It really doesn't matter which implementation I try, I still get the same
> error message (see previous postings).
>
> By the way I don't know how to attach files to these postings. If I did, I
> could post my samples. But if you would like to see something, you can
> check
> out the Convoy Deep Dive and the sample code provided: (I'm having a
> trouble
> with scenario nr 2)
> http://msdn.microsoft.com/library/d...6137a5a2914.asp
>
> Thanks for your help and comments!
>
>
> "Younes Amar" wrote:
>
>



Younes Amar

2005-11-29, 5:55 pm

Hi Samuel,
just a question do you a VS 2005 installed in your machine?
Younes.
"Samuel L" <SamuelL@discussions.microsoft.com> wrote in message
news:EDCB472A-2D12-484C-83DA-D3AD7E74ABE9@microsoft.com...
> Thanks for your reply Younes!
>
> The thing is that I don't think that it is the samples that are wrong...
> I have tried so many different ones... 3 of my own plus the Convoy Deep
> Dive
> that Steven W Thomas has made.
>
> It really doesn't matter which implementation I try, I still get the same
> error message (see previous postings).
>
> By the way I don't know how to attach files to these postings. If I did, I
> could post my samples. But if you would like to see something, you can
> check
> out the Convoy Deep Dive and the sample code provided: (I'm having a
> trouble
> with scenario nr 2)
> http://msdn.microsoft.com/library/d...6137a5a2914.asp
>
> Thanks for your help and comments!
>
>
> "Younes Amar" wrote:
>
>



Samuel L

2005-11-29, 5:55 pm


Thanks, Younes!

I don't have VS2005... I use VS 2003.


"Younes Amar" wrote:

> Hi Samuel,
> just a question do you a VS 2005 installed in your machine?
> Younes.
> "Samuel L" <SamuelL@discussions.microsoft.com> wrote in message
> news:EDCB472A-2D12-484C-83DA-D3AD7E74ABE9@microsoft.com...
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com