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




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

    DisableReceiveFunction - Timing problems  
Oscar Hallberg


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


 
10-18-04 12:46 PM

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...





[ Post a follow-up to this message ]



    Re: DisableReceiveFunction - Timing problems  
Joerg Fischer


Report This Message To A Moderator Edit/Delete Message


 
11-08-04 12:46 PM

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...







[ Post a follow-up to this message ]



    Re: DisableReceiveFunction - Timing problems  
Hugo Rodger-Brown


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


 
11-08-04 12:46 PM

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:37 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