Strange Transactional Behavior Please HELP
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Strange Transactional Behavior Please HELP




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Strange Transactional Behavior Please HELP  
Patrick Wellink


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-30-04 01:02 AM


I have a simple orchestration that has a dynamic send port
The send port writes the file to disk.

The next shape is an expression shape that will pickup the file
And unzip it to a specified location…..

Now the funny thing……

1.	If I execute a io.file.exists(“blabla.zip”)  in a expression shape af
ter
the filesend , the file exists ….
2.	If I execute a io.file.exists in a component (created in a expression
shape) after the file send, it doesn’t exist
3.
This has probably to do something with transactions…..

But now the funny thing………

If I put a timershape immediately after the filesend the orchestration wil
dehydrate and the file is there……..
I am lost…..

I have the following questions

1.	Can anyone explain this behaviour
2.	Does dehydration indeed break transactional behavior
3.	How long does a timespan have to be before Biztalk decides it wil
dehydrate….








[ Post a follow-up to this message ]



    RE: Strange Transactional Behavior Please HELP  
Patrick Wellink


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-30-04 01:02 AM

Found the error.....

io.file.exists(“blabla.zip”)

should be

io.file.exists(“blabla.zip”) == true

still strange you have to test for the file in a loop. If you test
immediately after the send (with delivery not. = DELIVERD) you would expect
the file is on disk after the send completes....

But there is a space of about 2 seconds where the send is finished and
the file is not yet there......

"Patrick Wellink" wrote:

>
> I have a simple orchestration that has a dynamic send port
> The send port writes the file to disk.
>
> The next shape is an expression shape that will pickup the file
> And unzip it to a specified location…..
>
> Now the funny thing……
>
> 1.	If I execute a io.file.exists(“blabla.zip”)  in a expression shape 
after
> the filesend , the file exists ….
> 2.	If I execute a io.file.exists in a component (created in a expression
> shape) after the file send, it doesn’t exist
> 3.
> This has probably to do something with transactions…..
>
> But now the funny thing………
>
> If I put a timershape immediately after the filesend the orchestration wil
> dehydrate and the file is there……..
> I am lost…..
>
> I have the following questions
>
> 1.	Can anyone explain this behaviour
> 2.	Does dehydration indeed break transactional behavior
> 3.	How long does a timespan have to be before Biztalk decides it wil
> dehydrate….
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:15 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register