BizTalk Server - DisableReceiveFunction - Timing problems

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > November 2004 > DisableReceiveFunction - Timing problems





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 DisableReceiveFunction - Timing problems
Oscar Hallberg

2004-10-18, 7:46 am

Hi!

I've created a vbs-script that disable a receive-function in BT Server
administrator. It works just fine, but it seems that it takes a couple
of minutes for Biztalk to "understand" that the receive-function is
disabled...

For example, if I opens up the BT Server administrator and run my
vbs-file, a refresh of the receive-function list in BT Server
Adminstrator will show that the receive function really is disabled.
If I immediately after this drop a file into the folder (which is set
as "polling location") the file will not "polled" by the receive
function... Just as it should work.

BUT, if I run this script when the BT server administrator is closed,
the receive function will work for about 2-3 minutes before it is
disabled. In other words - if I drop a file into the "polling
location"-folder within 2 or 3 minutes - it will be "polled" by the
receive function.

Any ideas why this happens? I'm not really a guru at Biztalk...
Joerg Fischer

2004-11-08, 7:46 am

Hi,

BizTalk has a certain latence until it updates its configuration - upto 2
minutes can elapse until the configuration is updated within the server
process. As far as I know, this is absolutely independent from wether you
have BizTalk Administrator opened or not.

When you run your VBS, the configuration gets updated in the ConfigDB.

So, this is by design.

Sincerely

Joerg Fischer


"Oscar Hallberg" <oscar.hallberg@ehandel.sigma.se> wrote in message
news:d32ffb3f.0410180316.535bff72@posting.google.com...
> Hi!
>
> I've created a vbs-script that disable a receive-function in BT Server
> administrator. It works just fine, but it seems that it takes a couple
> of minutes for Biztalk to "understand" that the receive-function is
> disabled...
>
> For example, if I opens up the BT Server administrator and run my
> vbs-file, a refresh of the receive-function list in BT Server
> Adminstrator will show that the receive function really is disabled.
> If I immediately after this drop a file into the folder (which is set
> as "polling location") the file will not "polled" by the receive
> function... Just as it should work.
>
> BUT, if I run this script when the BT server administrator is closed,
> the receive function will work for about 2-3 minutes before it is
> disabled. In other words - if I drop a file into the "polling
> location"-folder within 2 or 3 minutes - it will be "polled" by the
> receive function.
>
> Any ideas why this happens? I'm not really a guru at Biztalk...



Hugo Rodger-Brown

2004-11-08, 7:46 am

This sort of information is stored in a cache, whose referesh value can be
set through the BizTalk Administration console. Right-click on the top-level
"Microsoft BizTAlk Server 2004" node, and select properties. On the General
tab, you should see a box with the refresh value (in seconds). By default
this is set to 60 seconds.

You can set this lower if you want, which will make the enabling / disabling
of ports more 'responsive', but bear in mind that refreshing the cache puts
additional overhead on the databases, esp. the management database.

When I first started I set the refresh to 1 second, and couldn't work out
why the CPU on the SQL Server box was permanently running at 100%!

Hugo
http://hugo.rodger-brown.com


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com